@alloy-js/typescript 0.16.0 → 0.17.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.
Files changed (128) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/src/builtins/node.d.ts +9 -41
  3. package/dist/src/builtins/node.d.ts.map +1 -1
  4. package/dist/src/components/ArrowFunction.d.ts +3 -3
  5. package/dist/src/components/BarrelFile.d.ts +1 -1
  6. package/dist/src/components/BarrelFile.d.ts.map +1 -1
  7. package/dist/src/components/BlockScope.d.ts +1 -1
  8. package/dist/src/components/BlockScope.d.ts.map +1 -1
  9. package/dist/src/components/ClassDeclaration.d.ts.map +1 -1
  10. package/dist/src/components/ClassDeclaration.js +5 -7
  11. package/dist/src/components/Declaration.d.ts.map +1 -1
  12. package/dist/src/components/Declaration.js +3 -4
  13. package/dist/src/components/EnumDeclaration.d.ts +1 -1
  14. package/dist/src/components/EnumDeclaration.d.ts.map +1 -1
  15. package/dist/src/components/EnumDeclaration.js +3 -4
  16. package/dist/src/components/EnumMember.d.ts.map +1 -1
  17. package/dist/src/components/EnumMember.js +3 -4
  18. package/dist/src/components/FunctionBase.d.ts +4 -4
  19. package/dist/src/components/FunctionBase.d.ts.map +1 -1
  20. package/dist/src/components/FunctionBase.js +15 -10
  21. package/dist/src/components/FunctionDeclaration.d.ts +3 -3
  22. package/dist/src/components/FunctionExpression.d.ts +3 -3
  23. package/dist/src/components/FunctionType.d.ts +2 -2
  24. package/dist/src/components/ImportStatement.d.ts +1 -1
  25. package/dist/src/components/ImportStatement.d.ts.map +1 -1
  26. package/dist/src/components/Interface.js +1 -1
  27. package/dist/src/components/InterfaceMethod.d.ts +2 -2
  28. package/dist/src/components/MemberDeclaration.d.ts +1 -1
  29. package/dist/src/components/MemberDeclaration.d.ts.map +1 -1
  30. package/dist/src/components/MemberDeclaration.js +4 -4
  31. package/dist/src/components/MemberExpression.d.ts +6 -1
  32. package/dist/src/components/MemberExpression.d.ts.map +1 -1
  33. package/dist/src/components/MemberExpression.js +38 -14
  34. package/dist/src/components/NewExpression.d.ts +5 -0
  35. package/dist/src/components/NewExpression.d.ts.map +1 -0
  36. package/dist/src/components/NewExpression.js +12 -0
  37. package/dist/src/components/ObjectExpression.d.ts.map +1 -1
  38. package/dist/src/components/ObjectExpression.js +14 -15
  39. package/dist/src/components/PackageDirectory.d.ts.map +1 -1
  40. package/dist/src/components/PackageDirectory.js +3 -3
  41. package/dist/src/components/PackageJson.d.ts +1 -1
  42. package/dist/src/components/PackageJson.d.ts.map +1 -1
  43. package/dist/src/components/PropertyName.d.ts +1 -1
  44. package/dist/src/components/PropertyName.d.ts.map +1 -1
  45. package/dist/src/components/Reference.d.ts +1 -1
  46. package/dist/src/components/Reference.d.ts.map +1 -1
  47. package/dist/src/components/Reference.js +5 -1
  48. package/dist/src/components/SourceFile.d.ts.map +1 -1
  49. package/dist/src/components/SourceFile.js +3 -3
  50. package/dist/src/components/TsConfigJson.d.ts +1 -1
  51. package/dist/src/components/TsConfigJson.d.ts.map +1 -1
  52. package/dist/src/components/TypeDeclaration.d.ts +1 -1
  53. package/dist/src/components/TypeDeclaration.d.ts.map +1 -1
  54. package/dist/src/components/VarDeclaration.d.ts.map +1 -1
  55. package/dist/src/components/VarDeclaration.js +30 -10
  56. package/dist/src/components/index.d.ts +1 -0
  57. package/dist/src/components/index.d.ts.map +1 -1
  58. package/dist/src/components/index.js +1 -0
  59. package/dist/src/components/stc/index.d.ts +45 -43
  60. package/dist/src/components/stc/index.d.ts.map +1 -1
  61. package/dist/src/components/stc/index.js +46 -44
  62. package/dist/src/create-package.d.ts +62 -18
  63. package/dist/src/create-package.d.ts.map +1 -1
  64. package/dist/src/create-package.js +153 -15
  65. package/dist/src/source-directory-data.d.ts.map +1 -1
  66. package/dist/src/source-directory-data.js +2 -2
  67. package/dist/src/symbols/reference.d.ts +2 -1
  68. package/dist/src/symbols/reference.d.ts.map +1 -1
  69. package/dist/src/symbols/reference.js +3 -4
  70. package/dist/src/symbols/scopes.d.ts +1 -4
  71. package/dist/src/symbols/scopes.d.ts.map +1 -1
  72. package/dist/src/symbols/ts-member-scope.d.ts +4 -6
  73. package/dist/src/symbols/ts-member-scope.d.ts.map +1 -1
  74. package/dist/src/symbols/ts-member-scope.js +8 -10
  75. package/dist/src/symbols/ts-module-scope.d.ts +8 -11
  76. package/dist/src/symbols/ts-module-scope.d.ts.map +1 -1
  77. package/dist/src/symbols/ts-module-scope.js +47 -40
  78. package/dist/src/symbols/ts-output-symbol.d.ts +23 -16
  79. package/dist/src/symbols/ts-output-symbol.d.ts.map +1 -1
  80. package/dist/src/symbols/ts-output-symbol.js +88 -27
  81. package/dist/src/symbols/ts-package-scope.d.ts +18 -14
  82. package/dist/src/symbols/ts-package-scope.d.ts.map +1 -1
  83. package/dist/src/symbols/ts-package-scope.js +78 -27
  84. package/dist/test/class.test.js +2 -1
  85. package/dist/test/externals.test.js +87 -2
  86. package/dist/test/function-declaration.test.js +74 -3
  87. package/dist/test/member-expression.test.js +108 -2
  88. package/dist/test/new-expression.test.d.ts +2 -0
  89. package/dist/test/new-expression.test.d.ts.map +1 -0
  90. package/dist/test/new-expression.test.js +62 -0
  91. package/dist/test/var-declaration.test.d.ts.map +1 -1
  92. package/dist/test/var-declaration.test.js +145 -2
  93. package/dist/tsconfig.tsbuildinfo +1 -1
  94. package/package.json +4 -4
  95. package/src/components/ClassDeclaration.tsx +5 -7
  96. package/src/components/Declaration.tsx +3 -8
  97. package/src/components/EnumDeclaration.tsx +3 -4
  98. package/src/components/EnumMember.tsx +3 -4
  99. package/src/components/FunctionBase.tsx +25 -18
  100. package/src/components/ImportStatement.tsx +0 -1
  101. package/src/components/Interface.tsx +1 -1
  102. package/src/components/MemberDeclaration.tsx +5 -8
  103. package/src/components/MemberExpression.tsx +67 -15
  104. package/src/components/NewExpression.tsx +25 -0
  105. package/src/components/ObjectExpression.tsx +18 -16
  106. package/src/components/PackageDirectory.tsx +2 -10
  107. package/src/components/Reference.tsx +4 -2
  108. package/src/components/SourceFile.tsx +2 -5
  109. package/src/components/VarDeclaration.tsx +34 -11
  110. package/src/components/index.ts +1 -0
  111. package/src/components/stc/index.ts +46 -44
  112. package/src/create-package.ts +274 -35
  113. package/src/source-directory-data.ts +2 -2
  114. package/src/symbols/reference.ts +10 -5
  115. package/src/symbols/scopes.ts +1 -6
  116. package/src/symbols/ts-member-scope.ts +8 -23
  117. package/src/symbols/ts-module-scope.ts +58 -62
  118. package/src/symbols/ts-output-symbol.ts +108 -50
  119. package/src/symbols/ts-package-scope.ts +71 -53
  120. package/temp/api.json +1589 -1619
  121. package/test/class.test.tsx +2 -1
  122. package/test/externals.test.tsx +99 -1
  123. package/test/function-declaration.test.tsx +75 -2
  124. package/test/member-expression.test.tsx +93 -2
  125. package/test/new-expression.test.tsx +42 -0
  126. package/test/values.test.tsx +1 -0
  127. package/test/var-declaration.test.tsx +101 -1
  128. package/tsdoc-metadata.json +1 -1
package/temp/api.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.47.12",
4
+ "toolVersion": "7.52.8",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -410,7 +410,7 @@
410
410
  },
411
411
  {
412
412
  "kind": "Content",
413
- "text": "import(\"@alloy-js/core\")."
413
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
414
414
  },
415
415
  {
416
416
  "kind": "Reference",
@@ -446,7 +446,7 @@
446
446
  },
447
447
  {
448
448
  "kind": "Content",
449
- "text": "<import(\"@alloy-js/core\")."
449
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
450
450
  },
451
451
  {
452
452
  "kind": "Reference",
@@ -486,7 +486,7 @@
486
486
  },
487
487
  {
488
488
  "kind": "Content",
489
- "text": "import(\"@alloy-js/core\")."
489
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
490
490
  },
491
491
  {
492
492
  "kind": "Reference",
@@ -522,7 +522,7 @@
522
522
  },
523
523
  {
524
524
  "kind": "Content",
525
- "text": "<import(\"@alloy-js/core\")."
525
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
526
526
  },
527
527
  {
528
528
  "kind": "Reference",
@@ -562,7 +562,7 @@
562
562
  },
563
563
  {
564
564
  "kind": "Content",
565
- "text": "import(\"@alloy-js/core\")."
565
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
566
566
  },
567
567
  {
568
568
  "kind": "Reference",
@@ -598,7 +598,7 @@
598
598
  },
599
599
  {
600
600
  "kind": "Content",
601
- "text": "<import(\"@alloy-js/core\")."
601
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
602
602
  },
603
603
  {
604
604
  "kind": "Reference",
@@ -736,7 +736,7 @@
736
736
  },
737
737
  {
738
738
  "kind": "Content",
739
- "text": "import(\"@alloy-js/core\")."
739
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
740
740
  },
741
741
  {
742
742
  "kind": "Reference",
@@ -1142,7 +1142,7 @@
1142
1142
  },
1143
1143
  {
1144
1144
  "kind": "Content",
1145
- "text": "import(\"@alloy-js/core\")."
1145
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
1146
1146
  },
1147
1147
  {
1148
1148
  "kind": "Reference",
@@ -2866,7 +2866,7 @@
2866
2866
  {
2867
2867
  "kind": "Interface",
2868
2868
  "canonicalReference": "@alloy-js/typescript!CreatePackageProps:interface",
2869
- "docComment": "",
2869
+ "docComment": "/**\n * Props for creating a package with a specific name, version, and descriptor.\n */\n",
2870
2870
  "excerptTokens": [
2871
2871
  {
2872
2872
  "kind": "Content",
@@ -3013,135 +3013,229 @@
3013
3013
  },
3014
3014
  {
3015
3015
  "kind": "Function",
3016
- "canonicalReference": "@alloy-js/typescript!createTSMemberScope:function(1)",
3016
+ "canonicalReference": "@alloy-js/typescript!createTSNamePolicy:function(1)",
3017
3017
  "docComment": "",
3018
3018
  "excerptTokens": [
3019
3019
  {
3020
3020
  "kind": "Content",
3021
- "text": "export declare function createTSMemberScope(binder: "
3022
- },
3023
- {
3024
- "kind": "Reference",
3025
- "text": "Binder",
3026
- "canonicalReference": "@alloy-js/core!Binder:interface"
3027
- },
3028
- {
3029
- "kind": "Content",
3030
- "text": ", parent: "
3021
+ "text": "export declare function createTSNamePolicy(): "
3031
3022
  },
3032
3023
  {
3033
3024
  "kind": "Reference",
3034
- "text": "OutputScope",
3035
- "canonicalReference": "@alloy-js/core!OutputScope:interface"
3036
- },
3037
- {
3038
- "kind": "Content",
3039
- "text": " | undefined"
3025
+ "text": "NamePolicy",
3026
+ "canonicalReference": "@alloy-js/core!NamePolicy:interface"
3040
3027
  },
3041
3028
  {
3042
3029
  "kind": "Content",
3043
- "text": ", owner: "
3030
+ "text": "<"
3044
3031
  },
3045
3032
  {
3046
3033
  "kind": "Reference",
3047
- "text": "TSOutputSymbol",
3048
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
3034
+ "text": "TypeScriptElements",
3035
+ "canonicalReference": "@alloy-js/typescript!TypeScriptElements:type"
3049
3036
  },
3050
3037
  {
3051
3038
  "kind": "Content",
3052
- "text": ", isStatic?: "
3039
+ "text": ">"
3053
3040
  },
3054
3041
  {
3055
3042
  "kind": "Content",
3056
- "text": "boolean"
3057
- },
3043
+ "text": ";"
3044
+ }
3045
+ ],
3046
+ "fileUrlPath": "src/name-policy.ts",
3047
+ "returnTypeTokenRange": {
3048
+ "startIndex": 1,
3049
+ "endIndex": 5
3050
+ },
3051
+ "releaseTag": "Public",
3052
+ "overloadIndex": 1,
3053
+ "parameters": [],
3054
+ "name": "createTSNamePolicy"
3055
+ },
3056
+ {
3057
+ "kind": "Interface",
3058
+ "canonicalReference": "@alloy-js/typescript!CreateTsSymbolOptions:interface",
3059
+ "docComment": "",
3060
+ "excerptTokens": [
3058
3061
  {
3059
3062
  "kind": "Content",
3060
- "text": "): "
3063
+ "text": "export interface CreateTsSymbolOptions extends "
3061
3064
  },
3062
3065
  {
3063
3066
  "kind": "Reference",
3064
- "text": "TSMemberScope",
3065
- "canonicalReference": "@alloy-js/typescript!TSMemberScope:interface"
3067
+ "text": "OutputSymbolOptions",
3068
+ "canonicalReference": "@alloy-js/core!OutputSymbolOptions:interface"
3066
3069
  },
3067
3070
  {
3068
3071
  "kind": "Content",
3069
- "text": ";"
3072
+ "text": " "
3070
3073
  }
3071
3074
  ],
3072
- "fileUrlPath": "src/symbols/ts-member-scope.ts",
3073
- "returnTypeTokenRange": {
3074
- "startIndex": 10,
3075
- "endIndex": 11
3076
- },
3075
+ "fileUrlPath": "src/symbols/ts-output-symbol.ts",
3077
3076
  "releaseTag": "Public",
3078
- "overloadIndex": 1,
3079
- "parameters": [
3077
+ "name": "CreateTsSymbolOptions",
3078
+ "preserveMemberOrder": false,
3079
+ "members": [
3080
3080
  {
3081
- "parameterName": "binder",
3082
- "parameterTypeTokenRange": {
3081
+ "kind": "PropertySignature",
3082
+ "canonicalReference": "@alloy-js/typescript!CreateTsSymbolOptions#default:member",
3083
+ "docComment": "",
3084
+ "excerptTokens": [
3085
+ {
3086
+ "kind": "Content",
3087
+ "text": "default?: "
3088
+ },
3089
+ {
3090
+ "kind": "Content",
3091
+ "text": "boolean"
3092
+ },
3093
+ {
3094
+ "kind": "Content",
3095
+ "text": ";"
3096
+ }
3097
+ ],
3098
+ "isReadonly": false,
3099
+ "isOptional": true,
3100
+ "releaseTag": "Public",
3101
+ "name": "default",
3102
+ "propertyTypeTokenRange": {
3083
3103
  "startIndex": 1,
3084
3104
  "endIndex": 2
3085
- },
3086
- "isOptional": false
3105
+ }
3087
3106
  },
3088
3107
  {
3089
- "parameterName": "parent",
3090
- "parameterTypeTokenRange": {
3091
- "startIndex": 3,
3092
- "endIndex": 5
3093
- },
3094
- "isOptional": false
3108
+ "kind": "PropertySignature",
3109
+ "canonicalReference": "@alloy-js/typescript!CreateTsSymbolOptions#export:member",
3110
+ "docComment": "",
3111
+ "excerptTokens": [
3112
+ {
3113
+ "kind": "Content",
3114
+ "text": "export?: "
3115
+ },
3116
+ {
3117
+ "kind": "Content",
3118
+ "text": "boolean"
3119
+ },
3120
+ {
3121
+ "kind": "Content",
3122
+ "text": ";"
3123
+ }
3124
+ ],
3125
+ "isReadonly": false,
3126
+ "isOptional": true,
3127
+ "releaseTag": "Public",
3128
+ "name": "export",
3129
+ "propertyTypeTokenRange": {
3130
+ "startIndex": 1,
3131
+ "endIndex": 2
3132
+ }
3095
3133
  },
3096
3134
  {
3097
- "parameterName": "owner",
3098
- "parameterTypeTokenRange": {
3099
- "startIndex": 6,
3100
- "endIndex": 7
3101
- },
3102
- "isOptional": false
3135
+ "kind": "PropertySignature",
3136
+ "canonicalReference": "@alloy-js/typescript!CreateTsSymbolOptions#owner:member",
3137
+ "docComment": "",
3138
+ "excerptTokens": [
3139
+ {
3140
+ "kind": "Content",
3141
+ "text": "owner?: "
3142
+ },
3143
+ {
3144
+ "kind": "Reference",
3145
+ "text": "TSOutputSymbol",
3146
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
3147
+ },
3148
+ {
3149
+ "kind": "Content",
3150
+ "text": ";"
3151
+ }
3152
+ ],
3153
+ "isReadonly": false,
3154
+ "isOptional": true,
3155
+ "releaseTag": "Public",
3156
+ "name": "owner",
3157
+ "propertyTypeTokenRange": {
3158
+ "startIndex": 1,
3159
+ "endIndex": 2
3160
+ }
3103
3161
  },
3104
3162
  {
3105
- "parameterName": "isStatic",
3106
- "parameterTypeTokenRange": {
3107
- "startIndex": 8,
3108
- "endIndex": 9
3109
- },
3110
- "isOptional": true
3163
+ "kind": "PropertySignature",
3164
+ "canonicalReference": "@alloy-js/typescript!CreateTsSymbolOptions#scope:member",
3165
+ "docComment": "",
3166
+ "excerptTokens": [
3167
+ {
3168
+ "kind": "Content",
3169
+ "text": "scope?: "
3170
+ },
3171
+ {
3172
+ "kind": "Reference",
3173
+ "text": "TSOutputScope",
3174
+ "canonicalReference": "@alloy-js/typescript!TSOutputScope:type"
3175
+ },
3176
+ {
3177
+ "kind": "Content",
3178
+ "text": ";"
3179
+ }
3180
+ ],
3181
+ "isReadonly": false,
3182
+ "isOptional": true,
3183
+ "releaseTag": "Public",
3184
+ "name": "scope",
3185
+ "propertyTypeTokenRange": {
3186
+ "startIndex": 1,
3187
+ "endIndex": 2
3188
+ }
3189
+ },
3190
+ {
3191
+ "kind": "PropertySignature",
3192
+ "canonicalReference": "@alloy-js/typescript!CreateTsSymbolOptions#tsFlags:member",
3193
+ "docComment": "",
3194
+ "excerptTokens": [
3195
+ {
3196
+ "kind": "Content",
3197
+ "text": "tsFlags?: "
3198
+ },
3199
+ {
3200
+ "kind": "Reference",
3201
+ "text": "TSSymbolFlags",
3202
+ "canonicalReference": "@alloy-js/typescript!TSSymbolFlags:enum"
3203
+ },
3204
+ {
3205
+ "kind": "Content",
3206
+ "text": ";"
3207
+ }
3208
+ ],
3209
+ "isReadonly": false,
3210
+ "isOptional": true,
3211
+ "releaseTag": "Public",
3212
+ "name": "tsFlags",
3213
+ "propertyTypeTokenRange": {
3214
+ "startIndex": 1,
3215
+ "endIndex": 2
3216
+ }
3111
3217
  }
3112
3218
  ],
3113
- "name": "createTSMemberScope"
3219
+ "extendsTokenRanges": [
3220
+ {
3221
+ "startIndex": 1,
3222
+ "endIndex": 2
3223
+ }
3224
+ ]
3114
3225
  },
3115
3226
  {
3116
3227
  "kind": "Function",
3117
- "canonicalReference": "@alloy-js/typescript!createTSModuleScope:function(1)",
3118
- "docComment": "",
3228
+ "canonicalReference": "@alloy-js/typescript!Declaration:function(1)",
3229
+ "docComment": "/**\n * Create a TypeScript declaration. Generally, this component shouldn't be used\n * directly, and instead prefer components for specific declarations, e.g.\n * {@link EnumDeclaration}, {@link InterfaceDeclaration},\n * {@link TypeDeclaration}, etc.\n *\n * @remarks\n *\n *\n *\n * This component will wrap its contents in a {@link @alloy-js/core#Declaration} component,\n * so children can make use of declaration context. Additionally, if the\n * provided symbol flags have {@link @alloy-js/core#OutputSymbolFlags.MemberContainer}, this\n * component will create a {@link @alloy-js/core#MemberScope}.\n *\n */\n",
3119
3230
  "excerptTokens": [
3120
3231
  {
3121
3232
  "kind": "Content",
3122
- "text": "export declare function createTSModuleScope(binder: "
3123
- },
3124
- {
3125
- "kind": "Reference",
3126
- "text": "Binder",
3127
- "canonicalReference": "@alloy-js/core!Binder:interface"
3128
- },
3129
- {
3130
- "kind": "Content",
3131
- "text": ", parent: "
3233
+ "text": "export declare function Declaration(props: "
3132
3234
  },
3133
3235
  {
3134
3236
  "kind": "Reference",
3135
- "text": "OutputScope",
3136
- "canonicalReference": "@alloy-js/core!OutputScope:interface"
3137
- },
3138
- {
3139
- "kind": "Content",
3140
- "text": ", path: "
3141
- },
3142
- {
3143
- "kind": "Content",
3144
- "text": "string"
3237
+ "text": "DeclarationProps",
3238
+ "canonicalReference": "@alloy-js/typescript!DeclarationProps:interface"
3145
3239
  },
3146
3240
  {
3147
3241
  "kind": "Content",
@@ -3149,62 +3243,46 @@
3149
3243
  },
3150
3244
  {
3151
3245
  "kind": "Reference",
3152
- "text": "TSModuleScope",
3153
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
3246
+ "text": "Children",
3247
+ "canonicalReference": "@alloy-js/core!Children:type"
3154
3248
  },
3155
3249
  {
3156
3250
  "kind": "Content",
3157
3251
  "text": ";"
3158
3252
  }
3159
3253
  ],
3160
- "fileUrlPath": "src/symbols/ts-module-scope.ts",
3254
+ "fileUrlPath": "src/components/Declaration.tsx",
3161
3255
  "returnTypeTokenRange": {
3162
- "startIndex": 7,
3163
- "endIndex": 8
3256
+ "startIndex": 3,
3257
+ "endIndex": 4
3164
3258
  },
3165
3259
  "releaseTag": "Public",
3166
3260
  "overloadIndex": 1,
3167
3261
  "parameters": [
3168
3262
  {
3169
- "parameterName": "binder",
3263
+ "parameterName": "props",
3170
3264
  "parameterTypeTokenRange": {
3171
3265
  "startIndex": 1,
3172
3266
  "endIndex": 2
3173
3267
  },
3174
3268
  "isOptional": false
3175
- },
3176
- {
3177
- "parameterName": "parent",
3178
- "parameterTypeTokenRange": {
3179
- "startIndex": 3,
3180
- "endIndex": 4
3181
- },
3182
- "isOptional": false
3183
- },
3184
- {
3185
- "parameterName": "path",
3186
- "parameterTypeTokenRange": {
3187
- "startIndex": 5,
3188
- "endIndex": 6
3189
- },
3190
- "isOptional": false
3191
3269
  }
3192
3270
  ],
3193
- "name": "createTSModuleScope"
3271
+ "name": "Declaration"
3194
3272
  },
3195
3273
  {
3196
- "kind": "Function",
3197
- "canonicalReference": "@alloy-js/typescript!createTSNamePolicy:function(1)",
3274
+ "kind": "Interface",
3275
+ "canonicalReference": "@alloy-js/typescript!DeclarationProps:interface",
3198
3276
  "docComment": "",
3199
3277
  "excerptTokens": [
3200
3278
  {
3201
3279
  "kind": "Content",
3202
- "text": "export declare function createTSNamePolicy(): "
3280
+ "text": "export interface DeclarationProps extends "
3203
3281
  },
3204
3282
  {
3205
3283
  "kind": "Reference",
3206
- "text": "NamePolicy",
3207
- "canonicalReference": "@alloy-js/core!NamePolicy:interface"
3284
+ "text": "Omit",
3285
+ "canonicalReference": "!Omit:type"
3208
3286
  },
3209
3287
  {
3210
3288
  "kind": "Content",
@@ -3212,86 +3290,127 @@
3212
3290
  },
3213
3291
  {
3214
3292
  "kind": "Reference",
3215
- "text": "TypeScriptElements",
3216
- "canonicalReference": "@alloy-js/typescript!TypeScriptElements:type"
3293
+ "text": "BaseDeclarationProps",
3294
+ "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps:interface"
3217
3295
  },
3218
3296
  {
3219
3297
  "kind": "Content",
3220
- "text": ">"
3298
+ "text": ", \"name\">"
3221
3299
  },
3222
3300
  {
3223
3301
  "kind": "Content",
3224
- "text": ";"
3302
+ "text": " "
3225
3303
  }
3226
3304
  ],
3227
- "fileUrlPath": "src/name-policy.ts",
3228
- "returnTypeTokenRange": {
3229
- "startIndex": 1,
3230
- "endIndex": 5
3231
- },
3305
+ "fileUrlPath": "src/components/Declaration.tsx",
3232
3306
  "releaseTag": "Public",
3233
- "overloadIndex": 1,
3234
- "parameters": [],
3235
- "name": "createTSNamePolicy"
3236
- },
3237
- {
3238
- "kind": "Function",
3239
- "canonicalReference": "@alloy-js/typescript!createTSPackageScope:function(1)",
3240
- "docComment": "",
3241
- "excerptTokens": [
3242
- {
3243
- "kind": "Content",
3244
- "text": "export declare function createTSPackageScope(binder: "
3245
- },
3246
- {
3247
- "kind": "Reference",
3248
- "text": "Binder",
3249
- "canonicalReference": "@alloy-js/core!Binder:interface"
3250
- },
3251
- {
3252
- "kind": "Content",
3253
- "text": ", parent: "
3254
- },
3255
- {
3256
- "kind": "Reference",
3257
- "text": "OutputScope",
3258
- "canonicalReference": "@alloy-js/core!OutputScope:interface"
3259
- },
3260
- {
3261
- "kind": "Content",
3262
- "text": " | undefined"
3263
- },
3264
- {
3265
- "kind": "Content",
3266
- "text": ", name: "
3267
- },
3268
- {
3269
- "kind": "Content",
3270
- "text": "string"
3271
- },
3307
+ "name": "DeclarationProps",
3308
+ "preserveMemberOrder": false,
3309
+ "members": [
3272
3310
  {
3273
- "kind": "Content",
3274
- "text": ", version: "
3311
+ "kind": "PropertySignature",
3312
+ "canonicalReference": "@alloy-js/typescript!DeclarationProps#name:member",
3313
+ "docComment": "/**\n * The name of this declaration.\n */\n",
3314
+ "excerptTokens": [
3315
+ {
3316
+ "kind": "Content",
3317
+ "text": "name?: "
3318
+ },
3319
+ {
3320
+ "kind": "Content",
3321
+ "text": "string"
3322
+ },
3323
+ {
3324
+ "kind": "Content",
3325
+ "text": ";"
3326
+ }
3327
+ ],
3328
+ "isReadonly": false,
3329
+ "isOptional": true,
3330
+ "releaseTag": "Public",
3331
+ "name": "name",
3332
+ "propertyTypeTokenRange": {
3333
+ "startIndex": 1,
3334
+ "endIndex": 2
3335
+ }
3275
3336
  },
3276
3337
  {
3277
- "kind": "Content",
3278
- "text": "string"
3338
+ "kind": "PropertySignature",
3339
+ "canonicalReference": "@alloy-js/typescript!DeclarationProps#nameKind:member",
3340
+ "docComment": "/**\n * The name policy kind to apply to the declaration.\n */\n",
3341
+ "excerptTokens": [
3342
+ {
3343
+ "kind": "Content",
3344
+ "text": "nameKind?: "
3345
+ },
3346
+ {
3347
+ "kind": "Reference",
3348
+ "text": "TypeScriptElements",
3349
+ "canonicalReference": "@alloy-js/typescript!TypeScriptElements:type"
3350
+ },
3351
+ {
3352
+ "kind": "Content",
3353
+ "text": ";"
3354
+ }
3355
+ ],
3356
+ "isReadonly": false,
3357
+ "isOptional": true,
3358
+ "releaseTag": "Public",
3359
+ "name": "nameKind",
3360
+ "propertyTypeTokenRange": {
3361
+ "startIndex": 1,
3362
+ "endIndex": 2
3363
+ }
3279
3364
  },
3280
3365
  {
3281
- "kind": "Content",
3282
- "text": ", path: "
3283
- },
3366
+ "kind": "PropertySignature",
3367
+ "canonicalReference": "@alloy-js/typescript!DeclarationProps#symbol:member",
3368
+ "docComment": "/**\n * The symbol to use for this declaration.\n */\n",
3369
+ "excerptTokens": [
3370
+ {
3371
+ "kind": "Content",
3372
+ "text": "symbol?: "
3373
+ },
3374
+ {
3375
+ "kind": "Reference",
3376
+ "text": "TSOutputSymbol",
3377
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
3378
+ },
3379
+ {
3380
+ "kind": "Content",
3381
+ "text": ";"
3382
+ }
3383
+ ],
3384
+ "isReadonly": false,
3385
+ "isOptional": true,
3386
+ "releaseTag": "Public",
3387
+ "name": "symbol",
3388
+ "propertyTypeTokenRange": {
3389
+ "startIndex": 1,
3390
+ "endIndex": 2
3391
+ }
3392
+ }
3393
+ ],
3394
+ "extendsTokenRanges": [
3284
3395
  {
3285
- "kind": "Content",
3286
- "text": "string"
3287
- },
3396
+ "startIndex": 1,
3397
+ "endIndex": 5
3398
+ }
3399
+ ]
3400
+ },
3401
+ {
3402
+ "kind": "Function",
3403
+ "canonicalReference": "@alloy-js/typescript!ElseClause:function(1)",
3404
+ "docComment": "/**\n * The else clause of an if statement.\n */\n",
3405
+ "excerptTokens": [
3288
3406
  {
3289
3407
  "kind": "Content",
3290
- "text": ", builtin?: "
3408
+ "text": "export declare function ElseClause(props: "
3291
3409
  },
3292
3410
  {
3293
- "kind": "Content",
3294
- "text": "boolean"
3411
+ "kind": "Reference",
3412
+ "text": "ElseClauseProps",
3413
+ "canonicalReference": "@alloy-js/typescript!ElseClauseProps:interface"
3295
3414
  },
3296
3415
  {
3297
3416
  "kind": "Content",
@@ -3299,86 +3418,92 @@
3299
3418
  },
3300
3419
  {
3301
3420
  "kind": "Reference",
3302
- "text": "TSPackageScope",
3303
- "canonicalReference": "@alloy-js/typescript!TSPackageScope:interface"
3421
+ "text": "Children",
3422
+ "canonicalReference": "@alloy-js/core!Children:type"
3304
3423
  },
3305
3424
  {
3306
3425
  "kind": "Content",
3307
3426
  "text": ";"
3308
3427
  }
3309
3428
  ],
3310
- "fileUrlPath": "src/symbols/ts-package-scope.ts",
3429
+ "fileUrlPath": "src/components/IfStatement.tsx",
3311
3430
  "returnTypeTokenRange": {
3312
- "startIndex": 14,
3313
- "endIndex": 15
3431
+ "startIndex": 3,
3432
+ "endIndex": 4
3314
3433
  },
3315
3434
  "releaseTag": "Public",
3316
3435
  "overloadIndex": 1,
3317
3436
  "parameters": [
3318
3437
  {
3319
- "parameterName": "binder",
3438
+ "parameterName": "props",
3320
3439
  "parameterTypeTokenRange": {
3321
3440
  "startIndex": 1,
3322
3441
  "endIndex": 2
3323
3442
  },
3324
3443
  "isOptional": false
3325
- },
3326
- {
3327
- "parameterName": "parent",
3328
- "parameterTypeTokenRange": {
3329
- "startIndex": 3,
3330
- "endIndex": 5
3331
- },
3332
- "isOptional": false
3333
- },
3334
- {
3335
- "parameterName": "name",
3336
- "parameterTypeTokenRange": {
3337
- "startIndex": 6,
3338
- "endIndex": 7
3339
- },
3340
- "isOptional": false
3341
- },
3342
- {
3343
- "parameterName": "version",
3344
- "parameterTypeTokenRange": {
3345
- "startIndex": 8,
3346
- "endIndex": 9
3347
- },
3348
- "isOptional": false
3349
- },
3444
+ }
3445
+ ],
3446
+ "name": "ElseClause"
3447
+ },
3448
+ {
3449
+ "kind": "Interface",
3450
+ "canonicalReference": "@alloy-js/typescript!ElseClauseProps:interface",
3451
+ "docComment": "",
3452
+ "excerptTokens": [
3350
3453
  {
3351
- "parameterName": "path",
3352
- "parameterTypeTokenRange": {
3353
- "startIndex": 10,
3354
- "endIndex": 11
3355
- },
3356
- "isOptional": false
3357
- },
3454
+ "kind": "Content",
3455
+ "text": "export interface ElseClauseProps "
3456
+ }
3457
+ ],
3458
+ "fileUrlPath": "src/components/IfStatement.tsx",
3459
+ "releaseTag": "Public",
3460
+ "name": "ElseClauseProps",
3461
+ "preserveMemberOrder": false,
3462
+ "members": [
3358
3463
  {
3359
- "parameterName": "builtin",
3360
- "parameterTypeTokenRange": {
3361
- "startIndex": 12,
3362
- "endIndex": 13
3363
- },
3364
- "isOptional": true
3464
+ "kind": "PropertySignature",
3465
+ "canonicalReference": "@alloy-js/typescript!ElseClauseProps#children:member",
3466
+ "docComment": "",
3467
+ "excerptTokens": [
3468
+ {
3469
+ "kind": "Content",
3470
+ "text": "children: "
3471
+ },
3472
+ {
3473
+ "kind": "Reference",
3474
+ "text": "Children",
3475
+ "canonicalReference": "@alloy-js/core!Children:type"
3476
+ },
3477
+ {
3478
+ "kind": "Content",
3479
+ "text": ";"
3480
+ }
3481
+ ],
3482
+ "isReadonly": false,
3483
+ "isOptional": false,
3484
+ "releaseTag": "Public",
3485
+ "name": "children",
3486
+ "propertyTypeTokenRange": {
3487
+ "startIndex": 1,
3488
+ "endIndex": 2
3489
+ }
3365
3490
  }
3366
3491
  ],
3367
- "name": "createTSPackageScope"
3492
+ "extendsTokenRanges": []
3368
3493
  },
3369
3494
  {
3370
3495
  "kind": "Function",
3371
- "canonicalReference": "@alloy-js/typescript!createTSSymbol:function(1)",
3372
- "docComment": "",
3496
+ "canonicalReference": "@alloy-js/typescript!ElseIfClause:function(1)",
3497
+ "docComment": "/**\n * An else clause with an if statement.\n */\n",
3373
3498
  "excerptTokens": [
3374
3499
  {
3375
3500
  "kind": "Content",
3376
- "text": "export declare function createTSSymbol(options: "
3501
+ "text": "export declare function ElseIfClause(props: "
3377
3502
  },
3378
3503
  {
3379
3504
  "kind": "Reference",
3380
- "text": "createTsSymbolOptions",
3381
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions:interface"
3505
+ "text": "ElseIfClauseProps",
3506
+ "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps:interface"
3382
3507
  },
3383
3508
  {
3384
3509
  "kind": "Content",
@@ -3386,15 +3511,15 @@
3386
3511
  },
3387
3512
  {
3388
3513
  "kind": "Reference",
3389
- "text": "TSOutputSymbol",
3390
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
3514
+ "text": "Children",
3515
+ "canonicalReference": "@alloy-js/core!Children:type"
3391
3516
  },
3392
3517
  {
3393
3518
  "kind": "Content",
3394
3519
  "text": ";"
3395
3520
  }
3396
3521
  ],
3397
- "fileUrlPath": "src/symbols/ts-output-symbol.ts",
3522
+ "fileUrlPath": "src/components/IfStatement.tsx",
3398
3523
  "returnTypeTokenRange": {
3399
3524
  "startIndex": 3,
3400
3525
  "endIndex": 4
@@ -3403,7 +3528,7 @@
3403
3528
  "overloadIndex": 1,
3404
3529
  "parameters": [
3405
3530
  {
3406
- "parameterName": "options",
3531
+ "parameterName": "props",
3407
3532
  "parameterTypeTokenRange": {
3408
3533
  "startIndex": 1,
3409
3534
  "endIndex": 2
@@ -3411,36 +3536,36 @@
3411
3536
  "isOptional": false
3412
3537
  }
3413
3538
  ],
3414
- "name": "createTSSymbol"
3539
+ "name": "ElseIfClause"
3415
3540
  },
3416
3541
  {
3417
3542
  "kind": "Interface",
3418
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions:interface",
3543
+ "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps:interface",
3419
3544
  "docComment": "",
3420
3545
  "excerptTokens": [
3421
3546
  {
3422
3547
  "kind": "Content",
3423
- "text": "export interface createTsSymbolOptions "
3548
+ "text": "export interface ElseIfClauseProps "
3424
3549
  }
3425
3550
  ],
3426
- "fileUrlPath": "src/symbols/ts-output-symbol.ts",
3551
+ "fileUrlPath": "src/components/IfStatement.tsx",
3427
3552
  "releaseTag": "Public",
3428
- "name": "createTsSymbolOptions",
3553
+ "name": "ElseIfClauseProps",
3429
3554
  "preserveMemberOrder": false,
3430
3555
  "members": [
3431
3556
  {
3432
3557
  "kind": "PropertySignature",
3433
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#binder:member",
3558
+ "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps#children:member",
3434
3559
  "docComment": "",
3435
3560
  "excerptTokens": [
3436
3561
  {
3437
3562
  "kind": "Content",
3438
- "text": "binder?: "
3563
+ "text": "children: "
3439
3564
  },
3440
3565
  {
3441
3566
  "kind": "Reference",
3442
- "text": "Binder",
3443
- "canonicalReference": "@alloy-js/core!Binder:interface"
3567
+ "text": "Children",
3568
+ "canonicalReference": "@alloy-js/core!Children:type"
3444
3569
  },
3445
3570
  {
3446
3571
  "kind": "Content",
@@ -3448,9 +3573,9 @@
3448
3573
  }
3449
3574
  ],
3450
3575
  "isReadonly": false,
3451
- "isOptional": true,
3576
+ "isOptional": false,
3452
3577
  "releaseTag": "Public",
3453
- "name": "binder",
3578
+ "name": "children",
3454
3579
  "propertyTypeTokenRange": {
3455
3580
  "startIndex": 1,
3456
3581
  "endIndex": 2
@@ -3458,130 +3583,17 @@
3458
3583
  },
3459
3584
  {
3460
3585
  "kind": "PropertySignature",
3461
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#default:member",
3586
+ "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps#condition:member",
3462
3587
  "docComment": "",
3463
3588
  "excerptTokens": [
3464
3589
  {
3465
3590
  "kind": "Content",
3466
- "text": "default?: "
3467
- },
3468
- {
3469
- "kind": "Content",
3470
- "text": "boolean"
3471
- },
3472
- {
3473
- "kind": "Content",
3474
- "text": ";"
3475
- }
3476
- ],
3477
- "isReadonly": false,
3478
- "isOptional": true,
3479
- "releaseTag": "Public",
3480
- "name": "default",
3481
- "propertyTypeTokenRange": {
3482
- "startIndex": 1,
3483
- "endIndex": 2
3484
- }
3485
- },
3486
- {
3487
- "kind": "PropertySignature",
3488
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#export:member",
3489
- "docComment": "",
3490
- "excerptTokens": [
3491
- {
3492
- "kind": "Content",
3493
- "text": "export?: "
3494
- },
3495
- {
3496
- "kind": "Content",
3497
- "text": "boolean"
3498
- },
3499
- {
3500
- "kind": "Content",
3501
- "text": ";"
3502
- }
3503
- ],
3504
- "isReadonly": false,
3505
- "isOptional": true,
3506
- "releaseTag": "Public",
3507
- "name": "export",
3508
- "propertyTypeTokenRange": {
3509
- "startIndex": 1,
3510
- "endIndex": 2
3511
- }
3512
- },
3513
- {
3514
- "kind": "PropertySignature",
3515
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#flags:member",
3516
- "docComment": "",
3517
- "excerptTokens": [
3518
- {
3519
- "kind": "Content",
3520
- "text": "flags?: "
3521
- },
3522
- {
3523
- "kind": "Reference",
3524
- "text": "OutputSymbolFlags",
3525
- "canonicalReference": "@alloy-js/core!OutputSymbolFlags:enum"
3526
- },
3527
- {
3528
- "kind": "Content",
3529
- "text": ";"
3530
- }
3531
- ],
3532
- "isReadonly": false,
3533
- "isOptional": true,
3534
- "releaseTag": "Public",
3535
- "name": "flags",
3536
- "propertyTypeTokenRange": {
3537
- "startIndex": 1,
3538
- "endIndex": 2
3539
- }
3540
- },
3541
- {
3542
- "kind": "PropertySignature",
3543
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#metadata:member",
3544
- "docComment": "",
3545
- "excerptTokens": [
3546
- {
3547
- "kind": "Content",
3548
- "text": "metadata?: "
3591
+ "text": "condition: "
3549
3592
  },
3550
3593
  {
3551
3594
  "kind": "Reference",
3552
- "text": "Record",
3553
- "canonicalReference": "!Record:type"
3554
- },
3555
- {
3556
- "kind": "Content",
3557
- "text": "<string, unknown>"
3558
- },
3559
- {
3560
- "kind": "Content",
3561
- "text": ";"
3562
- }
3563
- ],
3564
- "isReadonly": false,
3565
- "isOptional": true,
3566
- "releaseTag": "Public",
3567
- "name": "metadata",
3568
- "propertyTypeTokenRange": {
3569
- "startIndex": 1,
3570
- "endIndex": 3
3571
- }
3572
- },
3573
- {
3574
- "kind": "PropertySignature",
3575
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#name:member",
3576
- "docComment": "",
3577
- "excerptTokens": [
3578
- {
3579
- "kind": "Content",
3580
- "text": "name: "
3581
- },
3582
- {
3583
- "kind": "Content",
3584
- "text": "string"
3595
+ "text": "Children",
3596
+ "canonicalReference": "@alloy-js/core!Children:type"
3585
3597
  },
3586
3598
  {
3587
3599
  "kind": "Content",
@@ -3591,104 +3603,7 @@
3591
3603
  "isReadonly": false,
3592
3604
  "isOptional": false,
3593
3605
  "releaseTag": "Public",
3594
- "name": "name",
3595
- "propertyTypeTokenRange": {
3596
- "startIndex": 1,
3597
- "endIndex": 2
3598
- }
3599
- },
3600
- {
3601
- "kind": "PropertySignature",
3602
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#refkey:member",
3603
- "docComment": "",
3604
- "excerptTokens": [
3605
- {
3606
- "kind": "Content",
3607
- "text": "refkey?: "
3608
- },
3609
- {
3610
- "kind": "Reference",
3611
- "text": "Refkey",
3612
- "canonicalReference": "@alloy-js/core!Refkey:type"
3613
- },
3614
- {
3615
- "kind": "Content",
3616
- "text": " | "
3617
- },
3618
- {
3619
- "kind": "Reference",
3620
- "text": "Refkey",
3621
- "canonicalReference": "@alloy-js/core!Refkey:type"
3622
- },
3623
- {
3624
- "kind": "Content",
3625
- "text": "[]"
3626
- },
3627
- {
3628
- "kind": "Content",
3629
- "text": ";"
3630
- }
3631
- ],
3632
- "isReadonly": false,
3633
- "isOptional": true,
3634
- "releaseTag": "Public",
3635
- "name": "refkey",
3636
- "propertyTypeTokenRange": {
3637
- "startIndex": 1,
3638
- "endIndex": 5
3639
- }
3640
- },
3641
- {
3642
- "kind": "PropertySignature",
3643
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#scope:member",
3644
- "docComment": "",
3645
- "excerptTokens": [
3646
- {
3647
- "kind": "Content",
3648
- "text": "scope?: "
3649
- },
3650
- {
3651
- "kind": "Reference",
3652
- "text": "TSOutputScope",
3653
- "canonicalReference": "@alloy-js/typescript!TSOutputScope:type"
3654
- },
3655
- {
3656
- "kind": "Content",
3657
- "text": ";"
3658
- }
3659
- ],
3660
- "isReadonly": false,
3661
- "isOptional": true,
3662
- "releaseTag": "Public",
3663
- "name": "scope",
3664
- "propertyTypeTokenRange": {
3665
- "startIndex": 1,
3666
- "endIndex": 2
3667
- }
3668
- },
3669
- {
3670
- "kind": "PropertySignature",
3671
- "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#tsFlags:member",
3672
- "docComment": "",
3673
- "excerptTokens": [
3674
- {
3675
- "kind": "Content",
3676
- "text": "tsFlags?: "
3677
- },
3678
- {
3679
- "kind": "Reference",
3680
- "text": "TSSymbolFlags",
3681
- "canonicalReference": "@alloy-js/typescript!TSSymbolFlags:enum"
3682
- },
3683
- {
3684
- "kind": "Content",
3685
- "text": ";"
3686
- }
3687
- ],
3688
- "isReadonly": false,
3689
- "isOptional": true,
3690
- "releaseTag": "Public",
3691
- "name": "tsFlags",
3606
+ "name": "condition",
3692
3607
  "propertyTypeTokenRange": {
3693
3608
  "startIndex": 1,
3694
3609
  "endIndex": 2
@@ -3699,22 +3614,38 @@
3699
3614
  },
3700
3615
  {
3701
3616
  "kind": "Function",
3702
- "canonicalReference": "@alloy-js/typescript!Declaration:function(1)",
3703
- "docComment": "/**\n * Create a TypeScript declaration. Generally, this component shouldn't be used\n * directly, and instead prefer components for specific declarations, e.g.\n * {@link EnumDeclaration}, {@link InterfaceDeclaration},\n * {@link TypeDeclaration}, etc.\n *\n * @remarks\n *\n *\n *\n * This component will wrap its contents in a {@link @alloy-js/core#Declaration} component,\n * so children can make use of declaration context. Additionally, if the\n * provided symbol flags have {@link @alloy-js/core#OutputSymbolFlags.MemberContainer}, this\n * component will create a {@link @alloy-js/core#MemberScope}.\n *\n */\n",
3617
+ "canonicalReference": "@alloy-js/typescript!ensureTypeRefContext:function(1)",
3618
+ "docComment": "/**\n * Ensure the current component is inside a type ref context.\n * If not it will wrap in a {@link TypeRefContext} component.\n * If yes it will not add an extra node and return the original component.\n */\n",
3704
3619
  "excerptTokens": [
3705
3620
  {
3706
3621
  "kind": "Content",
3707
- "text": "export declare function Declaration(props: "
3622
+ "text": "export declare function ensureTypeRefContext<A extends "
3623
+ },
3624
+ {
3625
+ "kind": "Content",
3626
+ "text": "unknown[]"
3627
+ },
3628
+ {
3629
+ "kind": "Content",
3630
+ "text": ">(fn: "
3631
+ },
3632
+ {
3633
+ "kind": "Content",
3634
+ "text": "(...args: A) => "
3708
3635
  },
3709
3636
  {
3710
3637
  "kind": "Reference",
3711
- "text": "DeclarationProps",
3712
- "canonicalReference": "@alloy-js/typescript!DeclarationProps:interface"
3638
+ "text": "Children",
3639
+ "canonicalReference": "@alloy-js/core!Children:type"
3713
3640
  },
3714
3641
  {
3715
3642
  "kind": "Content",
3716
3643
  "text": "): "
3717
3644
  },
3645
+ {
3646
+ "kind": "Content",
3647
+ "text": "(...args: A) => "
3648
+ },
3718
3649
  {
3719
3650
  "kind": "Reference",
3720
3651
  "text": "Children",
@@ -3725,171 +3656,60 @@
3725
3656
  "text": ";"
3726
3657
  }
3727
3658
  ],
3728
- "fileUrlPath": "src/components/Declaration.tsx",
3659
+ "fileUrlPath": "src/components/TypeRefContext.tsx",
3729
3660
  "returnTypeTokenRange": {
3730
- "startIndex": 3,
3731
- "endIndex": 4
3661
+ "startIndex": 6,
3662
+ "endIndex": 8
3732
3663
  },
3733
3664
  "releaseTag": "Public",
3734
3665
  "overloadIndex": 1,
3735
3666
  "parameters": [
3736
3667
  {
3737
- "parameterName": "props",
3668
+ "parameterName": "fn",
3738
3669
  "parameterTypeTokenRange": {
3739
- "startIndex": 1,
3740
- "endIndex": 2
3670
+ "startIndex": 3,
3671
+ "endIndex": 5
3741
3672
  },
3742
3673
  "isOptional": false
3743
3674
  }
3744
3675
  ],
3745
- "name": "Declaration"
3746
- },
3747
- {
3748
- "kind": "Interface",
3749
- "canonicalReference": "@alloy-js/typescript!DeclarationProps:interface",
3750
- "docComment": "",
3751
- "excerptTokens": [
3752
- {
3753
- "kind": "Content",
3754
- "text": "export interface DeclarationProps extends "
3755
- },
3676
+ "typeParameters": [
3756
3677
  {
3757
- "kind": "Reference",
3758
- "text": "Omit",
3759
- "canonicalReference": "!Omit:type"
3760
- },
3761
- {
3762
- "kind": "Content",
3763
- "text": "<"
3764
- },
3765
- {
3766
- "kind": "Reference",
3767
- "text": "BaseDeclarationProps",
3768
- "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps:interface"
3769
- },
3770
- {
3771
- "kind": "Content",
3772
- "text": ", \"name\">"
3773
- },
3774
- {
3775
- "kind": "Content",
3776
- "text": " "
3777
- }
3778
- ],
3779
- "fileUrlPath": "src/components/Declaration.tsx",
3780
- "releaseTag": "Public",
3781
- "name": "DeclarationProps",
3782
- "preserveMemberOrder": false,
3783
- "members": [
3784
- {
3785
- "kind": "PropertySignature",
3786
- "canonicalReference": "@alloy-js/typescript!DeclarationProps#name:member",
3787
- "docComment": "/**\n * The name of this declaration.\n */\n",
3788
- "excerptTokens": [
3789
- {
3790
- "kind": "Content",
3791
- "text": "name?: "
3792
- },
3793
- {
3794
- "kind": "Content",
3795
- "text": "string"
3796
- },
3797
- {
3798
- "kind": "Content",
3799
- "text": ";"
3800
- }
3801
- ],
3802
- "isReadonly": false,
3803
- "isOptional": true,
3804
- "releaseTag": "Public",
3805
- "name": "name",
3806
- "propertyTypeTokenRange": {
3807
- "startIndex": 1,
3808
- "endIndex": 2
3809
- }
3810
- },
3811
- {
3812
- "kind": "PropertySignature",
3813
- "canonicalReference": "@alloy-js/typescript!DeclarationProps#nameKind:member",
3814
- "docComment": "/**\n * The name policy kind to apply to the declaration.\n */\n",
3815
- "excerptTokens": [
3816
- {
3817
- "kind": "Content",
3818
- "text": "nameKind?: "
3819
- },
3820
- {
3821
- "kind": "Reference",
3822
- "text": "TypeScriptElements",
3823
- "canonicalReference": "@alloy-js/typescript!TypeScriptElements:type"
3824
- },
3825
- {
3826
- "kind": "Content",
3827
- "text": ";"
3828
- }
3829
- ],
3830
- "isReadonly": false,
3831
- "isOptional": true,
3832
- "releaseTag": "Public",
3833
- "name": "nameKind",
3834
- "propertyTypeTokenRange": {
3835
- "startIndex": 1,
3836
- "endIndex": 2
3837
- }
3838
- },
3839
- {
3840
- "kind": "PropertySignature",
3841
- "canonicalReference": "@alloy-js/typescript!DeclarationProps#symbol:member",
3842
- "docComment": "/**\n * The symbol to use for this declaration.\n */\n",
3843
- "excerptTokens": [
3844
- {
3845
- "kind": "Content",
3846
- "text": "symbol?: "
3847
- },
3848
- {
3849
- "kind": "Reference",
3850
- "text": "TSOutputSymbol",
3851
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
3852
- },
3853
- {
3854
- "kind": "Content",
3855
- "text": ";"
3856
- }
3857
- ],
3858
- "isReadonly": false,
3859
- "isOptional": true,
3860
- "releaseTag": "Public",
3861
- "name": "symbol",
3862
- "propertyTypeTokenRange": {
3678
+ "typeParameterName": "A",
3679
+ "constraintTokenRange": {
3863
3680
  "startIndex": 1,
3864
3681
  "endIndex": 2
3682
+ },
3683
+ "defaultTypeTokenRange": {
3684
+ "startIndex": 0,
3685
+ "endIndex": 0
3865
3686
  }
3866
3687
  }
3867
3688
  ],
3868
- "extendsTokenRanges": [
3869
- {
3870
- "startIndex": 1,
3871
- "endIndex": 5
3872
- }
3873
- ]
3689
+ "name": "ensureTypeRefContext"
3874
3690
  },
3875
3691
  {
3876
3692
  "kind": "Function",
3877
- "canonicalReference": "@alloy-js/typescript!ElseClause:function(1)",
3878
- "docComment": "/**\n * The else clause of an if statement.\n */\n",
3693
+ "canonicalReference": "@alloy-js/typescript!EnumDeclaration:function(1)",
3694
+ "docComment": "/**\n * A TypeScript enum declaration.\n */\n",
3879
3695
  "excerptTokens": [
3880
3696
  {
3881
3697
  "kind": "Content",
3882
- "text": "export declare function ElseClause(props: "
3698
+ "text": "export declare function EnumDeclaration(props: "
3883
3699
  },
3884
3700
  {
3885
3701
  "kind": "Reference",
3886
- "text": "ElseClauseProps",
3887
- "canonicalReference": "@alloy-js/typescript!ElseClauseProps:interface"
3702
+ "text": "EnumDeclarationProps",
3703
+ "canonicalReference": "@alloy-js/typescript!EnumDeclarationProps:interface"
3888
3704
  },
3889
3705
  {
3890
3706
  "kind": "Content",
3891
3707
  "text": "): "
3892
3708
  },
3709
+ {
3710
+ "kind": "Content",
3711
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
3712
+ },
3893
3713
  {
3894
3714
  "kind": "Reference",
3895
3715
  "text": "Children",
@@ -3900,10 +3720,10 @@
3900
3720
  "text": ";"
3901
3721
  }
3902
3722
  ],
3903
- "fileUrlPath": "src/components/IfStatement.tsx",
3723
+ "fileUrlPath": "src/components/EnumDeclaration.tsx",
3904
3724
  "returnTypeTokenRange": {
3905
3725
  "startIndex": 3,
3906
- "endIndex": 4
3726
+ "endIndex": 5
3907
3727
  },
3908
3728
  "releaseTag": "Public",
3909
3729
  "overloadIndex": 1,
@@ -3917,36 +3737,49 @@
3917
3737
  "isOptional": false
3918
3738
  }
3919
3739
  ],
3920
- "name": "ElseClause"
3740
+ "name": "EnumDeclaration"
3921
3741
  },
3922
3742
  {
3923
3743
  "kind": "Interface",
3924
- "canonicalReference": "@alloy-js/typescript!ElseClauseProps:interface",
3744
+ "canonicalReference": "@alloy-js/typescript!EnumDeclarationProps:interface",
3925
3745
  "docComment": "",
3926
3746
  "excerptTokens": [
3927
3747
  {
3928
3748
  "kind": "Content",
3929
- "text": "export interface ElseClauseProps "
3749
+ "text": "export interface EnumDeclarationProps extends "
3750
+ },
3751
+ {
3752
+ "kind": "Reference",
3753
+ "text": "BaseDeclarationProps",
3754
+ "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps:interface"
3755
+ },
3756
+ {
3757
+ "kind": "Content",
3758
+ "text": " "
3930
3759
  }
3931
3760
  ],
3932
- "fileUrlPath": "src/components/IfStatement.tsx",
3761
+ "fileUrlPath": "src/components/EnumDeclaration.tsx",
3933
3762
  "releaseTag": "Public",
3934
- "name": "ElseClauseProps",
3763
+ "name": "EnumDeclarationProps",
3935
3764
  "preserveMemberOrder": false,
3936
3765
  "members": [
3937
3766
  {
3938
3767
  "kind": "PropertySignature",
3939
- "canonicalReference": "@alloy-js/typescript!ElseClauseProps#children:member",
3940
- "docComment": "",
3768
+ "canonicalReference": "@alloy-js/typescript!EnumDeclarationProps#jsValue:member",
3769
+ "docComment": "/**\n * A JS object representing the enum member names and values.\n */\n",
3941
3770
  "excerptTokens": [
3942
3771
  {
3943
3772
  "kind": "Content",
3944
- "text": "children: "
3773
+ "text": "jsValue?: "
3945
3774
  },
3946
3775
  {
3947
3776
  "kind": "Reference",
3948
- "text": "Children",
3949
- "canonicalReference": "@alloy-js/core!Children:type"
3777
+ "text": "Record",
3778
+ "canonicalReference": "!Record:type"
3779
+ },
3780
+ {
3781
+ "kind": "Content",
3782
+ "text": "<string, string | number>"
3950
3783
  },
3951
3784
  {
3952
3785
  "kind": "Content",
@@ -3954,30 +3787,35 @@
3954
3787
  }
3955
3788
  ],
3956
3789
  "isReadonly": false,
3957
- "isOptional": false,
3790
+ "isOptional": true,
3958
3791
  "releaseTag": "Public",
3959
- "name": "children",
3792
+ "name": "jsValue",
3960
3793
  "propertyTypeTokenRange": {
3961
3794
  "startIndex": 1,
3962
- "endIndex": 2
3795
+ "endIndex": 3
3963
3796
  }
3964
3797
  }
3965
3798
  ],
3966
- "extendsTokenRanges": []
3799
+ "extendsTokenRanges": [
3800
+ {
3801
+ "startIndex": 1,
3802
+ "endIndex": 2
3803
+ }
3804
+ ]
3967
3805
  },
3968
3806
  {
3969
3807
  "kind": "Function",
3970
- "canonicalReference": "@alloy-js/typescript!ElseIfClause:function(1)",
3971
- "docComment": "/**\n * An else clause with an if statement.\n */\n",
3808
+ "canonicalReference": "@alloy-js/typescript!EnumMember:function(1)",
3809
+ "docComment": "/**\n * A TypeScript enum member.\n */\n",
3972
3810
  "excerptTokens": [
3973
3811
  {
3974
3812
  "kind": "Content",
3975
- "text": "export declare function ElseIfClause(props: "
3813
+ "text": "export declare function EnumMember(props: "
3976
3814
  },
3977
3815
  {
3978
3816
  "kind": "Reference",
3979
- "text": "ElseIfClauseProps",
3980
- "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps:interface"
3817
+ "text": "EnumMemberProps",
3818
+ "canonicalReference": "@alloy-js/typescript!EnumMemberProps:interface"
3981
3819
  },
3982
3820
  {
3983
3821
  "kind": "Content",
@@ -3993,7 +3831,7 @@
3993
3831
  "text": ";"
3994
3832
  }
3995
3833
  ],
3996
- "fileUrlPath": "src/components/IfStatement.tsx",
3834
+ "fileUrlPath": "src/components/EnumMember.tsx",
3997
3835
  "returnTypeTokenRange": {
3998
3836
  "startIndex": 3,
3999
3837
  "endIndex": 4
@@ -4010,31 +3848,31 @@
4010
3848
  "isOptional": false
4011
3849
  }
4012
3850
  ],
4013
- "name": "ElseIfClause"
3851
+ "name": "EnumMember"
4014
3852
  },
4015
3853
  {
4016
3854
  "kind": "Interface",
4017
- "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps:interface",
3855
+ "canonicalReference": "@alloy-js/typescript!EnumMemberProps:interface",
4018
3856
  "docComment": "",
4019
3857
  "excerptTokens": [
4020
3858
  {
4021
3859
  "kind": "Content",
4022
- "text": "export interface ElseIfClauseProps "
3860
+ "text": "export interface EnumMemberProps "
4023
3861
  }
4024
3862
  ],
4025
- "fileUrlPath": "src/components/IfStatement.tsx",
3863
+ "fileUrlPath": "src/components/EnumMember.tsx",
4026
3864
  "releaseTag": "Public",
4027
- "name": "ElseIfClauseProps",
3865
+ "name": "EnumMemberProps",
4028
3866
  "preserveMemberOrder": false,
4029
3867
  "members": [
4030
3868
  {
4031
3869
  "kind": "PropertySignature",
4032
- "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps#children:member",
4033
- "docComment": "",
3870
+ "canonicalReference": "@alloy-js/typescript!EnumMemberProps#doc:member",
3871
+ "docComment": "/**\n * Documentation for the enum member.\n */\n",
4034
3872
  "excerptTokens": [
4035
3873
  {
4036
3874
  "kind": "Content",
4037
- "text": "children: "
3875
+ "text": "doc?: "
4038
3876
  },
4039
3877
  {
4040
3878
  "kind": "Reference",
@@ -4047,9 +3885,9 @@
4047
3885
  }
4048
3886
  ],
4049
3887
  "isReadonly": false,
4050
- "isOptional": false,
3888
+ "isOptional": true,
4051
3889
  "releaseTag": "Public",
4052
- "name": "children",
3890
+ "name": "doc",
4053
3891
  "propertyTypeTokenRange": {
4054
3892
  "startIndex": 1,
4055
3893
  "endIndex": 2
@@ -4057,17 +3895,16 @@
4057
3895
  },
4058
3896
  {
4059
3897
  "kind": "PropertySignature",
4060
- "canonicalReference": "@alloy-js/typescript!ElseIfClauseProps#condition:member",
4061
- "docComment": "",
3898
+ "canonicalReference": "@alloy-js/typescript!EnumMemberProps#jsValue:member",
3899
+ "docComment": "/**\n * The JS value of the enum member.\n */\n",
4062
3900
  "excerptTokens": [
4063
3901
  {
4064
3902
  "kind": "Content",
4065
- "text": "condition: "
3903
+ "text": "jsValue?: "
4066
3904
  },
4067
3905
  {
4068
- "kind": "Reference",
4069
- "text": "Children",
4070
- "canonicalReference": "@alloy-js/core!Children:type"
3906
+ "kind": "Content",
3907
+ "text": "string | number"
4071
3908
  },
4072
3909
  {
4073
3910
  "kind": "Content",
@@ -4075,176 +3912,22 @@
4075
3912
  }
4076
3913
  ],
4077
3914
  "isReadonly": false,
4078
- "isOptional": false,
3915
+ "isOptional": true,
4079
3916
  "releaseTag": "Public",
4080
- "name": "condition",
3917
+ "name": "jsValue",
4081
3918
  "propertyTypeTokenRange": {
4082
3919
  "startIndex": 1,
4083
3920
  "endIndex": 2
4084
3921
  }
4085
- }
4086
- ],
4087
- "extendsTokenRanges": []
4088
- },
4089
- {
4090
- "kind": "Function",
4091
- "canonicalReference": "@alloy-js/typescript!ensureTypeRefContext:function(1)",
4092
- "docComment": "/**\n * Ensure the current component is inside a type ref context.\n * If not it will wrap in a {@link TypeRefContext} component.\n * If yes it will not add an extra node and return the original component.\n */\n",
4093
- "excerptTokens": [
4094
- {
4095
- "kind": "Content",
4096
- "text": "export declare function ensureTypeRefContext<A extends "
4097
3922
  },
4098
- {
4099
- "kind": "Content",
4100
- "text": "unknown[]"
4101
- },
4102
- {
4103
- "kind": "Content",
4104
- "text": ">(fn: "
4105
- },
4106
- {
4107
- "kind": "Content",
4108
- "text": "(...args: A) => "
4109
- },
4110
- {
4111
- "kind": "Reference",
4112
- "text": "Children",
4113
- "canonicalReference": "@alloy-js/core!Children:type"
4114
- },
4115
- {
4116
- "kind": "Content",
4117
- "text": "): "
4118
- },
4119
- {
4120
- "kind": "Content",
4121
- "text": "(...args: A) => "
4122
- },
4123
- {
4124
- "kind": "Reference",
4125
- "text": "Children",
4126
- "canonicalReference": "@alloy-js/core!Children:type"
4127
- },
4128
- {
4129
- "kind": "Content",
4130
- "text": ";"
4131
- }
4132
- ],
4133
- "fileUrlPath": "src/components/TypeRefContext.tsx",
4134
- "returnTypeTokenRange": {
4135
- "startIndex": 6,
4136
- "endIndex": 8
4137
- },
4138
- "releaseTag": "Public",
4139
- "overloadIndex": 1,
4140
- "parameters": [
4141
- {
4142
- "parameterName": "fn",
4143
- "parameterTypeTokenRange": {
4144
- "startIndex": 3,
4145
- "endIndex": 5
4146
- },
4147
- "isOptional": false
4148
- }
4149
- ],
4150
- "typeParameters": [
4151
- {
4152
- "typeParameterName": "A",
4153
- "constraintTokenRange": {
4154
- "startIndex": 1,
4155
- "endIndex": 2
4156
- },
4157
- "defaultTypeTokenRange": {
4158
- "startIndex": 0,
4159
- "endIndex": 0
4160
- }
4161
- }
4162
- ],
4163
- "name": "ensureTypeRefContext"
4164
- },
4165
- {
4166
- "kind": "Function",
4167
- "canonicalReference": "@alloy-js/typescript!EnumDeclaration:function(1)",
4168
- "docComment": "/**\n * A TypeScript enum declaration.\n */\n",
4169
- "excerptTokens": [
4170
- {
4171
- "kind": "Content",
4172
- "text": "export declare function EnumDeclaration(props: "
4173
- },
4174
- {
4175
- "kind": "Reference",
4176
- "text": "EnumDeclarationProps",
4177
- "canonicalReference": "@alloy-js/typescript!EnumDeclarationProps:interface"
4178
- },
4179
- {
4180
- "kind": "Content",
4181
- "text": "): "
4182
- },
4183
- {
4184
- "kind": "Content",
4185
- "text": "import(\"@alloy-js/core\")."
4186
- },
4187
- {
4188
- "kind": "Reference",
4189
- "text": "Children",
4190
- "canonicalReference": "@alloy-js/core!Children:type"
4191
- },
4192
- {
4193
- "kind": "Content",
4194
- "text": ";"
4195
- }
4196
- ],
4197
- "fileUrlPath": "src/components/EnumDeclaration.tsx",
4198
- "returnTypeTokenRange": {
4199
- "startIndex": 3,
4200
- "endIndex": 5
4201
- },
4202
- "releaseTag": "Public",
4203
- "overloadIndex": 1,
4204
- "parameters": [
4205
- {
4206
- "parameterName": "props",
4207
- "parameterTypeTokenRange": {
4208
- "startIndex": 1,
4209
- "endIndex": 2
4210
- },
4211
- "isOptional": false
4212
- }
4213
- ],
4214
- "name": "EnumDeclaration"
4215
- },
4216
- {
4217
- "kind": "Interface",
4218
- "canonicalReference": "@alloy-js/typescript!EnumDeclarationProps:interface",
4219
- "docComment": "",
4220
- "excerptTokens": [
4221
- {
4222
- "kind": "Content",
4223
- "text": "export interface EnumDeclarationProps extends "
4224
- },
4225
- {
4226
- "kind": "Reference",
4227
- "text": "BaseDeclarationProps",
4228
- "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps:interface"
4229
- },
4230
- {
4231
- "kind": "Content",
4232
- "text": " "
4233
- }
4234
- ],
4235
- "fileUrlPath": "src/components/EnumDeclaration.tsx",
4236
- "releaseTag": "Public",
4237
- "name": "EnumDeclarationProps",
4238
- "preserveMemberOrder": false,
4239
- "members": [
4240
3923
  {
4241
3924
  "kind": "PropertySignature",
4242
- "canonicalReference": "@alloy-js/typescript!EnumDeclarationProps#jsValue:member",
4243
- "docComment": "/**\n * A JS object representing the enum member names and values.\n */\n",
3925
+ "canonicalReference": "@alloy-js/typescript!EnumMemberProps#metadata:member",
3926
+ "docComment": "/**\n * Arbitrary symbol metadata for the enum member.\n */\n",
4244
3927
  "excerptTokens": [
4245
3928
  {
4246
3929
  "kind": "Content",
4247
- "text": "jsValue?: "
3930
+ "text": "metadata?: "
4248
3931
  },
4249
3932
  {
4250
3933
  "kind": "Reference",
@@ -4253,7 +3936,7 @@
4253
3936
  },
4254
3937
  {
4255
3938
  "kind": "Content",
4256
- "text": "<string, string | number>"
3939
+ "text": "<string, unknown>"
4257
3940
  },
4258
3941
  {
4259
3942
  "kind": "Content",
@@ -4263,95 +3946,24 @@
4263
3946
  "isReadonly": false,
4264
3947
  "isOptional": true,
4265
3948
  "releaseTag": "Public",
4266
- "name": "jsValue",
3949
+ "name": "metadata",
4267
3950
  "propertyTypeTokenRange": {
4268
3951
  "startIndex": 1,
4269
3952
  "endIndex": 3
4270
3953
  }
4271
- }
4272
- ],
4273
- "extendsTokenRanges": [
4274
- {
4275
- "startIndex": 1,
4276
- "endIndex": 2
4277
- }
4278
- ]
4279
- },
4280
- {
4281
- "kind": "Function",
4282
- "canonicalReference": "@alloy-js/typescript!EnumMember:function(1)",
4283
- "docComment": "/**\n * A TypeScript enum member.\n */\n",
4284
- "excerptTokens": [
4285
- {
4286
- "kind": "Content",
4287
- "text": "export declare function EnumMember(props: "
4288
- },
4289
- {
4290
- "kind": "Reference",
4291
- "text": "EnumMemberProps",
4292
- "canonicalReference": "@alloy-js/typescript!EnumMemberProps:interface"
4293
- },
4294
- {
4295
- "kind": "Content",
4296
- "text": "): "
4297
- },
4298
- {
4299
- "kind": "Reference",
4300
- "text": "Children",
4301
- "canonicalReference": "@alloy-js/core!Children:type"
4302
3954
  },
4303
- {
4304
- "kind": "Content",
4305
- "text": ";"
4306
- }
4307
- ],
4308
- "fileUrlPath": "src/components/EnumMember.tsx",
4309
- "returnTypeTokenRange": {
4310
- "startIndex": 3,
4311
- "endIndex": 4
4312
- },
4313
- "releaseTag": "Public",
4314
- "overloadIndex": 1,
4315
- "parameters": [
4316
- {
4317
- "parameterName": "props",
4318
- "parameterTypeTokenRange": {
4319
- "startIndex": 1,
4320
- "endIndex": 2
4321
- },
4322
- "isOptional": false
4323
- }
4324
- ],
4325
- "name": "EnumMember"
4326
- },
4327
- {
4328
- "kind": "Interface",
4329
- "canonicalReference": "@alloy-js/typescript!EnumMemberProps:interface",
4330
- "docComment": "",
4331
- "excerptTokens": [
4332
- {
4333
- "kind": "Content",
4334
- "text": "export interface EnumMemberProps "
4335
- }
4336
- ],
4337
- "fileUrlPath": "src/components/EnumMember.tsx",
4338
- "releaseTag": "Public",
4339
- "name": "EnumMemberProps",
4340
- "preserveMemberOrder": false,
4341
- "members": [
4342
3955
  {
4343
3956
  "kind": "PropertySignature",
4344
- "canonicalReference": "@alloy-js/typescript!EnumMemberProps#doc:member",
4345
- "docComment": "/**\n * Documentation for the enum member.\n */\n",
3957
+ "canonicalReference": "@alloy-js/typescript!EnumMemberProps#name:member",
3958
+ "docComment": "/**\n * The name of the member.\n *\n * If a naming policy is provided in context, the policy name \"enum-member\" is\n * used.\n */\n",
4346
3959
  "excerptTokens": [
4347
3960
  {
4348
3961
  "kind": "Content",
4349
- "text": "doc?: "
3962
+ "text": "name: "
4350
3963
  },
4351
3964
  {
4352
- "kind": "Reference",
4353
- "text": "Children",
4354
- "canonicalReference": "@alloy-js/core!Children:type"
3965
+ "kind": "Content",
3966
+ "text": "string"
4355
3967
  },
4356
3968
  {
4357
3969
  "kind": "Content",
@@ -4359,9 +3971,9 @@
4359
3971
  }
4360
3972
  ],
4361
3973
  "isReadonly": false,
4362
- "isOptional": true,
3974
+ "isOptional": false,
4363
3975
  "releaseTag": "Public",
4364
- "name": "doc",
3976
+ "name": "name",
4365
3977
  "propertyTypeTokenRange": {
4366
3978
  "startIndex": 1,
4367
3979
  "endIndex": 2
@@ -4369,16 +3981,17 @@
4369
3981
  },
4370
3982
  {
4371
3983
  "kind": "PropertySignature",
4372
- "canonicalReference": "@alloy-js/typescript!EnumMemberProps#jsValue:member",
4373
- "docComment": "/**\n * The JS value of the enum member.\n */\n",
3984
+ "canonicalReference": "@alloy-js/typescript!EnumMemberProps#refkey:member",
3985
+ "docComment": "/**\n * Refkey for the enum member symbol. If the refkey is not provided, a symbol\n * is not created and the member cannot be referenced by refkey.\n */\n",
4374
3986
  "excerptTokens": [
4375
3987
  {
4376
3988
  "kind": "Content",
4377
- "text": "jsValue?: "
3989
+ "text": "refkey?: "
4378
3990
  },
4379
3991
  {
4380
- "kind": "Content",
4381
- "text": "string | number"
3992
+ "kind": "Reference",
3993
+ "text": "Refkey",
3994
+ "canonicalReference": "@alloy-js/core!Refkey:type"
4382
3995
  },
4383
3996
  {
4384
3997
  "kind": "Content",
@@ -4388,7 +4001,7 @@
4388
4001
  "isReadonly": false,
4389
4002
  "isOptional": true,
4390
4003
  "releaseTag": "Public",
4391
- "name": "jsValue",
4004
+ "name": "refkey",
4392
4005
  "propertyTypeTokenRange": {
4393
4006
  "startIndex": 1,
4394
4007
  "endIndex": 2
@@ -4396,21 +4009,17 @@
4396
4009
  },
4397
4010
  {
4398
4011
  "kind": "PropertySignature",
4399
- "canonicalReference": "@alloy-js/typescript!EnumMemberProps#metadata:member",
4400
- "docComment": "/**\n * Arbitrary symbol metadata for the enum member.\n */\n",
4012
+ "canonicalReference": "@alloy-js/typescript!EnumMemberProps#value:member",
4013
+ "docComment": "/**\n * The value of the enum member.\n */\n",
4401
4014
  "excerptTokens": [
4402
4015
  {
4403
4016
  "kind": "Content",
4404
- "text": "metadata?: "
4017
+ "text": "value?: "
4405
4018
  },
4406
4019
  {
4407
4020
  "kind": "Reference",
4408
- "text": "Record",
4409
- "canonicalReference": "!Record:type"
4410
- },
4411
- {
4412
- "kind": "Content",
4413
- "text": "<string, unknown>"
4021
+ "text": "Children",
4022
+ "canonicalReference": "@alloy-js/core!Children:type"
4414
4023
  },
4415
4024
  {
4416
4025
  "kind": "Content",
@@ -4420,93 +4029,10 @@
4420
4029
  "isReadonly": false,
4421
4030
  "isOptional": true,
4422
4031
  "releaseTag": "Public",
4423
- "name": "metadata",
4032
+ "name": "value",
4424
4033
  "propertyTypeTokenRange": {
4425
4034
  "startIndex": 1,
4426
- "endIndex": 3
4427
- }
4428
- },
4429
- {
4430
- "kind": "PropertySignature",
4431
- "canonicalReference": "@alloy-js/typescript!EnumMemberProps#name:member",
4432
- "docComment": "/**\n * The name of the member.\n *\n * If a naming policy is provided in context, the policy name \"enum-member\" is\n * used.\n */\n",
4433
- "excerptTokens": [
4434
- {
4435
- "kind": "Content",
4436
- "text": "name: "
4437
- },
4438
- {
4439
- "kind": "Content",
4440
- "text": "string"
4441
- },
4442
- {
4443
- "kind": "Content",
4444
- "text": ";"
4445
- }
4446
- ],
4447
- "isReadonly": false,
4448
- "isOptional": false,
4449
- "releaseTag": "Public",
4450
- "name": "name",
4451
- "propertyTypeTokenRange": {
4452
- "startIndex": 1,
4453
- "endIndex": 2
4454
- }
4455
- },
4456
- {
4457
- "kind": "PropertySignature",
4458
- "canonicalReference": "@alloy-js/typescript!EnumMemberProps#refkey:member",
4459
- "docComment": "/**\n * Refkey for the enum member symbol. If the refkey is not provided, a symbol\n * is not created and the member cannot be referenced by refkey.\n */\n",
4460
- "excerptTokens": [
4461
- {
4462
- "kind": "Content",
4463
- "text": "refkey?: "
4464
- },
4465
- {
4466
- "kind": "Reference",
4467
- "text": "Refkey",
4468
- "canonicalReference": "@alloy-js/core!Refkey:type"
4469
- },
4470
- {
4471
- "kind": "Content",
4472
- "text": ";"
4473
- }
4474
- ],
4475
- "isReadonly": false,
4476
- "isOptional": true,
4477
- "releaseTag": "Public",
4478
- "name": "refkey",
4479
- "propertyTypeTokenRange": {
4480
- "startIndex": 1,
4481
- "endIndex": 2
4482
- }
4483
- },
4484
- {
4485
- "kind": "PropertySignature",
4486
- "canonicalReference": "@alloy-js/typescript!EnumMemberProps#value:member",
4487
- "docComment": "/**\n * The value of the enum member.\n */\n",
4488
- "excerptTokens": [
4489
- {
4490
- "kind": "Content",
4491
- "text": "value?: "
4492
- },
4493
- {
4494
- "kind": "Reference",
4495
- "text": "Children",
4496
- "canonicalReference": "@alloy-js/core!Children:type"
4497
- },
4498
- {
4499
- "kind": "Content",
4500
- "text": ";"
4501
- }
4502
- ],
4503
- "isReadonly": false,
4504
- "isOptional": true,
4505
- "releaseTag": "Public",
4506
- "name": "value",
4507
- "propertyTypeTokenRange": {
4508
- "startIndex": 1,
4509
- "endIndex": 2
4035
+ "endIndex": 2
4510
4036
  }
4511
4037
  }
4512
4038
  ],
@@ -4688,7 +4214,7 @@
4688
4214
  {
4689
4215
  "kind": "Reference",
4690
4216
  "text": "TSModuleScope",
4691
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
4217
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class"
4692
4218
  },
4693
4219
  {
4694
4220
  "kind": "Content",
@@ -4978,7 +4504,7 @@
4978
4504
  },
4979
4505
  {
4980
4506
  "kind": "Content",
4981
- "text": "import(\"@alloy-js/core\")."
4507
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
4982
4508
  },
4983
4509
  {
4984
4510
  "kind": "Reference",
@@ -5014,7 +4540,7 @@
5014
4540
  },
5015
4541
  {
5016
4542
  "kind": "Content",
5017
- "text": "<import(\"@alloy-js/core\")."
4543
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
5018
4544
  },
5019
4545
  {
5020
4546
  "kind": "Reference",
@@ -5054,7 +4580,7 @@
5054
4580
  },
5055
4581
  {
5056
4582
  "kind": "Content",
5057
- "text": "import(\"@alloy-js/core\")."
4583
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
5058
4584
  },
5059
4585
  {
5060
4586
  "kind": "Reference",
@@ -5090,7 +4616,7 @@
5090
4616
  },
5091
4617
  {
5092
4618
  "kind": "Content",
5093
- "text": "<import(\"@alloy-js/core\")."
4619
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
5094
4620
  },
5095
4621
  {
5096
4622
  "kind": "Reference",
@@ -5130,7 +4656,7 @@
5130
4656
  },
5131
4657
  {
5132
4658
  "kind": "Content",
5133
- "text": "import(\"@alloy-js/core\")."
4659
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
5134
4660
  },
5135
4661
  {
5136
4662
  "kind": "Reference",
@@ -5166,7 +4692,7 @@
5166
4692
  },
5167
4693
  {
5168
4694
  "kind": "Content",
5169
- "text": "<import(\"@alloy-js/core\")."
4695
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
5170
4696
  },
5171
4697
  {
5172
4698
  "kind": "Reference",
@@ -5370,7 +4896,7 @@
5370
4896
  },
5371
4897
  {
5372
4898
  "kind": "Content",
5373
- "text": "import(\"@alloy-js/core\")."
4899
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
5374
4900
  },
5375
4901
  {
5376
4902
  "kind": "Reference",
@@ -5406,7 +4932,7 @@
5406
4932
  },
5407
4933
  {
5408
4934
  "kind": "Content",
5409
- "text": "<import(\"@alloy-js/core\")."
4935
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
5410
4936
  },
5411
4937
  {
5412
4938
  "kind": "Reference",
@@ -5446,7 +4972,7 @@
5446
4972
  },
5447
4973
  {
5448
4974
  "kind": "Content",
5449
- "text": "import(\"@alloy-js/core\")."
4975
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
5450
4976
  },
5451
4977
  {
5452
4978
  "kind": "Reference",
@@ -5482,7 +5008,7 @@
5482
5008
  },
5483
5009
  {
5484
5010
  "kind": "Content",
5485
- "text": "<import(\"@alloy-js/core\")."
5011
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
5486
5012
  },
5487
5013
  {
5488
5014
  "kind": "Reference",
@@ -5522,7 +5048,7 @@
5522
5048
  },
5523
5049
  {
5524
5050
  "kind": "Content",
5525
- "text": "import(\"@alloy-js/core\")."
5051
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
5526
5052
  },
5527
5053
  {
5528
5054
  "kind": "Reference",
@@ -5558,7 +5084,7 @@
5558
5084
  },
5559
5085
  {
5560
5086
  "kind": "Content",
5561
- "text": "<import(\"@alloy-js/core\")."
5087
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
5562
5088
  },
5563
5089
  {
5564
5090
  "kind": "Reference",
@@ -5783,7 +5309,7 @@
5783
5309
  },
5784
5310
  {
5785
5311
  "kind": "Content",
5786
- "text": ") & {\n TypeParameters: import(\"@alloy-js/core\")."
5312
+ "text": ") & {\n TypeParameters: import(\"@alloy-js/core/jsx-runtime\")."
5787
5313
  },
5788
5314
  {
5789
5315
  "kind": "Reference",
@@ -5819,7 +5345,7 @@
5819
5345
  },
5820
5346
  {
5821
5347
  "kind": "Content",
5822
- "text": "<import(\"@alloy-js/core\")."
5348
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
5823
5349
  },
5824
5350
  {
5825
5351
  "kind": "Reference",
@@ -5837,7 +5363,7 @@
5837
5363
  },
5838
5364
  {
5839
5365
  "kind": "Content",
5840
- "text": ">, \"tag\">>;\n Parameters: import(\"@alloy-js/core\")."
5366
+ "text": ">, \"tag\">>;\n Parameters: import(\"@alloy-js/core/jsx-runtime\")."
5841
5367
  },
5842
5368
  {
5843
5369
  "kind": "Reference",
@@ -5873,7 +5399,7 @@
5873
5399
  },
5874
5400
  {
5875
5401
  "kind": "Content",
5876
- "text": "<import(\"@alloy-js/core\")."
5402
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
5877
5403
  },
5878
5404
  {
5879
5405
  "kind": "Reference",
@@ -6275,7 +5801,7 @@
6275
5801
  {
6276
5802
  "kind": "Reference",
6277
5803
  "text": "TSOutputSymbol",
6278
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
5804
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
6279
5805
  },
6280
5806
  {
6281
5807
  "kind": "Content",
@@ -6303,7 +5829,7 @@
6303
5829
  {
6304
5830
  "kind": "Reference",
6305
5831
  "text": "TSOutputSymbol",
6306
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
5832
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
6307
5833
  },
6308
5834
  {
6309
5835
  "kind": "Content",
@@ -6343,7 +5869,7 @@
6343
5869
  {
6344
5870
  "kind": "Reference",
6345
5871
  "text": "TSModuleScope",
6346
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
5872
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class"
6347
5873
  },
6348
5874
  {
6349
5875
  "kind": "Content",
@@ -6532,7 +6058,7 @@
6532
6058
  },
6533
6059
  {
6534
6060
  "kind": "Content",
6535
- "text": "() => import(\"@alloy-js/core\")."
6061
+ "text": "() => import(\"@alloy-js/core/jsx-runtime\")."
6536
6062
  },
6537
6063
  {
6538
6064
  "kind": "Reference",
@@ -7204,7 +6730,7 @@
7204
6730
  },
7205
6731
  {
7206
6732
  "kind": "Content",
7207
- "text": "import(\"@alloy-js/core\")."
6733
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
7208
6734
  },
7209
6735
  {
7210
6736
  "kind": "Reference",
@@ -7240,7 +6766,7 @@
7240
6766
  },
7241
6767
  {
7242
6768
  "kind": "Content",
7243
- "text": "<import(\"@alloy-js/core\")."
6769
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
7244
6770
  },
7245
6771
  {
7246
6772
  "kind": "Reference",
@@ -7280,7 +6806,7 @@
7280
6806
  },
7281
6807
  {
7282
6808
  "kind": "Content",
7283
- "text": "import(\"@alloy-js/core\")."
6809
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
7284
6810
  },
7285
6811
  {
7286
6812
  "kind": "Reference",
@@ -7316,7 +6842,7 @@
7316
6842
  },
7317
6843
  {
7318
6844
  "kind": "Content",
7319
- "text": "<import(\"@alloy-js/core\")."
6845
+ "text": "<import(\"@alloy-js/core/jsx-runtime\")."
7320
6846
  },
7321
6847
  {
7322
6848
  "kind": "Reference",
@@ -8054,7 +7580,7 @@
8054
7580
  },
8055
7581
  {
8056
7582
  "kind": "Content",
8057
- "text": "string"
7583
+ "text": "string | number"
8058
7584
  },
8059
7585
  {
8060
7586
  "kind": "Content",
@@ -8070,6 +7596,33 @@
8070
7596
  "endIndex": 2
8071
7597
  }
8072
7598
  },
7599
+ {
7600
+ "kind": "PropertySignature",
7601
+ "canonicalReference": "@alloy-js/typescript!MemberExpressionPartProps#index:member",
7602
+ "docComment": "/**\n * The index for this part of the member expression. This is used when\n * the part is an array access (i.e. `foo[0]`).\n */\n",
7603
+ "excerptTokens": [
7604
+ {
7605
+ "kind": "Content",
7606
+ "text": "index?: "
7607
+ },
7608
+ {
7609
+ "kind": "Content",
7610
+ "text": "number"
7611
+ },
7612
+ {
7613
+ "kind": "Content",
7614
+ "text": ";"
7615
+ }
7616
+ ],
7617
+ "isReadonly": false,
7618
+ "isOptional": true,
7619
+ "releaseTag": "Public",
7620
+ "name": "index",
7621
+ "propertyTypeTokenRange": {
7622
+ "startIndex": 1,
7623
+ "endIndex": 2
7624
+ }
7625
+ },
8073
7626
  {
8074
7627
  "kind": "PropertySignature",
8075
7628
  "canonicalReference": "@alloy-js/typescript!MemberExpressionPartProps#nullish:member",
@@ -8164,7 +7717,7 @@
8164
7717
  {
8165
7718
  "kind": "Reference",
8166
7719
  "text": "OutputSymbol",
8167
- "canonicalReference": "@alloy-js/core!OutputSymbol:interface"
7720
+ "canonicalReference": "@alloy-js/core!OutputSymbol:class"
8168
7721
  },
8169
7722
  {
8170
7723
  "kind": "Content",
@@ -8229,10 +7782,93 @@
8229
7782
  ],
8230
7783
  "extendsTokenRanges": []
8231
7784
  },
7785
+ {
7786
+ "kind": "TypeAlias",
7787
+ "canonicalReference": "@alloy-js/typescript!ModuleExports:type",
7788
+ "docComment": "/**\n * Infers the exported members of a module based on its descriptor.\n *\n * D - The module descriptor, which may specify a `default` export (as a string)\n * and/or an array of named exports (`named`).\n *\n * If `D` includes a `default` property of type `string`, the resulting type will include a\n * `default` property of type `Refkey`. If `D` includes a `named` property (an array of\n * `NamedModuleDescriptor`), the resulting type will include the mapped named exports as\n * defined by `NamedMap`.\n */\n",
7789
+ "excerptTokens": [
7790
+ {
7791
+ "kind": "Content",
7792
+ "text": "export type ModuleExports<D extends "
7793
+ },
7794
+ {
7795
+ "kind": "Content",
7796
+ "text": "{\n default?: string;\n named?: "
7797
+ },
7798
+ {
7799
+ "kind": "Reference",
7800
+ "text": "NamedModuleDescriptor",
7801
+ "canonicalReference": "@alloy-js/typescript!NamedModuleDescriptor:type"
7802
+ },
7803
+ {
7804
+ "kind": "Content",
7805
+ "text": "[];\n}"
7806
+ },
7807
+ {
7808
+ "kind": "Content",
7809
+ "text": "> = "
7810
+ },
7811
+ {
7812
+ "kind": "Content",
7813
+ "text": "(D extends {\n default: string;\n} ? {\n default: "
7814
+ },
7815
+ {
7816
+ "kind": "Reference",
7817
+ "text": "Refkey",
7818
+ "canonicalReference": "@alloy-js/core!Refkey:type"
7819
+ },
7820
+ {
7821
+ "kind": "Content",
7822
+ "text": ";\n} : {}) & (D[\"named\"] extends "
7823
+ },
7824
+ {
7825
+ "kind": "Reference",
7826
+ "text": "NamedModuleDescriptor",
7827
+ "canonicalReference": "@alloy-js/typescript!NamedModuleDescriptor:type"
7828
+ },
7829
+ {
7830
+ "kind": "Content",
7831
+ "text": "[] ? "
7832
+ },
7833
+ {
7834
+ "kind": "Reference",
7835
+ "text": "NamedMap",
7836
+ "canonicalReference": "@alloy-js/typescript!NamedMap:type"
7837
+ },
7838
+ {
7839
+ "kind": "Content",
7840
+ "text": "<D[\"named\"]> : {})"
7841
+ },
7842
+ {
7843
+ "kind": "Content",
7844
+ "text": ";"
7845
+ }
7846
+ ],
7847
+ "fileUrlPath": "src/create-package.ts",
7848
+ "releaseTag": "Public",
7849
+ "name": "ModuleExports",
7850
+ "typeParameters": [
7851
+ {
7852
+ "typeParameterName": "D",
7853
+ "constraintTokenRange": {
7854
+ "startIndex": 1,
7855
+ "endIndex": 4
7856
+ },
7857
+ "defaultTypeTokenRange": {
7858
+ "startIndex": 0,
7859
+ "endIndex": 0
7860
+ }
7861
+ }
7862
+ ],
7863
+ "typeTokenRange": {
7864
+ "startIndex": 5,
7865
+ "endIndex": 12
7866
+ }
7867
+ },
8232
7868
  {
8233
7869
  "kind": "Interface",
8234
7870
  "canonicalReference": "@alloy-js/typescript!ModuleSymbolsDescriptor:interface",
8235
- "docComment": "",
7871
+ "docComment": "/**\n * Describes the symbols exported by a module.\n */\n",
8236
7872
  "excerptTokens": [
8237
7873
  {
8238
7874
  "kind": "Content",
@@ -8280,9 +7916,14 @@
8280
7916
  "kind": "Content",
8281
7917
  "text": "named?: "
8282
7918
  },
7919
+ {
7920
+ "kind": "Reference",
7921
+ "text": "NamedModuleDescriptor",
7922
+ "canonicalReference": "@alloy-js/typescript!NamedModuleDescriptor:type"
7923
+ },
8283
7924
  {
8284
7925
  "kind": "Content",
8285
- "text": "readonly string[]"
7926
+ "text": "[]"
8286
7927
  },
8287
7928
  {
8288
7929
  "kind": "Content",
@@ -8295,331 +7936,306 @@
8295
7936
  "name": "named",
8296
7937
  "propertyTypeTokenRange": {
8297
7938
  "startIndex": 1,
8298
- "endIndex": 2
7939
+ "endIndex": 3
8299
7940
  }
8300
7941
  }
8301
7942
  ],
8302
7943
  "extendsTokenRanges": []
8303
7944
  },
8304
7945
  {
8305
- "kind": "Namespace",
8306
- "canonicalReference": "@alloy-js/typescript!node:namespace",
7946
+ "kind": "TypeAlias",
7947
+ "canonicalReference": "@alloy-js/typescript!NamedMap:type",
8307
7948
  "docComment": "",
8308
- "excerptTokens": [],
8309
- "fileUrlPath": "src/builtins/index.ts",
8310
- "releaseTag": "None",
8311
- "name": "node",
8312
- "preserveMemberOrder": false,
8313
- "members": [
7949
+ "excerptTokens": [
8314
7950
  {
8315
- "kind": "Variable",
8316
- "canonicalReference": "@alloy-js/typescript!node.fs:var",
8317
- "docComment": "",
8318
- "excerptTokens": [
8319
- {
8320
- "kind": "Content",
8321
- "text": "fs: "
8322
- },
8323
- {
8324
- "kind": "Content",
8325
- "text": "{\n readonly \"./promises\": {\n link: import(\"@alloy-js/core\")."
8326
- },
8327
- {
8328
- "kind": "Reference",
8329
- "text": "Refkey",
8330
- "canonicalReference": "@alloy-js/core!Refkey:type"
8331
- },
8332
- {
8333
- "kind": "Content",
8334
- "text": ";\n access: import(\"@alloy-js/core\")."
8335
- },
8336
- {
8337
- "kind": "Reference",
8338
- "text": "Refkey",
8339
- "canonicalReference": "@alloy-js/core!Refkey:type"
8340
- },
8341
- {
8342
- "kind": "Content",
8343
- "text": ";\n appendFile: import(\"@alloy-js/core\")."
8344
- },
8345
- {
8346
- "kind": "Reference",
8347
- "text": "Refkey",
8348
- "canonicalReference": "@alloy-js/core!Refkey:type"
8349
- },
8350
- {
8351
- "kind": "Content",
8352
- "text": ";\n chmod: import(\"@alloy-js/core\")."
8353
- },
8354
- {
8355
- "kind": "Reference",
8356
- "text": "Refkey",
8357
- "canonicalReference": "@alloy-js/core!Refkey:type"
8358
- },
8359
- {
8360
- "kind": "Content",
8361
- "text": ";\n chown: import(\"@alloy-js/core\")."
8362
- },
8363
- {
8364
- "kind": "Reference",
8365
- "text": "Refkey",
8366
- "canonicalReference": "@alloy-js/core!Refkey:type"
8367
- },
8368
- {
8369
- "kind": "Content",
8370
- "text": ";\n copyFile: import(\"@alloy-js/core\")."
8371
- },
8372
- {
8373
- "kind": "Reference",
8374
- "text": "Refkey",
8375
- "canonicalReference": "@alloy-js/core!Refkey:type"
8376
- },
8377
- {
8378
- "kind": "Content",
8379
- "text": ";\n cp: import(\"@alloy-js/core\")."
8380
- },
8381
- {
8382
- "kind": "Reference",
8383
- "text": "Refkey",
8384
- "canonicalReference": "@alloy-js/core!Refkey:type"
8385
- },
8386
- {
8387
- "kind": "Content",
8388
- "text": ";\n glob: import(\"@alloy-js/core\")."
8389
- },
8390
- {
8391
- "kind": "Reference",
8392
- "text": "Refkey",
8393
- "canonicalReference": "@alloy-js/core!Refkey:type"
8394
- },
8395
- {
8396
- "kind": "Content",
8397
- "text": ";\n lchmod: import(\"@alloy-js/core\")."
8398
- },
8399
- {
8400
- "kind": "Reference",
8401
- "text": "Refkey",
8402
- "canonicalReference": "@alloy-js/core!Refkey:type"
8403
- },
8404
- {
8405
- "kind": "Content",
8406
- "text": ";\n lchown: import(\"@alloy-js/core\")."
8407
- },
8408
- {
8409
- "kind": "Reference",
8410
- "text": "Refkey",
8411
- "canonicalReference": "@alloy-js/core!Refkey:type"
8412
- },
8413
- {
8414
- "kind": "Content",
8415
- "text": ";\n lutimes: import(\"@alloy-js/core\")."
8416
- },
8417
- {
8418
- "kind": "Reference",
8419
- "text": "Refkey",
8420
- "canonicalReference": "@alloy-js/core!Refkey:type"
8421
- },
8422
- {
8423
- "kind": "Content",
8424
- "text": ";\n lstat: import(\"@alloy-js/core\")."
8425
- },
8426
- {
8427
- "kind": "Reference",
8428
- "text": "Refkey",
8429
- "canonicalReference": "@alloy-js/core!Refkey:type"
8430
- },
8431
- {
8432
- "kind": "Content",
8433
- "text": ";\n mkdir: import(\"@alloy-js/core\")."
8434
- },
8435
- {
8436
- "kind": "Reference",
8437
- "text": "Refkey",
8438
- "canonicalReference": "@alloy-js/core!Refkey:type"
8439
- },
8440
- {
8441
- "kind": "Content",
8442
- "text": ";\n mkdtemp: import(\"@alloy-js/core\")."
8443
- },
8444
- {
8445
- "kind": "Reference",
8446
- "text": "Refkey",
8447
- "canonicalReference": "@alloy-js/core!Refkey:type"
8448
- },
8449
- {
8450
- "kind": "Content",
8451
- "text": ";\n open: import(\"@alloy-js/core\")."
8452
- },
8453
- {
8454
- "kind": "Reference",
8455
- "text": "Refkey",
8456
- "canonicalReference": "@alloy-js/core!Refkey:type"
8457
- },
8458
- {
8459
- "kind": "Content",
8460
- "text": ";\n opendir: import(\"@alloy-js/core\")."
8461
- },
8462
- {
8463
- "kind": "Reference",
8464
- "text": "Refkey",
8465
- "canonicalReference": "@alloy-js/core!Refkey:type"
8466
- },
8467
- {
8468
- "kind": "Content",
8469
- "text": ";\n readdir: import(\"@alloy-js/core\")."
8470
- },
8471
- {
8472
- "kind": "Reference",
8473
- "text": "Refkey",
8474
- "canonicalReference": "@alloy-js/core!Refkey:type"
8475
- },
8476
- {
8477
- "kind": "Content",
8478
- "text": ";\n readFile: import(\"@alloy-js/core\")."
8479
- },
8480
- {
8481
- "kind": "Reference",
8482
- "text": "Refkey",
8483
- "canonicalReference": "@alloy-js/core!Refkey:type"
8484
- },
8485
- {
8486
- "kind": "Content",
8487
- "text": ";\n realpath: import(\"@alloy-js/core\")."
8488
- },
8489
- {
8490
- "kind": "Reference",
8491
- "text": "Refkey",
8492
- "canonicalReference": "@alloy-js/core!Refkey:type"
8493
- },
8494
- {
8495
- "kind": "Content",
8496
- "text": ";\n rename: import(\"@alloy-js/core\")."
8497
- },
8498
- {
8499
- "kind": "Reference",
8500
- "text": "Refkey",
8501
- "canonicalReference": "@alloy-js/core!Refkey:type"
8502
- },
8503
- {
8504
- "kind": "Content",
8505
- "text": ";\n rmdir: import(\"@alloy-js/core\")."
8506
- },
8507
- {
8508
- "kind": "Reference",
8509
- "text": "Refkey",
8510
- "canonicalReference": "@alloy-js/core!Refkey:type"
8511
- },
8512
- {
8513
- "kind": "Content",
8514
- "text": ";\n rm: import(\"@alloy-js/core\")."
8515
- },
8516
- {
8517
- "kind": "Reference",
8518
- "text": "Refkey",
8519
- "canonicalReference": "@alloy-js/core!Refkey:type"
8520
- },
8521
- {
8522
- "kind": "Content",
8523
- "text": ";\n stat: import(\"@alloy-js/core\")."
8524
- },
8525
- {
8526
- "kind": "Reference",
8527
- "text": "Refkey",
8528
- "canonicalReference": "@alloy-js/core!Refkey:type"
8529
- },
8530
- {
8531
- "kind": "Content",
8532
- "text": ";\n statfs: import(\"@alloy-js/core\")."
8533
- },
8534
- {
8535
- "kind": "Reference",
8536
- "text": "Refkey",
8537
- "canonicalReference": "@alloy-js/core!Refkey:type"
8538
- },
8539
- {
8540
- "kind": "Content",
8541
- "text": ";\n symlink: import(\"@alloy-js/core\")."
8542
- },
8543
- {
8544
- "kind": "Reference",
8545
- "text": "Refkey",
8546
- "canonicalReference": "@alloy-js/core!Refkey:type"
8547
- },
8548
- {
8549
- "kind": "Content",
8550
- "text": ";\n truncate: import(\"@alloy-js/core\")."
8551
- },
8552
- {
8553
- "kind": "Reference",
8554
- "text": "Refkey",
8555
- "canonicalReference": "@alloy-js/core!Refkey:type"
8556
- },
8557
- {
8558
- "kind": "Content",
8559
- "text": ";\n unlink: import(\"@alloy-js/core\")."
8560
- },
8561
- {
8562
- "kind": "Reference",
8563
- "text": "Refkey",
8564
- "canonicalReference": "@alloy-js/core!Refkey:type"
8565
- },
8566
- {
8567
- "kind": "Content",
8568
- "text": ";\n utimes: import(\"@alloy-js/core\")."
8569
- },
8570
- {
8571
- "kind": "Reference",
8572
- "text": "Refkey",
8573
- "canonicalReference": "@alloy-js/core!Refkey:type"
8574
- },
8575
- {
8576
- "kind": "Content",
8577
- "text": ";\n watch: import(\"@alloy-js/core\")."
8578
- },
8579
- {
8580
- "kind": "Reference",
8581
- "text": "Refkey",
8582
- "canonicalReference": "@alloy-js/core!Refkey:type"
8583
- },
8584
- {
8585
- "kind": "Content",
8586
- "text": ";\n writeFile: import(\"@alloy-js/core\")."
8587
- },
8588
- {
8589
- "kind": "Reference",
8590
- "text": "Refkey",
8591
- "canonicalReference": "@alloy-js/core!Refkey:type"
8592
- },
8593
- {
8594
- "kind": "Content",
8595
- "text": ";\n readLink: import(\"@alloy-js/core\")."
8596
- },
8597
- {
8598
- "kind": "Reference",
8599
- "text": "Refkey",
8600
- "canonicalReference": "@alloy-js/core!Refkey:type"
8601
- },
8602
- {
8603
- "kind": "Content",
8604
- "text": ";\n constants: import(\"@alloy-js/core\")."
8605
- },
8606
- {
8607
- "kind": "Reference",
8608
- "text": "Refkey",
8609
- "canonicalReference": "@alloy-js/core!Refkey:type"
8610
- },
7951
+ "kind": "Content",
7952
+ "text": "export type NamedMap<TDescriptor extends "
7953
+ },
7954
+ {
7955
+ "kind": "Content",
7956
+ "text": "readonly "
7957
+ },
7958
+ {
7959
+ "kind": "Reference",
7960
+ "text": "NamedModuleDescriptor",
7961
+ "canonicalReference": "@alloy-js/typescript!NamedModuleDescriptor:type"
7962
+ },
7963
+ {
7964
+ "kind": "Content",
7965
+ "text": "[]"
7966
+ },
7967
+ {
7968
+ "kind": "Content",
7969
+ "text": "> = "
7970
+ },
7971
+ {
7972
+ "kind": "Content",
7973
+ "text": "{\n [S in "
7974
+ },
7975
+ {
7976
+ "kind": "Reference",
7977
+ "text": "Extract",
7978
+ "canonicalReference": "!Extract:type"
7979
+ },
7980
+ {
7981
+ "kind": "Content",
7982
+ "text": "<TDescriptor[number], string>]: "
7983
+ },
7984
+ {
7985
+ "kind": "Reference",
7986
+ "text": "Refkey",
7987
+ "canonicalReference": "@alloy-js/core!Refkey:type"
7988
+ },
7989
+ {
7990
+ "kind": "Content",
7991
+ "text": ";\n} & {\n [O in "
7992
+ },
7993
+ {
7994
+ "kind": "Reference",
7995
+ "text": "Extract",
7996
+ "canonicalReference": "!Extract:type"
7997
+ },
7998
+ {
7999
+ "kind": "Content",
8000
+ "text": "<TDescriptor[number], {\n name: string;\n }> as O[\"name\"]]: "
8001
+ },
8002
+ {
8003
+ "kind": "Reference",
8004
+ "text": "Refkey",
8005
+ "canonicalReference": "@alloy-js/core!Refkey:type"
8006
+ },
8007
+ {
8008
+ "kind": "Content",
8009
+ "text": " & {\n static: O extends ({\n staticMembers: infer SM extends "
8010
+ },
8011
+ {
8012
+ "kind": "Reference",
8013
+ "text": "NamedModuleDescriptor",
8014
+ "canonicalReference": "@alloy-js/typescript!NamedModuleDescriptor:type"
8015
+ },
8016
+ {
8017
+ "kind": "Content",
8018
+ "text": "[];\n }) ? "
8019
+ },
8020
+ {
8021
+ "kind": "Reference",
8022
+ "text": "NamedMap",
8023
+ "canonicalReference": "@alloy-js/typescript!NamedMap:type"
8024
+ },
8025
+ {
8026
+ "kind": "Content",
8027
+ "text": "<SM> : {};\n instance: O extends ({\n instanceMembers: infer IM extends "
8028
+ },
8029
+ {
8030
+ "kind": "Reference",
8031
+ "text": "NamedModuleDescriptor",
8032
+ "canonicalReference": "@alloy-js/typescript!NamedModuleDescriptor:type"
8033
+ },
8034
+ {
8035
+ "kind": "Content",
8036
+ "text": "[];\n }) ? "
8037
+ },
8038
+ {
8039
+ "kind": "Reference",
8040
+ "text": "NamedMap",
8041
+ "canonicalReference": "@alloy-js/typescript!NamedMap:type"
8042
+ },
8043
+ {
8044
+ "kind": "Content",
8045
+ "text": "<IM> : {};\n };\n}"
8046
+ },
8047
+ {
8048
+ "kind": "Content",
8049
+ "text": ";"
8050
+ }
8051
+ ],
8052
+ "fileUrlPath": "src/create-package.ts",
8053
+ "releaseTag": "Public",
8054
+ "name": "NamedMap",
8055
+ "typeParameters": [
8056
+ {
8057
+ "typeParameterName": "TDescriptor",
8058
+ "constraintTokenRange": {
8059
+ "startIndex": 1,
8060
+ "endIndex": 4
8061
+ },
8062
+ "defaultTypeTokenRange": {
8063
+ "startIndex": 0,
8064
+ "endIndex": 0
8065
+ }
8066
+ }
8067
+ ],
8068
+ "typeTokenRange": {
8069
+ "startIndex": 5,
8070
+ "endIndex": 22
8071
+ }
8072
+ },
8073
+ {
8074
+ "kind": "TypeAlias",
8075
+ "canonicalReference": "@alloy-js/typescript!NamedModuleDescriptor:type",
8076
+ "docComment": "/**\n * Describes the structure of a module descriptor.\n *\n * A module descriptor can either be a string (representing the module name)\n * or an object with the following properties:\n * - `name`: The name of the module.\n * - `staticMembers`: An optional array of named module descriptors representing\n * static members of the module.\n * - `instanceMembers`: An optional array of named module descriptors representing\n * instance members of the module.\n */\n",
8077
+ "excerptTokens": [
8078
+ {
8079
+ "kind": "Content",
8080
+ "text": "export type NamedModuleDescriptor = "
8081
+ },
8082
+ {
8083
+ "kind": "Content",
8084
+ "text": "string | {\n name: string;\n staticMembers?: "
8085
+ },
8086
+ {
8087
+ "kind": "Reference",
8088
+ "text": "Array",
8089
+ "canonicalReference": "!Array:interface"
8090
+ },
8091
+ {
8092
+ "kind": "Content",
8093
+ "text": "<"
8094
+ },
8095
+ {
8096
+ "kind": "Reference",
8097
+ "text": "NamedModuleDescriptor",
8098
+ "canonicalReference": "@alloy-js/typescript!NamedModuleDescriptor:type"
8099
+ },
8100
+ {
8101
+ "kind": "Content",
8102
+ "text": ">;\n instanceMembers?: "
8103
+ },
8104
+ {
8105
+ "kind": "Reference",
8106
+ "text": "Array",
8107
+ "canonicalReference": "!Array:interface"
8108
+ },
8109
+ {
8110
+ "kind": "Content",
8111
+ "text": "<"
8112
+ },
8113
+ {
8114
+ "kind": "Reference",
8115
+ "text": "NamedModuleDescriptor",
8116
+ "canonicalReference": "@alloy-js/typescript!NamedModuleDescriptor:type"
8117
+ },
8118
+ {
8119
+ "kind": "Content",
8120
+ "text": ">;\n}"
8121
+ },
8122
+ {
8123
+ "kind": "Content",
8124
+ "text": ";"
8125
+ }
8126
+ ],
8127
+ "fileUrlPath": "src/create-package.ts",
8128
+ "releaseTag": "Public",
8129
+ "name": "NamedModuleDescriptor",
8130
+ "typeTokenRange": {
8131
+ "startIndex": 1,
8132
+ "endIndex": 10
8133
+ }
8134
+ },
8135
+ {
8136
+ "kind": "Function",
8137
+ "canonicalReference": "@alloy-js/typescript!NewExpression:function(1)",
8138
+ "docComment": "",
8139
+ "excerptTokens": [
8140
+ {
8141
+ "kind": "Content",
8142
+ "text": "export declare function NewExpression(props: "
8143
+ },
8144
+ {
8145
+ "kind": "Reference",
8146
+ "text": "NewExpressionProps",
8147
+ "canonicalReference": "@alloy-js/typescript!NewExpressionProps:interface"
8148
+ },
8149
+ {
8150
+ "kind": "Content",
8151
+ "text": "): "
8152
+ },
8153
+ {
8154
+ "kind": "Content",
8155
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
8156
+ },
8157
+ {
8158
+ "kind": "Reference",
8159
+ "text": "Children",
8160
+ "canonicalReference": "@alloy-js/core!Children:type"
8161
+ },
8162
+ {
8163
+ "kind": "Content",
8164
+ "text": ";"
8165
+ }
8166
+ ],
8167
+ "fileUrlPath": "src/components/NewExpression.tsx",
8168
+ "returnTypeTokenRange": {
8169
+ "startIndex": 3,
8170
+ "endIndex": 5
8171
+ },
8172
+ "releaseTag": "Public",
8173
+ "overloadIndex": 1,
8174
+ "parameters": [
8175
+ {
8176
+ "parameterName": "props",
8177
+ "parameterTypeTokenRange": {
8178
+ "startIndex": 1,
8179
+ "endIndex": 2
8180
+ },
8181
+ "isOptional": false
8182
+ }
8183
+ ],
8184
+ "name": "NewExpression"
8185
+ },
8186
+ {
8187
+ "kind": "Interface",
8188
+ "canonicalReference": "@alloy-js/typescript!NewExpressionProps:interface",
8189
+ "docComment": "",
8190
+ "excerptTokens": [
8191
+ {
8192
+ "kind": "Content",
8193
+ "text": "export interface NewExpressionProps extends "
8194
+ },
8195
+ {
8196
+ "kind": "Reference",
8197
+ "text": "FunctionCallExpressionProps",
8198
+ "canonicalReference": "@alloy-js/typescript!FunctionCallExpressionProps:interface"
8199
+ },
8200
+ {
8201
+ "kind": "Content",
8202
+ "text": " "
8203
+ }
8204
+ ],
8205
+ "fileUrlPath": "src/components/NewExpression.tsx",
8206
+ "releaseTag": "Public",
8207
+ "name": "NewExpressionProps",
8208
+ "preserveMemberOrder": false,
8209
+ "members": [],
8210
+ "extendsTokenRanges": [
8211
+ {
8212
+ "startIndex": 1,
8213
+ "endIndex": 2
8214
+ }
8215
+ ]
8216
+ },
8217
+ {
8218
+ "kind": "Namespace",
8219
+ "canonicalReference": "@alloy-js/typescript!node:namespace",
8220
+ "docComment": "",
8221
+ "excerptTokens": [],
8222
+ "fileUrlPath": "src/builtins/index.ts",
8223
+ "releaseTag": "None",
8224
+ "name": "node",
8225
+ "preserveMemberOrder": false,
8226
+ "members": [
8227
+ {
8228
+ "kind": "Variable",
8229
+ "canonicalReference": "@alloy-js/typescript!node.fs:var",
8230
+ "docComment": "",
8231
+ "excerptTokens": [
8611
8232
  {
8612
8233
  "kind": "Content",
8613
- "text": ";\n } & {\n default: import(\"@alloy-js/core\")."
8614
- },
8615
- {
8616
- "kind": "Reference",
8617
- "text": "Refkey",
8618
- "canonicalReference": "@alloy-js/core!Refkey:type"
8234
+ "text": "fs: "
8619
8235
  },
8620
8236
  {
8621
8237
  "kind": "Content",
8622
- "text": ";\n };\n} & {\n default: import(\"@alloy-js/core\")."
8238
+ "text": "{\n default: import(\"@alloy-js/core\")."
8623
8239
  },
8624
8240
  {
8625
8241
  "kind": "Reference",
@@ -9456,7 +9072,16 @@
9456
9072
  },
9457
9073
  {
9458
9074
  "kind": "Content",
9459
- "text": ";\n} & import(\"@alloy-js/core\")."
9075
+ "text": ";\n} & {} & {\n readonly \"./promises\": import(\"../create-package.js\")."
9076
+ },
9077
+ {
9078
+ "kind": "Reference",
9079
+ "text": "ModuleExports",
9080
+ "canonicalReference": "@alloy-js/typescript!ModuleExports:type"
9081
+ },
9082
+ {
9083
+ "kind": "Content",
9084
+ "text": "<{\n readonly default: \"fs\";\n readonly named: [\"access\", \"appendFile\", \"chmod\", \"chown\", \"copyFile\", \"cp\", \"glob\", \"lchmod\", \"lchown\", \"lutimes\", \"link\", \"lstat\", \"mkdir\", \"mkdtemp\", \"open\", \"opendir\", \"readdir\", \"readFile\", \"readLink\", \"realpath\", \"rename\", \"rmdir\", \"rm\", \"stat\", \"statfs\", \"symlink\", \"truncate\", \"unlink\", \"utimes\", \"watch\", \"writeFile\", \"constants\"];\n }>;\n} & import(\"@alloy-js/core\")."
9460
9085
  },
9461
9086
  {
9462
9087
  "kind": "Reference",
@@ -9470,7 +9095,7 @@
9470
9095
  "name": "fs",
9471
9096
  "variableTypeTokenRange": {
9472
9097
  "startIndex": 1,
9473
- "endIndex": 255
9098
+ "endIndex": 191
9474
9099
  }
9475
9100
  },
9476
9101
  {
@@ -9484,7 +9109,7 @@
9484
9109
  },
9485
9110
  {
9486
9111
  "kind": "Content",
9487
- "text": "{} & {\n default: import(\"@alloy-js/core\")."
9112
+ "text": "{\n default: import(\"@alloy-js/core\")."
9488
9113
  },
9489
9114
  {
9490
9115
  "kind": "Reference",
@@ -9637,7 +9262,7 @@
9637
9262
  },
9638
9263
  {
9639
9264
  "kind": "Content",
9640
- "text": ";\n} & import(\"@alloy-js/core\")."
9265
+ "text": ";\n} & {} & {} & import(\"@alloy-js/core\")."
9641
9266
  },
9642
9267
  {
9643
9268
  "kind": "Reference",
@@ -9665,7 +9290,7 @@
9665
9290
  },
9666
9291
  {
9667
9292
  "kind": "Content",
9668
- "text": "{} & {\n default: import(\"@alloy-js/core\")."
9293
+ "text": "{\n default: import(\"@alloy-js/core\")."
9669
9294
  },
9670
9295
  {
9671
9296
  "kind": "Reference",
@@ -9899,7 +9524,7 @@
9899
9524
  },
9900
9525
  {
9901
9526
  "kind": "Content",
9902
- "text": ";\n} & import(\"@alloy-js/core\")."
9527
+ "text": ";\n} & {} & {} & import(\"@alloy-js/core\")."
9903
9528
  },
9904
9529
  {
9905
9530
  "kind": "Reference",
@@ -10507,7 +10132,7 @@
10507
10132
  {
10508
10133
  "kind": "Reference",
10509
10134
  "text": "TSPackageScope",
10510
- "canonicalReference": "@alloy-js/typescript!TSPackageScope:interface"
10135
+ "canonicalReference": "@alloy-js/typescript!TSPackageScope:class"
10511
10136
  },
10512
10137
  {
10513
10138
  "kind": "Content",
@@ -10870,7 +10495,7 @@
10870
10495
  },
10871
10496
  {
10872
10497
  "kind": "Content",
10873
- "text": "import(\"@alloy-js/core\")."
10498
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
10874
10499
  },
10875
10500
  {
10876
10501
  "kind": "Reference",
@@ -11302,56 +10927,47 @@
11302
10927
  "excerptTokens": [
11303
10928
  {
11304
10929
  "kind": "Content",
11305
- "text": "export type PackageRefkeys<T extends "
10930
+ "text": "export type PackageRefkeys<PD extends "
11306
10931
  },
11307
10932
  {
11308
10933
  "kind": "Reference",
11309
- "text": "PackageDescriptor",
11310
- "canonicalReference": "@alloy-js/typescript!PackageDescriptor:interface"
11311
- },
11312
- {
11313
- "kind": "Content",
11314
- "text": "> = "
10934
+ "text": "Record",
10935
+ "canonicalReference": "!Record:type"
11315
10936
  },
11316
10937
  {
11317
10938
  "kind": "Content",
11318
- "text": "{\n [K in keyof T as K extends \".\" ? never : K]: {\n [N in T[K][\"named\"] extends readonly string[] ? T[K][\"named\"][number] : never]: "
10939
+ "text": "<string, {\n default?: string;\n named?: "
11319
10940
  },
11320
10941
  {
11321
10942
  "kind": "Reference",
11322
- "text": "Refkey",
11323
- "canonicalReference": "@alloy-js/core!Refkey:type"
10943
+ "text": "NamedModuleDescriptor",
10944
+ "canonicalReference": "@alloy-js/typescript!NamedModuleDescriptor:type"
11324
10945
  },
11325
10946
  {
11326
10947
  "kind": "Content",
11327
- "text": ";\n } & (T[K] extends {\n default: string;\n } ? {\n default: "
11328
- },
11329
- {
11330
- "kind": "Reference",
11331
- "text": "Refkey",
11332
- "canonicalReference": "@alloy-js/core!Refkey:type"
10948
+ "text": "[];\n}>"
11333
10949
  },
11334
10950
  {
11335
10951
  "kind": "Content",
11336
- "text": ";\n } : {});\n} & (T[\".\"] extends {\n default: string;\n} ? {\n default: "
10952
+ "text": "> = "
11337
10953
  },
11338
10954
  {
11339
10955
  "kind": "Reference",
11340
- "text": "Refkey",
11341
- "canonicalReference": "@alloy-js/core!Refkey:type"
10956
+ "text": "ModuleExports",
10957
+ "canonicalReference": "@alloy-js/typescript!ModuleExports:type"
11342
10958
  },
11343
10959
  {
11344
10960
  "kind": "Content",
11345
- "text": ";\n} : {}) & (T[\".\"] extends {\n named: readonly string[];\n} ? {\n [N in T[\".\"][\"named\"][number]]: "
10961
+ "text": "<PD[\".\"]> & {\n [P in keyof PD as P extends \".\" ? never : P]: "
11346
10962
  },
11347
10963
  {
11348
10964
  "kind": "Reference",
11349
- "text": "Refkey",
11350
- "canonicalReference": "@alloy-js/core!Refkey:type"
10965
+ "text": "ModuleExports",
10966
+ "canonicalReference": "@alloy-js/typescript!ModuleExports:type"
11351
10967
  },
11352
10968
  {
11353
10969
  "kind": "Content",
11354
- "text": ";\n} : {})"
10970
+ "text": "<PD[P]>;\n}"
11355
10971
  },
11356
10972
  {
11357
10973
  "kind": "Content",
@@ -11363,10 +10979,10 @@
11363
10979
  "name": "PackageRefkeys",
11364
10980
  "typeParameters": [
11365
10981
  {
11366
- "typeParameterName": "T",
10982
+ "typeParameterName": "PD",
11367
10983
  "constraintTokenRange": {
11368
10984
  "startIndex": 1,
11369
- "endIndex": 2
10985
+ "endIndex": 5
11370
10986
  },
11371
10987
  "defaultTypeTokenRange": {
11372
10988
  "startIndex": 0,
@@ -11375,8 +10991,8 @@
11375
10991
  }
11376
10992
  ],
11377
10993
  "typeTokenRange": {
11378
- "startIndex": 3,
11379
- "endIndex": 12
10994
+ "startIndex": 6,
10995
+ "endIndex": 10
11380
10996
  }
11381
10997
  },
11382
10998
  {
@@ -11721,7 +11337,7 @@
11721
11337
  {
11722
11338
  "kind": "Reference",
11723
11339
  "text": "TSMemberScope",
11724
- "canonicalReference": "@alloy-js/typescript!TSMemberScope:interface"
11340
+ "canonicalReference": "@alloy-js/typescript!TSMemberScope:class"
11725
11341
  },
11726
11342
  {
11727
11343
  "kind": "Content",
@@ -11749,7 +11365,7 @@
11749
11365
  {
11750
11366
  "kind": "Reference",
11751
11367
  "text": "TSMemberScope",
11752
- "canonicalReference": "@alloy-js/typescript!TSMemberScope:interface"
11368
+ "canonicalReference": "@alloy-js/typescript!TSMemberScope:class"
11753
11369
  },
11754
11370
  {
11755
11371
  "kind": "Content",
@@ -11834,7 +11450,16 @@
11834
11450
  },
11835
11451
  {
11836
11452
  "kind": "Content",
11837
- "text": "() => string"
11453
+ "text": "() => [string, "
11454
+ },
11455
+ {
11456
+ "kind": "Reference",
11457
+ "text": "TSOutputSymbol",
11458
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
11459
+ },
11460
+ {
11461
+ "kind": "Content",
11462
+ "text": " | undefined]"
11838
11463
  },
11839
11464
  {
11840
11465
  "kind": "Content",
@@ -11844,7 +11469,7 @@
11844
11469
  "fileUrlPath": "src/symbols/reference.ts",
11845
11470
  "returnTypeTokenRange": {
11846
11471
  "startIndex": 5,
11847
- "endIndex": 6
11472
+ "endIndex": 8
11848
11473
  },
11849
11474
  "releaseTag": "Public",
11850
11475
  "overloadIndex": 1,
@@ -11888,7 +11513,7 @@
11888
11513
  },
11889
11514
  {
11890
11515
  "kind": "Content",
11891
- "text": "import(\"@alloy-js/core\")."
11516
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
11892
11517
  },
11893
11518
  {
11894
11519
  "kind": "Reference",
@@ -12111,7 +11736,7 @@
12111
11736
  {
12112
11737
  "kind": "Reference",
12113
11738
  "text": "TSModuleScope",
12114
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
11739
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class"
12115
11740
  },
12116
11741
  {
12117
11742
  "kind": "Content",
@@ -12536,7 +12161,7 @@
12536
12161
  },
12537
12162
  {
12538
12163
  "kind": "Content",
12539
- "text": "import(\"@alloy-js/core\")."
12164
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
12540
12165
  },
12541
12166
  {
12542
12167
  "kind": "Reference",
@@ -12624,7 +12249,7 @@
12624
12249
  {
12625
12250
  "kind": "Reference",
12626
12251
  "text": "OutputScope",
12627
- "canonicalReference": "@alloy-js/core!OutputScope:interface"
12252
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
12628
12253
  },
12629
12254
  {
12630
12255
  "kind": "Content",
@@ -12683,7 +12308,7 @@
12683
12308
  {
12684
12309
  "kind": "Reference",
12685
12310
  "text": "OutputScope",
12686
- "canonicalReference": "@alloy-js/core!OutputScope:interface"
12311
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
12687
12312
  },
12688
12313
  {
12689
12314
  "kind": "Content",
@@ -12731,18 +12356,18 @@
12731
12356
  ]
12732
12357
  },
12733
12358
  {
12734
- "kind": "Interface",
12735
- "canonicalReference": "@alloy-js/typescript!TSMemberScope:interface",
12359
+ "kind": "Class",
12360
+ "canonicalReference": "@alloy-js/typescript!TSMemberScope:class",
12736
12361
  "docComment": "",
12737
12362
  "excerptTokens": [
12738
12363
  {
12739
12364
  "kind": "Content",
12740
- "text": "export interface TSMemberScope extends "
12365
+ "text": "export declare class TSMemberScope extends "
12741
12366
  },
12742
12367
  {
12743
12368
  "kind": "Reference",
12744
12369
  "text": "OutputScope",
12745
- "canonicalReference": "@alloy-js/core!OutputScope:interface"
12370
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
12746
12371
  },
12747
12372
  {
12748
12373
  "kind": "Content",
@@ -12751,44 +12376,18 @@
12751
12376
  ],
12752
12377
  "fileUrlPath": "src/symbols/ts-member-scope.ts",
12753
12378
  "releaseTag": "Public",
12379
+ "isAbstract": false,
12754
12380
  "name": "TSMemberScope",
12755
12381
  "preserveMemberOrder": false,
12756
12382
  "members": [
12757
12383
  {
12758
- "kind": "PropertySignature",
12759
- "canonicalReference": "@alloy-js/typescript!TSMemberScope#isStatic:member",
12760
- "docComment": "",
12761
- "excerptTokens": [
12762
- {
12763
- "kind": "Content",
12764
- "text": "isStatic: "
12765
- },
12766
- {
12767
- "kind": "Content",
12768
- "text": "boolean"
12769
- },
12770
- {
12771
- "kind": "Content",
12772
- "text": ";"
12773
- }
12774
- ],
12775
- "isReadonly": false,
12776
- "isOptional": false,
12777
- "releaseTag": "Public",
12778
- "name": "isStatic",
12779
- "propertyTypeTokenRange": {
12780
- "startIndex": 1,
12781
- "endIndex": 2
12782
- }
12783
- },
12784
- {
12785
- "kind": "PropertySignature",
12384
+ "kind": "Property",
12786
12385
  "canonicalReference": "@alloy-js/typescript!TSMemberScope#kind:member",
12787
12386
  "docComment": "",
12788
12387
  "excerptTokens": [
12789
12388
  {
12790
12389
  "kind": "Content",
12791
- "text": "kind: "
12390
+ "text": "get kind(): "
12792
12391
  },
12793
12392
  {
12794
12393
  "kind": "Content",
@@ -12799,64 +12398,69 @@
12799
12398
  "text": ";"
12800
12399
  }
12801
12400
  ],
12802
- "isReadonly": false,
12401
+ "isReadonly": true,
12803
12402
  "isOptional": false,
12804
12403
  "releaseTag": "Public",
12805
12404
  "name": "kind",
12806
12405
  "propertyTypeTokenRange": {
12807
12406
  "startIndex": 1,
12808
12407
  "endIndex": 2
12809
- }
12408
+ },
12409
+ "isStatic": false,
12410
+ "isProtected": false,
12411
+ "isAbstract": false
12810
12412
  },
12811
12413
  {
12812
- "kind": "PropertySignature",
12414
+ "kind": "Property",
12813
12415
  "canonicalReference": "@alloy-js/typescript!TSMemberScope#owner:member",
12814
12416
  "docComment": "",
12815
12417
  "excerptTokens": [
12816
12418
  {
12817
12419
  "kind": "Content",
12818
- "text": "owner: "
12420
+ "text": "get owner(): "
12819
12421
  },
12820
12422
  {
12821
12423
  "kind": "Reference",
12822
12424
  "text": "TSOutputSymbol",
12823
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
12425
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
12824
12426
  },
12825
12427
  {
12826
12428
  "kind": "Content",
12827
12429
  "text": ";"
12828
12430
  }
12829
12431
  ],
12830
- "isReadonly": false,
12432
+ "isReadonly": true,
12831
12433
  "isOptional": false,
12832
12434
  "releaseTag": "Public",
12833
12435
  "name": "owner",
12834
12436
  "propertyTypeTokenRange": {
12835
12437
  "startIndex": 1,
12836
12438
  "endIndex": 2
12837
- }
12439
+ },
12440
+ "isStatic": false,
12441
+ "isProtected": false,
12442
+ "isAbstract": false
12838
12443
  }
12839
12444
  ],
12840
- "extendsTokenRanges": [
12841
- {
12842
- "startIndex": 1,
12843
- "endIndex": 2
12844
- }
12845
- ]
12445
+ "extendsTokenRange": {
12446
+ "startIndex": 1,
12447
+ "endIndex": 2
12448
+ },
12449
+ "implementsTokenRanges": []
12846
12450
  },
12847
12451
  {
12848
- "kind": "Interface",
12849
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface",
12452
+ "kind": "Class",
12453
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class",
12850
12454
  "docComment": "",
12851
12455
  "excerptTokens": [
12852
12456
  {
12853
12457
  "kind": "Content",
12854
- "text": "export interface TSModuleScope extends "
12458
+ "text": "export declare class TSModuleScope extends "
12855
12459
  },
12856
12460
  {
12857
12461
  "kind": "Reference",
12858
12462
  "text": "OutputScope",
12859
- "canonicalReference": "@alloy-js/core!OutputScope:interface"
12463
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
12860
12464
  },
12861
12465
  {
12862
12466
  "kind": "Content",
@@ -12865,31 +12469,32 @@
12865
12469
  ],
12866
12470
  "fileUrlPath": "src/symbols/ts-module-scope.ts",
12867
12471
  "releaseTag": "Public",
12472
+ "isAbstract": false,
12868
12473
  "name": "TSModuleScope",
12869
12474
  "preserveMemberOrder": false,
12870
12475
  "members": [
12871
12476
  {
12872
- "kind": "MethodSignature",
12477
+ "kind": "Method",
12873
12478
  "canonicalReference": "@alloy-js/typescript!TSModuleScope#addImport:member(1)",
12874
12479
  "docComment": "",
12875
12480
  "excerptTokens": [
12876
12481
  {
12877
12482
  "kind": "Content",
12878
- "text": "addImport(symbol: "
12483
+ "text": "addImport(targetSymbol: "
12879
12484
  },
12880
12485
  {
12881
12486
  "kind": "Reference",
12882
12487
  "text": "TSOutputSymbol",
12883
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
12488
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
12884
12489
  },
12885
12490
  {
12886
12491
  "kind": "Content",
12887
- "text": ", module: "
12492
+ "text": ", targetModule: "
12888
12493
  },
12889
12494
  {
12890
12495
  "kind": "Reference",
12891
12496
  "text": "TSModuleScope",
12892
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
12497
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class"
12893
12498
  },
12894
12499
  {
12895
12500
  "kind": "Content",
@@ -12907,23 +12512,24 @@
12907
12512
  {
12908
12513
  "kind": "Reference",
12909
12514
  "text": "TSOutputSymbol",
12910
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
12515
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
12911
12516
  },
12912
12517
  {
12913
12518
  "kind": "Content",
12914
12519
  "text": ";"
12915
12520
  }
12916
12521
  ],
12917
- "isOptional": false,
12522
+ "isStatic": false,
12918
12523
  "returnTypeTokenRange": {
12919
12524
  "startIndex": 7,
12920
12525
  "endIndex": 8
12921
12526
  },
12922
12527
  "releaseTag": "Public",
12528
+ "isProtected": false,
12923
12529
  "overloadIndex": 1,
12924
12530
  "parameters": [
12925
12531
  {
12926
- "parameterName": "symbol",
12532
+ "parameterName": "targetSymbol",
12927
12533
  "parameterTypeTokenRange": {
12928
12534
  "startIndex": 1,
12929
12535
  "endIndex": 2
@@ -12931,7 +12537,7 @@
12931
12537
  "isOptional": false
12932
12538
  },
12933
12539
  {
12934
- "parameterName": "module",
12540
+ "parameterName": "targetModule",
12935
12541
  "parameterTypeTokenRange": {
12936
12542
  "startIndex": 3,
12937
12543
  "endIndex": 4
@@ -12947,16 +12553,18 @@
12947
12553
  "isOptional": true
12948
12554
  }
12949
12555
  ],
12556
+ "isOptional": false,
12557
+ "isAbstract": false,
12950
12558
  "name": "addImport"
12951
12559
  },
12952
12560
  {
12953
- "kind": "PropertySignature",
12561
+ "kind": "Property",
12954
12562
  "canonicalReference": "@alloy-js/typescript!TSModuleScope#exportedSymbols:member",
12955
12563
  "docComment": "",
12956
12564
  "excerptTokens": [
12957
12565
  {
12958
12566
  "kind": "Content",
12959
- "text": "exportedSymbols: "
12567
+ "text": "get exportedSymbols(): "
12960
12568
  },
12961
12569
  {
12962
12570
  "kind": "Reference",
@@ -12979,7 +12587,7 @@
12979
12587
  {
12980
12588
  "kind": "Reference",
12981
12589
  "text": "TSOutputSymbol",
12982
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
12590
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
12983
12591
  },
12984
12592
  {
12985
12593
  "kind": "Content",
@@ -12990,23 +12598,26 @@
12990
12598
  "text": ";"
12991
12599
  }
12992
12600
  ],
12993
- "isReadonly": false,
12601
+ "isReadonly": true,
12994
12602
  "isOptional": false,
12995
12603
  "releaseTag": "Public",
12996
12604
  "name": "exportedSymbols",
12997
12605
  "propertyTypeTokenRange": {
12998
12606
  "startIndex": 1,
12999
12607
  "endIndex": 7
13000
- }
12608
+ },
12609
+ "isStatic": false,
12610
+ "isProtected": false,
12611
+ "isAbstract": false
13001
12612
  },
13002
12613
  {
13003
- "kind": "PropertySignature",
12614
+ "kind": "Property",
13004
12615
  "canonicalReference": "@alloy-js/typescript!TSModuleScope#importedModules:member",
13005
12616
  "docComment": "",
13006
12617
  "excerptTokens": [
13007
12618
  {
13008
12619
  "kind": "Content",
13009
- "text": "importedModules: "
12620
+ "text": "get importedModules(): "
13010
12621
  },
13011
12622
  {
13012
12623
  "kind": "Reference",
@@ -13018,23 +12629,26 @@
13018
12629
  "text": ";"
13019
12630
  }
13020
12631
  ],
13021
- "isReadonly": false,
12632
+ "isReadonly": true,
13022
12633
  "isOptional": false,
13023
12634
  "releaseTag": "Public",
13024
12635
  "name": "importedModules",
13025
12636
  "propertyTypeTokenRange": {
13026
12637
  "startIndex": 1,
13027
12638
  "endIndex": 2
13028
- }
12639
+ },
12640
+ "isStatic": false,
12641
+ "isProtected": false,
12642
+ "isAbstract": false
13029
12643
  },
13030
12644
  {
13031
- "kind": "PropertySignature",
12645
+ "kind": "Property",
13032
12646
  "canonicalReference": "@alloy-js/typescript!TSModuleScope#importedSymbols:member",
13033
- "docComment": "/**\n * A mapping of foreign symbols to module-local symbols\n */\n",
12647
+ "docComment": "",
13034
12648
  "excerptTokens": [
13035
12649
  {
13036
12650
  "kind": "Content",
13037
- "text": "importedSymbols: "
12651
+ "text": "get importedSymbols(): "
13038
12652
  },
13039
12653
  {
13040
12654
  "kind": "Reference",
@@ -13048,7 +12662,7 @@
13048
12662
  {
13049
12663
  "kind": "Reference",
13050
12664
  "text": "TSOutputSymbol",
13051
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
12665
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
13052
12666
  },
13053
12667
  {
13054
12668
  "kind": "Content",
@@ -13057,7 +12671,7 @@
13057
12671
  {
13058
12672
  "kind": "Reference",
13059
12673
  "text": "TSOutputSymbol",
13060
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
12674
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
13061
12675
  },
13062
12676
  {
13063
12677
  "kind": "Content",
@@ -13068,23 +12682,26 @@
13068
12682
  "text": ";"
13069
12683
  }
13070
12684
  ],
13071
- "isReadonly": false,
12685
+ "isReadonly": true,
13072
12686
  "isOptional": false,
13073
12687
  "releaseTag": "Public",
13074
12688
  "name": "importedSymbols",
13075
12689
  "propertyTypeTokenRange": {
13076
12690
  "startIndex": 1,
13077
12691
  "endIndex": 7
13078
- }
12692
+ },
12693
+ "isStatic": false,
12694
+ "isProtected": false,
12695
+ "isAbstract": false
13079
12696
  },
13080
12697
  {
13081
- "kind": "PropertySignature",
12698
+ "kind": "Property",
13082
12699
  "canonicalReference": "@alloy-js/typescript!TSModuleScope#kind:member",
13083
12700
  "docComment": "",
13084
12701
  "excerptTokens": [
13085
12702
  {
13086
12703
  "kind": "Content",
13087
- "text": "kind: "
12704
+ "text": "get kind(): "
13088
12705
  },
13089
12706
  {
13090
12707
  "kind": "Content",
@@ -13095,22 +12712,24 @@
13095
12712
  "text": ";"
13096
12713
  }
13097
12714
  ],
13098
- "isReadonly": false,
12715
+ "isReadonly": true,
13099
12716
  "isOptional": false,
13100
12717
  "releaseTag": "Public",
13101
12718
  "name": "kind",
13102
12719
  "propertyTypeTokenRange": {
13103
12720
  "startIndex": 1,
13104
12721
  "endIndex": 2
13105
- }
12722
+ },
12723
+ "isStatic": false,
12724
+ "isProtected": false,
12725
+ "isAbstract": false
13106
12726
  }
13107
12727
  ],
13108
- "extendsTokenRanges": [
13109
- {
13110
- "startIndex": 1,
13111
- "endIndex": 2
13112
- }
13113
- ]
12728
+ "extendsTokenRange": {
12729
+ "startIndex": 1,
12730
+ "endIndex": 2
12731
+ },
12732
+ "implementsTokenRanges": []
13114
12733
  },
13115
12734
  {
13116
12735
  "kind": "Function",
@@ -13132,7 +12751,7 @@
13132
12751
  {
13133
12752
  "kind": "Reference",
13134
12753
  "text": "TSOutputSymbol",
13135
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface"
12754
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class"
13136
12755
  },
13137
12756
  {
13138
12757
  "kind": "Content",
@@ -13178,65 +12797,6 @@
13178
12797
  ],
13179
12798
  "name": "tsNameConflictResolver"
13180
12799
  },
13181
- {
13182
- "kind": "Interface",
13183
- "canonicalReference": "@alloy-js/typescript!TSOtherScope:interface",
13184
- "docComment": "",
13185
- "excerptTokens": [
13186
- {
13187
- "kind": "Content",
13188
- "text": "export interface TSOtherScope extends "
13189
- },
13190
- {
13191
- "kind": "Reference",
13192
- "text": "OutputScope",
13193
- "canonicalReference": "@alloy-js/core!OutputScope:interface"
13194
- },
13195
- {
13196
- "kind": "Content",
13197
- "text": " "
13198
- }
13199
- ],
13200
- "fileUrlPath": "src/symbols/scopes.ts",
13201
- "releaseTag": "Public",
13202
- "name": "TSOtherScope",
13203
- "preserveMemberOrder": false,
13204
- "members": [
13205
- {
13206
- "kind": "PropertySignature",
13207
- "canonicalReference": "@alloy-js/typescript!TSOtherScope#kind:member",
13208
- "docComment": "",
13209
- "excerptTokens": [
13210
- {
13211
- "kind": "Content",
13212
- "text": "kind: "
13213
- },
13214
- {
13215
- "kind": "Content",
13216
- "text": "never"
13217
- },
13218
- {
13219
- "kind": "Content",
13220
- "text": ";"
13221
- }
13222
- ],
13223
- "isReadonly": false,
13224
- "isOptional": false,
13225
- "releaseTag": "Public",
13226
- "name": "kind",
13227
- "propertyTypeTokenRange": {
13228
- "startIndex": 1,
13229
- "endIndex": 2
13230
- }
13231
- }
13232
- ],
13233
- "extendsTokenRanges": [
13234
- {
13235
- "startIndex": 1,
13236
- "endIndex": 2
13237
- }
13238
- ]
13239
- },
13240
12800
  {
13241
12801
  "kind": "TypeAlias",
13242
12802
  "canonicalReference": "@alloy-js/typescript!TSOutputScope:type",
@@ -13258,7 +12818,7 @@
13258
12818
  {
13259
12819
  "kind": "Reference",
13260
12820
  "text": "TSPackageScope",
13261
- "canonicalReference": "@alloy-js/typescript!TSPackageScope:interface"
12821
+ "canonicalReference": "@alloy-js/typescript!TSPackageScope:class"
13262
12822
  },
13263
12823
  {
13264
12824
  "kind": "Content",
@@ -13267,7 +12827,7 @@
13267
12827
  {
13268
12828
  "kind": "Reference",
13269
12829
  "text": "TSModuleScope",
13270
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
12830
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class"
13271
12831
  },
13272
12832
  {
13273
12833
  "kind": "Content",
@@ -13285,16 +12845,7 @@
13285
12845
  {
13286
12846
  "kind": "Reference",
13287
12847
  "text": "TSMemberScope",
13288
- "canonicalReference": "@alloy-js/typescript!TSMemberScope:interface"
13289
- },
13290
- {
13291
- "kind": "Content",
13292
- "text": " | "
13293
- },
13294
- {
13295
- "kind": "Reference",
13296
- "text": "TSOtherScope",
13297
- "canonicalReference": "@alloy-js/typescript!TSOtherScope:interface"
12848
+ "canonicalReference": "@alloy-js/typescript!TSMemberScope:class"
13298
12849
  },
13299
12850
  {
13300
12851
  "kind": "Content",
@@ -13306,22 +12857,22 @@
13306
12857
  "name": "TSOutputScope",
13307
12858
  "typeTokenRange": {
13308
12859
  "startIndex": 1,
13309
- "endIndex": 12
12860
+ "endIndex": 10
13310
12861
  }
13311
12862
  },
13312
12863
  {
13313
- "kind": "Interface",
13314
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:interface",
12864
+ "kind": "Class",
12865
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:class",
13315
12866
  "docComment": "",
13316
12867
  "excerptTokens": [
13317
12868
  {
13318
12869
  "kind": "Content",
13319
- "text": "export interface TSOutputSymbol extends "
12870
+ "text": "export declare class TSOutputSymbol extends "
13320
12871
  },
13321
12872
  {
13322
12873
  "kind": "Reference",
13323
12874
  "text": "OutputSymbol",
13324
- "canonicalReference": "@alloy-js/core!OutputSymbol:interface"
12875
+ "canonicalReference": "@alloy-js/core!OutputSymbol:class"
13325
12876
  },
13326
12877
  {
13327
12878
  "kind": "Content",
@@ -13330,17 +12881,150 @@
13330
12881
  ],
13331
12882
  "fileUrlPath": "src/symbols/ts-output-symbol.ts",
13332
12883
  "releaseTag": "Public",
12884
+ "isAbstract": false,
13333
12885
  "name": "TSOutputSymbol",
13334
12886
  "preserveMemberOrder": false,
13335
12887
  "members": [
13336
12888
  {
13337
- "kind": "PropertySignature",
12889
+ "kind": "Constructor",
12890
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol:constructor(1)",
12891
+ "docComment": "/**\n * Constructs a new instance of the `TSOutputSymbol` class\n */\n",
12892
+ "excerptTokens": [
12893
+ {
12894
+ "kind": "Content",
12895
+ "text": "constructor(name: "
12896
+ },
12897
+ {
12898
+ "kind": "Content",
12899
+ "text": "string"
12900
+ },
12901
+ {
12902
+ "kind": "Content",
12903
+ "text": ", options?: "
12904
+ },
12905
+ {
12906
+ "kind": "Reference",
12907
+ "text": "CreateTsSymbolOptions",
12908
+ "canonicalReference": "@alloy-js/typescript!CreateTsSymbolOptions:interface"
12909
+ },
12910
+ {
12911
+ "kind": "Content",
12912
+ "text": ");"
12913
+ }
12914
+ ],
12915
+ "releaseTag": "Public",
12916
+ "isProtected": false,
12917
+ "overloadIndex": 1,
12918
+ "parameters": [
12919
+ {
12920
+ "parameterName": "name",
12921
+ "parameterTypeTokenRange": {
12922
+ "startIndex": 1,
12923
+ "endIndex": 2
12924
+ },
12925
+ "isOptional": false
12926
+ },
12927
+ {
12928
+ "parameterName": "options",
12929
+ "parameterTypeTokenRange": {
12930
+ "startIndex": 3,
12931
+ "endIndex": 4
12932
+ },
12933
+ "isOptional": true
12934
+ }
12935
+ ]
12936
+ },
12937
+ {
12938
+ "kind": "Method",
12939
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#createMemberScope:member(1)",
12940
+ "docComment": "",
12941
+ "excerptTokens": [
12942
+ {
12943
+ "kind": "Content",
12944
+ "text": "protected createMemberScope(name: "
12945
+ },
12946
+ {
12947
+ "kind": "Content",
12948
+ "text": "string"
12949
+ },
12950
+ {
12951
+ "kind": "Content",
12952
+ "text": ", options: "
12953
+ },
12954
+ {
12955
+ "kind": "Content",
12956
+ "text": "{\n owner?: "
12957
+ },
12958
+ {
12959
+ "kind": "Reference",
12960
+ "text": "OutputSymbol",
12961
+ "canonicalReference": "@alloy-js/core!OutputSymbol:class"
12962
+ },
12963
+ {
12964
+ "kind": "Content",
12965
+ "text": ";\n flags?: "
12966
+ },
12967
+ {
12968
+ "kind": "Reference",
12969
+ "text": "OutputScopeFlags",
12970
+ "canonicalReference": "@alloy-js/core!OutputScopeFlags:enum"
12971
+ },
12972
+ {
12973
+ "kind": "Content",
12974
+ "text": ";\n }"
12975
+ },
12976
+ {
12977
+ "kind": "Content",
12978
+ "text": "): "
12979
+ },
12980
+ {
12981
+ "kind": "Reference",
12982
+ "text": "TSMemberScope",
12983
+ "canonicalReference": "@alloy-js/typescript!TSMemberScope:class"
12984
+ },
12985
+ {
12986
+ "kind": "Content",
12987
+ "text": ";"
12988
+ }
12989
+ ],
12990
+ "isStatic": false,
12991
+ "returnTypeTokenRange": {
12992
+ "startIndex": 9,
12993
+ "endIndex": 10
12994
+ },
12995
+ "releaseTag": "Public",
12996
+ "isProtected": true,
12997
+ "overloadIndex": 1,
12998
+ "parameters": [
12999
+ {
13000
+ "parameterName": "name",
13001
+ "parameterTypeTokenRange": {
13002
+ "startIndex": 1,
13003
+ "endIndex": 2
13004
+ },
13005
+ "isOptional": false
13006
+ },
13007
+ {
13008
+ "parameterName": "options",
13009
+ "parameterTypeTokenRange": {
13010
+ "startIndex": 3,
13011
+ "endIndex": 8
13012
+ },
13013
+ "isOptional": false
13014
+ }
13015
+ ],
13016
+ "isOptional": false,
13017
+ "isAbstract": false,
13018
+ "name": "createMemberScope"
13019
+ },
13020
+ {
13021
+ "kind": "Property",
13338
13022
  "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#default:member",
13339
13023
  "docComment": "",
13340
13024
  "excerptTokens": [
13341
13025
  {
13342
13026
  "kind": "Content",
13343
- "text": "default: "
13027
+ "text": "get default(): "
13344
13028
  },
13345
13029
  {
13346
13030
  "kind": "Content",
@@ -13348,7 +13032,7 @@
13348
13032
  },
13349
13033
  {
13350
13034
  "kind": "Content",
13351
- "text": ";"
13035
+ "text": ";\n\nset default(value: boolean);"
13352
13036
  }
13353
13037
  ],
13354
13038
  "isReadonly": false,
@@ -13358,127 +13042,229 @@
13358
13042
  "propertyTypeTokenRange": {
13359
13043
  "startIndex": 1,
13360
13044
  "endIndex": 2
13361
- }
13045
+ },
13046
+ "isStatic": false,
13047
+ "isProtected": false,
13048
+ "isAbstract": false
13362
13049
  },
13363
13050
  {
13364
- "kind": "PropertySignature",
13051
+ "kind": "Property",
13365
13052
  "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#export:member",
13366
13053
  "docComment": "",
13367
13054
  "excerptTokens": [
13368
13055
  {
13369
13056
  "kind": "Content",
13370
- "text": "export: "
13057
+ "text": "get export(): "
13058
+ },
13059
+ {
13060
+ "kind": "Content",
13061
+ "text": "boolean"
13062
+ },
13063
+ {
13064
+ "kind": "Content",
13065
+ "text": ";\n\nset export(value: boolean);"
13066
+ }
13067
+ ],
13068
+ "isReadonly": false,
13069
+ "isOptional": false,
13070
+ "releaseTag": "Public",
13071
+ "name": "export",
13072
+ "propertyTypeTokenRange": {
13073
+ "startIndex": 1,
13074
+ "endIndex": 2
13075
+ },
13076
+ "isStatic": false,
13077
+ "isProtected": false,
13078
+ "isAbstract": false
13079
+ },
13080
+ {
13081
+ "kind": "Property",
13082
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#instanceMemberScope:member",
13083
+ "docComment": "",
13084
+ "excerptTokens": [
13085
+ {
13086
+ "kind": "Content",
13087
+ "text": "get instanceMemberScope(): "
13088
+ },
13089
+ {
13090
+ "kind": "Reference",
13091
+ "text": "TSMemberScope",
13092
+ "canonicalReference": "@alloy-js/typescript!TSMemberScope:class"
13093
+ },
13094
+ {
13095
+ "kind": "Content",
13096
+ "text": " | undefined"
13097
+ },
13098
+ {
13099
+ "kind": "Content",
13100
+ "text": ";"
13101
+ }
13102
+ ],
13103
+ "isReadonly": true,
13104
+ "isOptional": false,
13105
+ "releaseTag": "Public",
13106
+ "name": "instanceMemberScope",
13107
+ "propertyTypeTokenRange": {
13108
+ "startIndex": 1,
13109
+ "endIndex": 3
13110
+ },
13111
+ "isStatic": false,
13112
+ "isProtected": false,
13113
+ "isAbstract": false
13114
+ },
13115
+ {
13116
+ "kind": "Property",
13117
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#privateMemberScope:member",
13118
+ "docComment": "",
13119
+ "excerptTokens": [
13120
+ {
13121
+ "kind": "Content",
13122
+ "text": "get privateMemberScope(): "
13123
+ },
13124
+ {
13125
+ "kind": "Reference",
13126
+ "text": "TSMemberScope",
13127
+ "canonicalReference": "@alloy-js/typescript!TSMemberScope:class"
13371
13128
  },
13372
13129
  {
13373
13130
  "kind": "Content",
13374
- "text": "boolean"
13131
+ "text": " | undefined"
13375
13132
  },
13376
13133
  {
13377
13134
  "kind": "Content",
13378
13135
  "text": ";"
13379
13136
  }
13380
13137
  ],
13381
- "isReadonly": false,
13138
+ "isReadonly": true,
13382
13139
  "isOptional": false,
13383
13140
  "releaseTag": "Public",
13384
- "name": "export",
13141
+ "name": "privateMemberScope",
13385
13142
  "propertyTypeTokenRange": {
13386
13143
  "startIndex": 1,
13387
- "endIndex": 2
13388
- }
13144
+ "endIndex": 3
13145
+ },
13146
+ "isStatic": false,
13147
+ "isProtected": false,
13148
+ "isAbstract": false
13389
13149
  },
13390
13150
  {
13391
- "kind": "PropertySignature",
13392
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#privateMemberScope:member",
13151
+ "kind": "Property",
13152
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#privateStaticMemberScope:member",
13393
13153
  "docComment": "",
13394
13154
  "excerptTokens": [
13395
13155
  {
13396
13156
  "kind": "Content",
13397
- "text": "privateMemberScope?: "
13157
+ "text": "get privateStaticMemberScope(): "
13398
13158
  },
13399
13159
  {
13400
13160
  "kind": "Reference",
13401
13161
  "text": "TSMemberScope",
13402
- "canonicalReference": "@alloy-js/typescript!TSMemberScope:interface"
13162
+ "canonicalReference": "@alloy-js/typescript!TSMemberScope:class"
13163
+ },
13164
+ {
13165
+ "kind": "Content",
13166
+ "text": " | undefined"
13403
13167
  },
13404
13168
  {
13405
13169
  "kind": "Content",
13406
13170
  "text": ";"
13407
13171
  }
13408
13172
  ],
13409
- "isReadonly": false,
13410
- "isOptional": true,
13173
+ "isReadonly": true,
13174
+ "isOptional": false,
13411
13175
  "releaseTag": "Public",
13412
- "name": "privateMemberScope",
13176
+ "name": "privateStaticMemberScope",
13413
13177
  "propertyTypeTokenRange": {
13414
13178
  "startIndex": 1,
13415
- "endIndex": 2
13416
- }
13179
+ "endIndex": 3
13180
+ },
13181
+ "isStatic": false,
13182
+ "isProtected": false,
13183
+ "isAbstract": false
13417
13184
  },
13418
13185
  {
13419
- "kind": "PropertySignature",
13420
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#privateStaticMemberScope:member",
13186
+ "kind": "Property",
13187
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#scope:member",
13421
13188
  "docComment": "",
13422
13189
  "excerptTokens": [
13423
13190
  {
13424
13191
  "kind": "Content",
13425
- "text": "privateStaticMemberScope?: "
13192
+ "text": "get scope(): "
13426
13193
  },
13427
13194
  {
13428
13195
  "kind": "Reference",
13429
- "text": "TSMemberScope",
13430
- "canonicalReference": "@alloy-js/typescript!TSMemberScope:interface"
13196
+ "text": "TSOutputScope",
13197
+ "canonicalReference": "@alloy-js/typescript!TSOutputScope:type"
13431
13198
  },
13432
13199
  {
13433
13200
  "kind": "Content",
13434
- "text": ";"
13201
+ "text": ";\n\nset scope(value: "
13202
+ },
13203
+ {
13204
+ "kind": "Reference",
13205
+ "text": "TSOutputScope",
13206
+ "canonicalReference": "@alloy-js/typescript!TSOutputScope:type"
13207
+ },
13208
+ {
13209
+ "kind": "Content",
13210
+ "text": ");"
13435
13211
  }
13436
13212
  ],
13437
13213
  "isReadonly": false,
13438
- "isOptional": true,
13214
+ "isOptional": false,
13439
13215
  "releaseTag": "Public",
13440
- "name": "privateStaticMemberScope",
13216
+ "name": "scope",
13441
13217
  "propertyTypeTokenRange": {
13442
13218
  "startIndex": 1,
13443
13219
  "endIndex": 2
13444
- }
13220
+ },
13221
+ "isStatic": false,
13222
+ "isProtected": false,
13223
+ "isAbstract": false
13445
13224
  },
13446
13225
  {
13447
- "kind": "PropertySignature",
13448
- "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#scope:member",
13226
+ "kind": "Property",
13227
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#staticMemberScope:member",
13449
13228
  "docComment": "",
13450
13229
  "excerptTokens": [
13451
13230
  {
13452
13231
  "kind": "Content",
13453
- "text": "scope: "
13232
+ "text": "get staticMemberScope(): "
13454
13233
  },
13455
13234
  {
13456
13235
  "kind": "Reference",
13457
- "text": "TSOutputScope",
13458
- "canonicalReference": "@alloy-js/typescript!TSOutputScope:type"
13236
+ "text": "TSMemberScope",
13237
+ "canonicalReference": "@alloy-js/typescript!TSMemberScope:class"
13238
+ },
13239
+ {
13240
+ "kind": "Content",
13241
+ "text": " | undefined"
13459
13242
  },
13460
13243
  {
13461
13244
  "kind": "Content",
13462
13245
  "text": ";"
13463
13246
  }
13464
13247
  ],
13465
- "isReadonly": false,
13248
+ "isReadonly": true,
13466
13249
  "isOptional": false,
13467
13250
  "releaseTag": "Public",
13468
- "name": "scope",
13251
+ "name": "staticMemberScope",
13469
13252
  "propertyTypeTokenRange": {
13470
13253
  "startIndex": 1,
13471
- "endIndex": 2
13472
- }
13254
+ "endIndex": 3
13255
+ },
13256
+ "isStatic": false,
13257
+ "isProtected": false,
13258
+ "isAbstract": false
13473
13259
  },
13474
13260
  {
13475
- "kind": "PropertySignature",
13261
+ "kind": "Property",
13476
13262
  "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#tsFlags:member",
13477
13263
  "docComment": "",
13478
13264
  "excerptTokens": [
13479
13265
  {
13480
13266
  "kind": "Content",
13481
- "text": "tsFlags: "
13267
+ "text": "get tsFlags(): "
13482
13268
  },
13483
13269
  {
13484
13270
  "kind": "Reference",
@@ -13487,7 +13273,16 @@
13487
13273
  },
13488
13274
  {
13489
13275
  "kind": "Content",
13490
- "text": ";"
13276
+ "text": ";\n\nset tsFlags(value: "
13277
+ },
13278
+ {
13279
+ "kind": "Reference",
13280
+ "text": "TSSymbolFlags",
13281
+ "canonicalReference": "@alloy-js/typescript!TSSymbolFlags:enum"
13282
+ },
13283
+ {
13284
+ "kind": "Content",
13285
+ "text": ");"
13491
13286
  }
13492
13287
  ],
13493
13288
  "isReadonly": false,
@@ -13497,29 +13292,31 @@
13497
13292
  "propertyTypeTokenRange": {
13498
13293
  "startIndex": 1,
13499
13294
  "endIndex": 2
13500
- }
13295
+ },
13296
+ "isStatic": false,
13297
+ "isProtected": false,
13298
+ "isAbstract": false
13501
13299
  }
13502
13300
  ],
13503
- "extendsTokenRanges": [
13504
- {
13505
- "startIndex": 1,
13506
- "endIndex": 2
13507
- }
13508
- ]
13301
+ "extendsTokenRange": {
13302
+ "startIndex": 1,
13303
+ "endIndex": 2
13304
+ },
13305
+ "implementsTokenRanges": []
13509
13306
  },
13510
13307
  {
13511
- "kind": "Interface",
13512
- "canonicalReference": "@alloy-js/typescript!TSPackageScope:interface",
13308
+ "kind": "Class",
13309
+ "canonicalReference": "@alloy-js/typescript!TSPackageScope:class",
13513
13310
  "docComment": "",
13514
13311
  "excerptTokens": [
13515
13312
  {
13516
13313
  "kind": "Content",
13517
- "text": "export interface TSPackageScope extends "
13314
+ "text": "export declare class TSPackageScope extends "
13518
13315
  },
13519
13316
  {
13520
13317
  "kind": "Reference",
13521
13318
  "text": "OutputScope",
13522
- "canonicalReference": "@alloy-js/core!OutputScope:interface"
13319
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
13523
13320
  },
13524
13321
  {
13525
13322
  "kind": "Content",
@@ -13528,11 +13325,93 @@
13528
13325
  ],
13529
13326
  "fileUrlPath": "src/symbols/ts-package-scope.ts",
13530
13327
  "releaseTag": "Public",
13328
+ "isAbstract": false,
13531
13329
  "name": "TSPackageScope",
13532
13330
  "preserveMemberOrder": false,
13533
13331
  "members": [
13534
13332
  {
13535
- "kind": "MethodSignature",
13333
+ "kind": "Constructor",
13334
+ "canonicalReference": "@alloy-js/typescript!TSPackageScope:constructor(1)",
13335
+ "docComment": "/**\n * Constructs a new instance of the `TSPackageScope` class\n */\n",
13336
+ "excerptTokens": [
13337
+ {
13338
+ "kind": "Content",
13339
+ "text": "constructor(name: "
13340
+ },
13341
+ {
13342
+ "kind": "Content",
13343
+ "text": "string"
13344
+ },
13345
+ {
13346
+ "kind": "Content",
13347
+ "text": ", version: "
13348
+ },
13349
+ {
13350
+ "kind": "Content",
13351
+ "text": "string"
13352
+ },
13353
+ {
13354
+ "kind": "Content",
13355
+ "text": ", path: "
13356
+ },
13357
+ {
13358
+ "kind": "Content",
13359
+ "text": "string"
13360
+ },
13361
+ {
13362
+ "kind": "Content",
13363
+ "text": ", options?: "
13364
+ },
13365
+ {
13366
+ "kind": "Reference",
13367
+ "text": "TSPackageScopeOptions",
13368
+ "canonicalReference": "@alloy-js/typescript!TSPackageScopeOptions:interface"
13369
+ },
13370
+ {
13371
+ "kind": "Content",
13372
+ "text": ");"
13373
+ }
13374
+ ],
13375
+ "releaseTag": "Public",
13376
+ "isProtected": false,
13377
+ "overloadIndex": 1,
13378
+ "parameters": [
13379
+ {
13380
+ "parameterName": "name",
13381
+ "parameterTypeTokenRange": {
13382
+ "startIndex": 1,
13383
+ "endIndex": 2
13384
+ },
13385
+ "isOptional": false
13386
+ },
13387
+ {
13388
+ "parameterName": "version",
13389
+ "parameterTypeTokenRange": {
13390
+ "startIndex": 3,
13391
+ "endIndex": 4
13392
+ },
13393
+ "isOptional": false
13394
+ },
13395
+ {
13396
+ "parameterName": "path",
13397
+ "parameterTypeTokenRange": {
13398
+ "startIndex": 5,
13399
+ "endIndex": 6
13400
+ },
13401
+ "isOptional": false
13402
+ },
13403
+ {
13404
+ "parameterName": "options",
13405
+ "parameterTypeTokenRange": {
13406
+ "startIndex": 7,
13407
+ "endIndex": 8
13408
+ },
13409
+ "isOptional": true
13410
+ }
13411
+ ]
13412
+ },
13413
+ {
13414
+ "kind": "Method",
13536
13415
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#addDependency:member(1)",
13537
13416
  "docComment": "",
13538
13417
  "excerptTokens": [
@@ -13543,7 +13422,7 @@
13543
13422
  {
13544
13423
  "kind": "Reference",
13545
13424
  "text": "TSPackageScope",
13546
- "canonicalReference": "@alloy-js/typescript!TSPackageScope:interface"
13425
+ "canonicalReference": "@alloy-js/typescript!TSPackageScope:class"
13547
13426
  },
13548
13427
  {
13549
13428
  "kind": "Content",
@@ -13558,12 +13437,13 @@
13558
13437
  "text": ";"
13559
13438
  }
13560
13439
  ],
13561
- "isOptional": false,
13440
+ "isStatic": false,
13562
13441
  "returnTypeTokenRange": {
13563
13442
  "startIndex": 3,
13564
13443
  "endIndex": 4
13565
13444
  },
13566
13445
  "releaseTag": "Public",
13446
+ "isProtected": false,
13567
13447
  "overloadIndex": 1,
13568
13448
  "parameters": [
13569
13449
  {
@@ -13575,10 +13455,12 @@
13575
13455
  "isOptional": false
13576
13456
  }
13577
13457
  ],
13458
+ "isOptional": false,
13459
+ "isAbstract": false,
13578
13460
  "name": "addDependency"
13579
13461
  },
13580
13462
  {
13581
- "kind": "MethodSignature",
13463
+ "kind": "Method",
13582
13464
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#addExport:member(1)",
13583
13465
  "docComment": "",
13584
13466
  "excerptTokens": [
@@ -13592,12 +13474,12 @@
13592
13474
  },
13593
13475
  {
13594
13476
  "kind": "Content",
13595
- "text": ", localModule: "
13477
+ "text": ", module: "
13596
13478
  },
13597
13479
  {
13598
13480
  "kind": "Reference",
13599
13481
  "text": "TSModuleScope",
13600
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
13482
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class"
13601
13483
  },
13602
13484
  {
13603
13485
  "kind": "Content",
@@ -13612,12 +13494,13 @@
13612
13494
  "text": ";"
13613
13495
  }
13614
13496
  ],
13615
- "isOptional": false,
13497
+ "isStatic": false,
13616
13498
  "returnTypeTokenRange": {
13617
13499
  "startIndex": 5,
13618
13500
  "endIndex": 6
13619
13501
  },
13620
13502
  "releaseTag": "Public",
13503
+ "isProtected": false,
13621
13504
  "overloadIndex": 1,
13622
13505
  "parameters": [
13623
13506
  {
@@ -13629,7 +13512,7 @@
13629
13512
  "isOptional": false
13630
13513
  },
13631
13514
  {
13632
- "parameterName": "localModule",
13515
+ "parameterName": "module",
13633
13516
  "parameterTypeTokenRange": {
13634
13517
  "startIndex": 3,
13635
13518
  "endIndex": 4
@@ -13637,10 +13520,12 @@
13637
13520
  "isOptional": false
13638
13521
  }
13639
13522
  ],
13523
+ "isOptional": false,
13524
+ "isAbstract": false,
13640
13525
  "name": "addExport"
13641
13526
  },
13642
13527
  {
13643
- "kind": "MethodSignature",
13528
+ "kind": "Method",
13644
13529
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#addModule:member(1)",
13645
13530
  "docComment": "",
13646
13531
  "excerptTokens": [
@@ -13651,7 +13536,7 @@
13651
13536
  {
13652
13537
  "kind": "Reference",
13653
13538
  "text": "TSModuleScope",
13654
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
13539
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class"
13655
13540
  },
13656
13541
  {
13657
13542
  "kind": "Content",
@@ -13666,12 +13551,13 @@
13666
13551
  "text": ";"
13667
13552
  }
13668
13553
  ],
13669
- "isOptional": false,
13554
+ "isStatic": false,
13670
13555
  "returnTypeTokenRange": {
13671
13556
  "startIndex": 3,
13672
13557
  "endIndex": 4
13673
13558
  },
13674
13559
  "releaseTag": "Public",
13560
+ "isProtected": false,
13675
13561
  "overloadIndex": 1,
13676
13562
  "parameters": [
13677
13563
  {
@@ -13683,16 +13569,18 @@
13683
13569
  "isOptional": false
13684
13570
  }
13685
13571
  ],
13572
+ "isOptional": false,
13573
+ "isAbstract": false,
13686
13574
  "name": "addModule"
13687
13575
  },
13688
13576
  {
13689
- "kind": "PropertySignature",
13577
+ "kind": "Property",
13690
13578
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#builtin:member",
13691
13579
  "docComment": "/**\n * Whether this is a built-in package provided by the platform.\n */\n",
13692
13580
  "excerptTokens": [
13693
13581
  {
13694
13582
  "kind": "Content",
13695
- "text": "builtin?: "
13583
+ "text": "get builtin(): "
13696
13584
  },
13697
13585
  {
13698
13586
  "kind": "Content",
@@ -13703,23 +13591,26 @@
13703
13591
  "text": ";"
13704
13592
  }
13705
13593
  ],
13706
- "isReadonly": false,
13707
- "isOptional": true,
13594
+ "isReadonly": true,
13595
+ "isOptional": false,
13708
13596
  "releaseTag": "Public",
13709
13597
  "name": "builtin",
13710
13598
  "propertyTypeTokenRange": {
13711
13599
  "startIndex": 1,
13712
13600
  "endIndex": 2
13713
- }
13601
+ },
13602
+ "isStatic": false,
13603
+ "isProtected": false,
13604
+ "isAbstract": false
13714
13605
  },
13715
13606
  {
13716
- "kind": "PropertySignature",
13607
+ "kind": "Property",
13717
13608
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#dependencies:member",
13718
13609
  "docComment": "/**\n * The scopes for the packages this package depends on.\n */\n",
13719
13610
  "excerptTokens": [
13720
13611
  {
13721
13612
  "kind": "Content",
13722
- "text": "dependencies: "
13613
+ "text": "get dependencies(): "
13723
13614
  },
13724
13615
  {
13725
13616
  "kind": "Reference",
@@ -13733,7 +13624,7 @@
13733
13624
  {
13734
13625
  "kind": "Reference",
13735
13626
  "text": "TSPackageScope",
13736
- "canonicalReference": "@alloy-js/typescript!TSPackageScope:interface"
13627
+ "canonicalReference": "@alloy-js/typescript!TSPackageScope:class"
13737
13628
  },
13738
13629
  {
13739
13630
  "kind": "Content",
@@ -13744,23 +13635,26 @@
13744
13635
  "text": ";"
13745
13636
  }
13746
13637
  ],
13747
- "isReadonly": false,
13638
+ "isReadonly": true,
13748
13639
  "isOptional": false,
13749
13640
  "releaseTag": "Public",
13750
13641
  "name": "dependencies",
13751
13642
  "propertyTypeTokenRange": {
13752
13643
  "startIndex": 1,
13753
13644
  "endIndex": 5
13754
- }
13645
+ },
13646
+ "isStatic": false,
13647
+ "isProtected": false,
13648
+ "isAbstract": false
13755
13649
  },
13756
13650
  {
13757
- "kind": "PropertySignature",
13651
+ "kind": "Property",
13758
13652
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#exportedSymbols:member",
13759
13653
  "docComment": "/**\n * The symbols exported by this package. They are broken down by which paths\n * they are exported from. It is possible a symbol may be present at multiple\n * paths, in which case emitters can decide which symbol to use based on their\n * own heuristics.\n */\n",
13760
13654
  "excerptTokens": [
13761
13655
  {
13762
13656
  "kind": "Content",
13763
- "text": "exportedSymbols: "
13657
+ "text": "get exportedSymbols(): "
13764
13658
  },
13765
13659
  {
13766
13660
  "kind": "Reference",
@@ -13774,7 +13668,7 @@
13774
13668
  {
13775
13669
  "kind": "Reference",
13776
13670
  "text": "TSModuleScope",
13777
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
13671
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class"
13778
13672
  },
13779
13673
  {
13780
13674
  "kind": "Content",
@@ -13785,17 +13679,20 @@
13785
13679
  "text": ";"
13786
13680
  }
13787
13681
  ],
13788
- "isReadonly": false,
13682
+ "isReadonly": true,
13789
13683
  "isOptional": false,
13790
13684
  "releaseTag": "Public",
13791
13685
  "name": "exportedSymbols",
13792
13686
  "propertyTypeTokenRange": {
13793
13687
  "startIndex": 1,
13794
13688
  "endIndex": 5
13795
- }
13689
+ },
13690
+ "isStatic": false,
13691
+ "isProtected": false,
13692
+ "isAbstract": false
13796
13693
  },
13797
13694
  {
13798
- "kind": "MethodSignature",
13695
+ "kind": "Method",
13799
13696
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#findExportedSymbol:member(1)",
13800
13697
  "docComment": "",
13801
13698
  "excerptTokens": [
@@ -13819,7 +13716,7 @@
13819
13716
  {
13820
13717
  "kind": "Reference",
13821
13718
  "text": "TSModuleScope",
13822
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
13719
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class"
13823
13720
  },
13824
13721
  {
13825
13722
  "kind": "Content",
@@ -13830,12 +13727,13 @@
13830
13727
  "text": ";"
13831
13728
  }
13832
13729
  ],
13833
- "isOptional": false,
13730
+ "isStatic": false,
13834
13731
  "returnTypeTokenRange": {
13835
13732
  "startIndex": 3,
13836
13733
  "endIndex": 6
13837
13734
  },
13838
13735
  "releaseTag": "Public",
13736
+ "isProtected": false,
13839
13737
  "overloadIndex": 1,
13840
13738
  "parameters": [
13841
13739
  {
@@ -13847,16 +13745,18 @@
13847
13745
  "isOptional": false
13848
13746
  }
13849
13747
  ],
13748
+ "isOptional": false,
13749
+ "isAbstract": false,
13850
13750
  "name": "findExportedSymbol"
13851
13751
  },
13852
13752
  {
13853
- "kind": "PropertySignature",
13753
+ "kind": "Property",
13854
13754
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#kind:member",
13855
13755
  "docComment": "",
13856
13756
  "excerptTokens": [
13857
13757
  {
13858
13758
  "kind": "Content",
13859
- "text": "kind: "
13759
+ "text": "get kind(): "
13860
13760
  },
13861
13761
  {
13862
13762
  "kind": "Content",
@@ -13867,23 +13767,26 @@
13867
13767
  "text": ";"
13868
13768
  }
13869
13769
  ],
13870
- "isReadonly": false,
13770
+ "isReadonly": true,
13871
13771
  "isOptional": false,
13872
13772
  "releaseTag": "Public",
13873
13773
  "name": "kind",
13874
13774
  "propertyTypeTokenRange": {
13875
13775
  "startIndex": 1,
13876
13776
  "endIndex": 2
13877
- }
13777
+ },
13778
+ "isStatic": false,
13779
+ "isProtected": false,
13780
+ "isAbstract": false
13878
13781
  },
13879
13782
  {
13880
- "kind": "PropertySignature",
13783
+ "kind": "Property",
13881
13784
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#modules:member",
13882
13785
  "docComment": "/**\n * All of the modules contained within the package. These modules may or may not\n * be exported.\n */\n",
13883
13786
  "excerptTokens": [
13884
13787
  {
13885
13788
  "kind": "Content",
13886
- "text": "modules: "
13789
+ "text": "get modules(): "
13887
13790
  },
13888
13791
  {
13889
13792
  "kind": "Reference",
@@ -13897,7 +13800,7 @@
13897
13800
  {
13898
13801
  "kind": "Reference",
13899
13802
  "text": "TSModuleScope",
13900
- "canonicalReference": "@alloy-js/typescript!TSModuleScope:interface"
13803
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope:class"
13901
13804
  },
13902
13805
  {
13903
13806
  "kind": "Content",
@@ -13908,23 +13811,26 @@
13908
13811
  "text": ";"
13909
13812
  }
13910
13813
  ],
13911
- "isReadonly": false,
13814
+ "isReadonly": true,
13912
13815
  "isOptional": false,
13913
13816
  "releaseTag": "Public",
13914
13817
  "name": "modules",
13915
13818
  "propertyTypeTokenRange": {
13916
13819
  "startIndex": 1,
13917
13820
  "endIndex": 5
13918
- }
13821
+ },
13822
+ "isStatic": false,
13823
+ "isProtected": false,
13824
+ "isAbstract": false
13919
13825
  },
13920
13826
  {
13921
- "kind": "PropertySignature",
13827
+ "kind": "Property",
13922
13828
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#path:member",
13923
13829
  "docComment": "/**\n * The path of the root directory of the package.\n */\n",
13924
13830
  "excerptTokens": [
13925
13831
  {
13926
13832
  "kind": "Content",
13927
- "text": "path: "
13833
+ "text": "get path(): "
13928
13834
  },
13929
13835
  {
13930
13836
  "kind": "Content",
@@ -13935,23 +13841,26 @@
13935
13841
  "text": ";"
13936
13842
  }
13937
13843
  ],
13938
- "isReadonly": false,
13844
+ "isReadonly": true,
13939
13845
  "isOptional": false,
13940
13846
  "releaseTag": "Public",
13941
13847
  "name": "path",
13942
13848
  "propertyTypeTokenRange": {
13943
13849
  "startIndex": 1,
13944
13850
  "endIndex": 2
13945
- }
13851
+ },
13852
+ "isStatic": false,
13853
+ "isProtected": false,
13854
+ "isAbstract": false
13946
13855
  },
13947
13856
  {
13948
- "kind": "PropertySignature",
13857
+ "kind": "Property",
13949
13858
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#version:member",
13950
13859
  "docComment": "/**\n * The version of the this package.\n */\n",
13951
13860
  "excerptTokens": [
13952
13861
  {
13953
13862
  "kind": "Content",
13954
- "text": "version: "
13863
+ "text": "get version(): "
13955
13864
  },
13956
13865
  {
13957
13866
  "kind": "Content",
@@ -13962,10 +13871,71 @@
13962
13871
  "text": ";"
13963
13872
  }
13964
13873
  ],
13965
- "isReadonly": false,
13874
+ "isReadonly": true,
13966
13875
  "isOptional": false,
13967
13876
  "releaseTag": "Public",
13968
13877
  "name": "version",
13878
+ "propertyTypeTokenRange": {
13879
+ "startIndex": 1,
13880
+ "endIndex": 2
13881
+ },
13882
+ "isStatic": false,
13883
+ "isProtected": false,
13884
+ "isAbstract": false
13885
+ }
13886
+ ],
13887
+ "extendsTokenRange": {
13888
+ "startIndex": 1,
13889
+ "endIndex": 2
13890
+ },
13891
+ "implementsTokenRanges": []
13892
+ },
13893
+ {
13894
+ "kind": "Interface",
13895
+ "canonicalReference": "@alloy-js/typescript!TSPackageScopeOptions:interface",
13896
+ "docComment": "",
13897
+ "excerptTokens": [
13898
+ {
13899
+ "kind": "Content",
13900
+ "text": "export interface TSPackageScopeOptions extends "
13901
+ },
13902
+ {
13903
+ "kind": "Reference",
13904
+ "text": "OutputScopeOptions",
13905
+ "canonicalReference": "@alloy-js/core!OutputScopeOptions:interface"
13906
+ },
13907
+ {
13908
+ "kind": "Content",
13909
+ "text": " "
13910
+ }
13911
+ ],
13912
+ "fileUrlPath": "src/symbols/ts-package-scope.ts",
13913
+ "releaseTag": "Public",
13914
+ "name": "TSPackageScopeOptions",
13915
+ "preserveMemberOrder": false,
13916
+ "members": [
13917
+ {
13918
+ "kind": "PropertySignature",
13919
+ "canonicalReference": "@alloy-js/typescript!TSPackageScopeOptions#builtin:member",
13920
+ "docComment": "",
13921
+ "excerptTokens": [
13922
+ {
13923
+ "kind": "Content",
13924
+ "text": "builtin?: "
13925
+ },
13926
+ {
13927
+ "kind": "Content",
13928
+ "text": "boolean"
13929
+ },
13930
+ {
13931
+ "kind": "Content",
13932
+ "text": ";"
13933
+ }
13934
+ ],
13935
+ "isReadonly": false,
13936
+ "isOptional": true,
13937
+ "releaseTag": "Public",
13938
+ "name": "builtin",
13969
13939
  "propertyTypeTokenRange": {
13970
13940
  "startIndex": 1,
13971
13941
  "endIndex": 2
@@ -14163,7 +14133,7 @@
14163
14133
  },
14164
14134
  {
14165
14135
  "kind": "Content",
14166
- "text": "import(\"@alloy-js/core\")."
14136
+ "text": "import(\"@alloy-js/core/jsx-runtime\")."
14167
14137
  },
14168
14138
  {
14169
14139
  "kind": "Reference",