@typespec/compiler 1.17.0-dev.0 → 1.17.0-dev.11

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 (195) hide show
  1. package/dist/manifest.js +2 -2
  2. package/dist/src/config/config-interpolation.js.map +1 -1
  3. package/dist/src/config/config-loader.js.map +1 -1
  4. package/dist/src/core/auto-decorator.js.map +1 -1
  5. package/dist/src/core/binder.d.ts +5 -5
  6. package/dist/src/core/binder.d.ts.map +1 -1
  7. package/dist/src/core/binder.js +33 -0
  8. package/dist/src/core/binder.js.map +1 -1
  9. package/dist/src/core/checker.d.ts.map +1 -1
  10. package/dist/src/core/checker.js +168 -53
  11. package/dist/src/core/checker.js.map +1 -1
  12. package/dist/src/core/cli/actions/compile/compile.js.map +1 -1
  13. package/dist/src/core/cli/actions/info.js.map +1 -1
  14. package/dist/src/core/cli/cli.js.map +1 -1
  15. package/dist/src/core/cli/utils.js.map +1 -1
  16. package/dist/src/core/compiler-code-fixes/suppress.codefix.js.map +1 -1
  17. package/dist/src/core/decorator-utils.js.map +1 -1
  18. package/dist/src/core/diagnostic-error.d.ts.map +1 -1
  19. package/dist/src/core/diagnostics.js.map +1 -1
  20. package/dist/src/core/external-error.d.ts.map +1 -1
  21. package/dist/src/core/external-error.js.map +1 -1
  22. package/dist/src/core/features.d.ts +3 -0
  23. package/dist/src/core/features.d.ts.map +1 -1
  24. package/dist/src/core/features.js +3 -0
  25. package/dist/src/core/features.js.map +1 -1
  26. package/dist/src/core/file-ref.d.ts.map +1 -1
  27. package/dist/src/core/formatter-fs.js.map +1 -1
  28. package/dist/src/core/helpers/operation-utils.js.map +1 -1
  29. package/dist/src/core/helpers/syntax-utils.js.map +1 -1
  30. package/dist/src/core/helpers/type-name-utils.js +19 -3
  31. package/dist/src/core/helpers/type-name-utils.js.map +1 -1
  32. package/dist/src/core/helpers/usage-resolver.js.map +1 -1
  33. package/dist/src/core/inspector/node.js +6 -1
  34. package/dist/src/core/inspector/node.js.map +1 -1
  35. package/dist/src/core/inspector/symbol.js.map +1 -1
  36. package/dist/src/core/linter-ruleset-file.js.map +1 -1
  37. package/dist/src/core/logger/console-sink.js.map +1 -1
  38. package/dist/src/core/logger/dynamic-task.d.ts.map +1 -1
  39. package/dist/src/core/logger/tracer.js.map +1 -1
  40. package/dist/src/core/messages.d.ts +88 -52
  41. package/dist/src/core/messages.d.ts.map +1 -1
  42. package/dist/src/core/messages.js +12 -0
  43. package/dist/src/core/messages.js.map +1 -1
  44. package/dist/src/core/modifiers.d.ts +9 -2
  45. package/dist/src/core/modifiers.d.ts.map +1 -1
  46. package/dist/src/core/modifiers.js +8 -0
  47. package/dist/src/core/modifiers.js.map +1 -1
  48. package/dist/src/core/name-resolver.d.ts.map +1 -1
  49. package/dist/src/core/name-resolver.js +30 -4
  50. package/dist/src/core/name-resolver.js.map +1 -1
  51. package/dist/src/core/node-host.js.map +1 -1
  52. package/dist/src/core/node-system-host.d.ts.map +1 -1
  53. package/dist/src/core/numeric.js.map +1 -1
  54. package/dist/src/core/parser.d.ts.map +1 -1
  55. package/dist/src/core/parser.js +257 -23
  56. package/dist/src/core/parser.js.map +1 -1
  57. package/dist/src/core/program.js.map +1 -1
  58. package/dist/src/core/scanner.d.ts +5 -0
  59. package/dist/src/core/scanner.d.ts.map +1 -1
  60. package/dist/src/core/scanner.js +10 -0
  61. package/dist/src/core/scanner.js.map +1 -1
  62. package/dist/src/core/schema-validator.js.map +1 -1
  63. package/dist/src/core/semantic-walker.d.ts.map +1 -1
  64. package/dist/src/core/semantic-walker.js.map +1 -1
  65. package/dist/src/core/source-loader.js.map +1 -1
  66. package/dist/src/core/state-accessors.d.ts.map +1 -1
  67. package/dist/src/core/state-accessors.js.map +1 -1
  68. package/dist/src/core/type-relation-checker.d.ts.map +1 -1
  69. package/dist/src/core/type-utils.d.ts.map +1 -1
  70. package/dist/src/core/type-utils.js +3 -0
  71. package/dist/src/core/type-utils.js.map +1 -1
  72. package/dist/src/core/types.d.ts +111 -14
  73. package/dist/src/core/types.d.ts.map +1 -1
  74. package/dist/src/core/types.js +4 -0
  75. package/dist/src/core/types.js.map +1 -1
  76. package/dist/src/core/visibility/core.d.ts.map +1 -1
  77. package/dist/src/experimental/mutators.js.map +1 -1
  78. package/dist/src/experimental/realm.d.ts.map +1 -1
  79. package/dist/src/experimental/realm.js.map +1 -1
  80. package/dist/src/formatter/index.d.ts.map +1 -1
  81. package/dist/src/formatter/parser.d.ts.map +1 -1
  82. package/dist/src/formatter/parser.js.map +1 -1
  83. package/dist/src/formatter/print/comment-handler.js +11 -1
  84. package/dist/src/formatter/print/comment-handler.js.map +1 -1
  85. package/dist/src/formatter/print/printer.d.ts +4 -4
  86. package/dist/src/formatter/print/printer.d.ts.map +1 -1
  87. package/dist/src/formatter/print/printer.js +106 -15
  88. package/dist/src/formatter/print/printer.js.map +1 -1
  89. package/dist/src/init/init.d.ts.map +1 -1
  90. package/dist/src/init/init.js +3 -1
  91. package/dist/src/init/init.js.map +1 -1
  92. package/dist/src/init/prompts.d.ts +1 -1
  93. package/dist/src/init/prompts.d.ts.map +1 -1
  94. package/dist/src/init/prompts.js +1 -1
  95. package/dist/src/init/prompts.js.map +1 -1
  96. package/dist/src/init/scaffold.d.ts.map +1 -1
  97. package/dist/src/init/scaffold.js +31 -3
  98. package/dist/src/init/scaffold.js.map +1 -1
  99. package/dist/src/init/template-source/in-memory-template-source.d.ts +1 -1
  100. package/dist/src/init/template-source/in-memory-template-source.d.ts.map +1 -1
  101. package/dist/src/init/template-source/in-memory-template-source.js +2 -1
  102. package/dist/src/init/template-source/in-memory-template-source.js.map +1 -1
  103. package/dist/src/init/template-source/types.d.ts +1 -0
  104. package/dist/src/init/template-source/types.d.ts.map +1 -1
  105. package/dist/src/init/template-source/types.js +10 -1
  106. package/dist/src/init/template-source/types.js.map +1 -1
  107. package/dist/src/init/template-source/uri-template-source.d.ts +1 -1
  108. package/dist/src/init/template-source/uri-template-source.d.ts.map +1 -1
  109. package/dist/src/init/template-source/uri-template-source.js +23 -2
  110. package/dist/src/init/template-source/uri-template-source.js.map +1 -1
  111. package/dist/src/install/install.d.ts.map +1 -1
  112. package/dist/src/install/spec.d.ts.map +1 -1
  113. package/dist/src/internals/prettier-formatter.d.ts.map +1 -1
  114. package/dist/src/lib/decorators.js.map +1 -1
  115. package/dist/src/lib/examples.d.ts.map +1 -1
  116. package/dist/src/lib/examples.js.map +1 -1
  117. package/dist/src/lib/intrinsic/decorators.d.ts.map +1 -1
  118. package/dist/src/lib/intrinsic/tsp-index.d.ts +3 -2
  119. package/dist/src/lib/intrinsic/tsp-index.d.ts.map +1 -1
  120. package/dist/src/lib/paging.js.map +1 -1
  121. package/dist/src/lib/service.js.map +1 -1
  122. package/dist/src/lib/visibility.js.map +1 -1
  123. package/dist/src/module-resolver/esm/utils.d.ts.map +1 -1
  124. package/dist/src/module-resolver/module-resolver.d.ts.map +1 -1
  125. package/dist/src/module-resolver/module-resolver.js.map +1 -1
  126. package/dist/src/module-resolver/node-package-resolver.d.ts.map +1 -1
  127. package/dist/src/module-resolver/utils.d.ts.map +1 -1
  128. package/dist/src/module-resolver/utils.js +6 -2
  129. package/dist/src/module-resolver/utils.js.map +1 -1
  130. package/dist/src/package-manger/npm-package-download.js.map +1 -1
  131. package/dist/src/runner.js.map +1 -1
  132. package/dist/src/server/classify.d.ts.map +1 -1
  133. package/dist/src/server/classify.js +12 -4
  134. package/dist/src/server/classify.js.map +1 -1
  135. package/dist/src/server/completion.js +14 -1
  136. package/dist/src/server/completion.js.map +1 -1
  137. package/dist/src/server/debug.d.ts.map +1 -1
  138. package/dist/src/server/language-config.d.ts +4 -4
  139. package/dist/src/server/language-config.d.ts.map +1 -1
  140. package/dist/src/server/lib-provider.d.ts.map +1 -1
  141. package/dist/src/server/lib-provider.js.map +1 -1
  142. package/dist/src/server/npm-package-provider.d.ts.map +1 -1
  143. package/dist/src/server/npm-package-provider.js.map +1 -1
  144. package/dist/src/server/server-compile-manager.d.ts.map +1 -1
  145. package/dist/src/server/server-compile-manager.js.map +1 -1
  146. package/dist/src/server/server-track-action-task.d.ts.map +1 -1
  147. package/dist/src/server/server.js.map +1 -1
  148. package/dist/src/server/serverlib.js.map +1 -1
  149. package/dist/src/server/tmlanguage.d.ts.map +1 -1
  150. package/dist/src/server/tmlanguage.js +69 -1
  151. package/dist/src/server/tmlanguage.js.map +1 -1
  152. package/dist/src/server/tspconfig/completion.js.map +1 -1
  153. package/dist/src/server/type-details.js.map +1 -1
  154. package/dist/src/server/type-signature.js +4 -1
  155. package/dist/src/server/type-signature.js.map +1 -1
  156. package/dist/src/server/update-manager.d.ts.map +1 -1
  157. package/dist/src/server/update-manager.js.map +1 -1
  158. package/dist/src/testing/expect.d.ts.map +1 -1
  159. package/dist/src/testing/fs.d.ts.map +1 -1
  160. package/dist/src/testing/marked-template.d.ts.map +1 -1
  161. package/dist/src/testing/test-host.js.map +1 -1
  162. package/dist/src/testing/test-utils.js.map +1 -1
  163. package/dist/src/testing/tester.d.ts +11 -0
  164. package/dist/src/testing/tester.d.ts.map +1 -1
  165. package/dist/src/testing/tester.js +28 -3
  166. package/dist/src/testing/tester.js.map +1 -1
  167. package/dist/src/testing/types.d.ts.map +1 -1
  168. package/dist/src/testing/types.js.map +1 -1
  169. package/dist/src/typekit/kits/enum.d.ts +14 -1
  170. package/dist/src/typekit/kits/enum.d.ts.map +1 -1
  171. package/dist/src/typekit/kits/enum.js +2 -1
  172. package/dist/src/typekit/kits/enum.js.map +1 -1
  173. package/dist/src/typekit/kits/model.d.ts +12 -1
  174. package/dist/src/typekit/kits/model.d.ts.map +1 -1
  175. package/dist/src/typekit/kits/model.js +3 -2
  176. package/dist/src/typekit/kits/model.js.map +1 -1
  177. package/dist/src/typekit/kits/tuple.js.map +1 -1
  178. package/dist/src/typekit/kits/type.d.ts +2 -2
  179. package/dist/src/typekit/kits/type.d.ts.map +1 -1
  180. package/dist/src/typekit/kits/union.d.ts +12 -1
  181. package/dist/src/typekit/kits/union.d.ts.map +1 -1
  182. package/dist/src/typekit/kits/union.js +3 -3
  183. package/dist/src/typekit/kits/union.js.map +1 -1
  184. package/dist/src/typekit/kits/value.d.ts +2 -2
  185. package/dist/src/typekit/kits/value.d.ts.map +1 -1
  186. package/dist/src/typekit/utils.d.ts.map +1 -1
  187. package/dist/src/typekit/utils.js +17 -0
  188. package/dist/src/typekit/utils.js.map +1 -1
  189. package/dist/src/utils/custom-key-map.d.ts.map +1 -1
  190. package/dist/src/utils/duplicate-tracker.d.ts.map +1 -1
  191. package/dist/src/utils/misc.d.ts.map +1 -1
  192. package/dist/src/utils/misc.js.map +1 -1
  193. package/dist/src/yaml/diagnostics.js.map +1 -1
  194. package/dist/typespec.tmLanguage +209 -37
  195. package/package.json +10 -7
@@ -153,10 +153,10 @@ declare const diagnostics: {
153
153
  readonly "augment-decorator-target": {
154
154
  readonly severity: "error";
155
155
  readonly messages: {
156
- readonly default: "Augment decorator first argument must be a type reference.";
157
- readonly noInstance: "Cannot reference template instances.";
158
- readonly noModelExpression: "Cannot augment model expressions.";
159
- readonly noUnionExpression: "Cannot augment union expressions.";
156
+ readonly default: `Augment decorator first argument must be a type reference.`;
157
+ readonly noInstance: `Cannot reference template instances.`;
158
+ readonly noModelExpression: `Cannot augment model expressions.`;
159
+ readonly noUnionExpression: `Cannot augment union expressions.`;
160
160
  };
161
161
  };
162
162
  readonly "duplicate-decorator": {
@@ -190,6 +190,12 @@ declare const diagnostics: {
190
190
  readonly default: import("./types.js").CallableMessage<["nodeName"]>;
191
191
  };
192
192
  };
193
+ readonly "templated-declaration-in-expression": {
194
+ readonly severity: "error";
195
+ readonly messages: {
196
+ readonly default: "A declaration used as an expression cannot have template parameters as it cannot be referenced or instantiated.";
197
+ };
198
+ };
193
199
  readonly "default-required": {
194
200
  readonly severity: "error";
195
201
  readonly messages: {
@@ -250,6 +256,12 @@ declare const diagnostics: {
250
256
  readonly functionDeclarations: "Function declarations are an experimental feature that may change in the future. Use with caution and consider providing feedback to the TypeSpec team.";
251
257
  };
252
258
  };
259
+ readonly "declaration-expression-disabled": {
260
+ readonly severity: "error";
261
+ readonly messages: {
262
+ readonly default: "Declaration expressions require the 'declaration-expressions' feature to be enabled. Add 'declaration-expressions' to the 'features' list in your tspconfig.yaml.";
263
+ };
264
+ };
253
265
  readonly "union-extends-disabled": {
254
266
  readonly severity: "error";
255
267
  readonly messages: {
@@ -412,8 +424,8 @@ declare const diagnostics: {
412
424
  readonly messages: {
413
425
  readonly default: import("./types.js").CallableMessage<["name"]>;
414
426
  readonly model: import("./types.js").CallableMessage<["name"]>;
415
- readonly modelExpression: "Is a model expression type, but is being used as a value here. Use #{} to create an object value.";
416
- readonly tuple: "Is a tuple type, but is being used as a value here. Use #[] to create an array value.";
427
+ readonly modelExpression: `Is a model expression type, but is being used as a value here. Use #{} to create an object value.`;
428
+ readonly tuple: `Is a tuple type, but is being used as a value here. Use #[] to create an array value.`;
417
429
  readonly templateConstraint: import("./types.js").CallableMessage<["name"]>;
418
430
  readonly functionReturn: import("./types.js").CallableMessage<[]>;
419
431
  };
@@ -434,7 +446,7 @@ declare const diagnostics: {
434
446
  readonly "invalid-primitive-init": {
435
447
  readonly severity: "error";
436
448
  readonly messages: {
437
- readonly default: "Instantiating scalar deriving from 'string', 'numeric' or 'boolean' can only take a single argument.";
449
+ readonly default: `Instantiating scalar deriving from 'string', 'numeric' or 'boolean' can only take a single argument.`;
438
450
  readonly invalidArg: import("./types.js").CallableMessage<["expected", "actual"]>;
439
451
  };
440
452
  };
@@ -597,7 +609,7 @@ declare const diagnostics: {
597
609
  readonly "overload-same-parent": {
598
610
  readonly severity: "error";
599
611
  readonly messages: {
600
- readonly default: "Overload must be in the same interface or namespace.";
612
+ readonly default: `Overload must be in the same interface or namespace.`;
601
613
  };
602
614
  };
603
615
  readonly shadow: {
@@ -959,7 +971,7 @@ declare const diagnostics: {
959
971
  readonly wrongType: import("./types.js").CallableMessage<["encoding", "type", "expected"]>;
960
972
  readonly wrongEncodingType: import("./types.js").CallableMessage<["encoding", "type", "expected", "actual"]>;
961
973
  readonly wrongNumericEncodingType: import("./types.js").CallableMessage<["encoding", "type", "expected", "actual", "expected", "encoding"]>;
962
- readonly firstArg: "First argument of \"@encode\" must be the encoding name or the string type when encoding numeric or boolean types.";
974
+ readonly firstArg: `First argument of "@encode" must be the encoding name or the string type when encoding numeric or boolean types.`;
963
975
  };
964
976
  };
965
977
  readonly "invalid-mime-type": {
@@ -1013,7 +1025,7 @@ declare const diagnostics: {
1013
1025
  readonly "service-decorator-duplicate": {
1014
1026
  readonly severity: "error";
1015
1027
  readonly messages: {
1016
- readonly default: "@service can only be set once per TypeSpec document.";
1028
+ readonly default: `@service can only be set once per TypeSpec document.`;
1017
1029
  };
1018
1030
  };
1019
1031
  readonly "list-type-not-model": {
@@ -1163,7 +1175,7 @@ declare const diagnostics: {
1163
1175
  };
1164
1176
  export type CompilerDiagnostics = TypeOfDiagnostics<typeof diagnostics>;
1165
1177
  export declare const compilerDiagnosticCodes: Set<string>;
1166
- export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-expected" | "binary-digit-expected" | "unterminated" | "creating-file" | "invalid-escape-sequence" | "no-new-line-start-triple-quote" | "no-new-line-end-triple-quote" | "triple-quote-indent" | "invalid-character" | "file-not-found" | "file-load" | "init-template-invalid-json" | "init-template-download-failed" | "multiple-blockless-namespace" | "blockless-namespace-first" | "import-first" | "duplicate-import" | "self-import" | "token-expected" | "unknown-directive" | "augment-decorator-target" | "duplicate-decorator" | "decorator-conflict" | "reserved-identifier" | "invalid-directive-location" | "invalid-decorator-location" | "default-required" | "invalid-template-argument-name" | "invalid-template-default" | "required-parameter-first" | "rest-parameter-last" | "rest-parameter-required" | "doc-invalid-identifier" | "experimental-feature" | "union-extends-disabled" | "auto-decorator-disabled" | "using-invalid-ref" | "invalid-type-ref" | "invalid-template-args" | "intersect-non-model" | "intersect-invalid-index" | "incompatible-indexer" | "no-array-properties" | "intersect-duplicate-property" | "invalid-decorator" | "invalid-ref" | "duplicate-property" | "override-property-mismatch" | "extend-scalar" | "extend-model" | "extend-union" | "is-model" | "is-operation" | "spread-model" | "unsupported-default" | "spread-object" | "expect-value" | "non-callable" | "named-init-required" | "invalid-primitive-init" | "ambiguous-scalar-type" | "unassignable" | "property-unassignable" | "property-required" | "parameter-required" | "value-in-type" | "no-prop" | "missing-index" | "missing-property" | "unexpected-property" | "extends-interface" | "extends-interface-duplicate" | "interface-duplicate" | "union-duplicate" | "enum-member-duplicate" | "constructor-duplicate" | "spread-enum" | "decorator-fail" | "rest-parameter-array" | "invalid-modifier" | "function-return" | "invalid-value" | "fn-in-union-expression" | "missing-implementation" | "missing-extern-declaration" | "overload-same-parent" | "shadow" | "invalid-deprecation-argument" | "duplicate-deprecation" | "config-invalid-argument" | "config-circular-variable" | "config-path-absolute" | "config-invalid-name" | "path-unix-style" | "config-path-not-found" | "config-project-kind-filename" | "config-project-only-option" | "config-unknown-feature" | "config-project-not-as-cli-config" | "dynamic-import" | "invalid-import" | "invalid-main" | "import-not-found" | "library-invalid" | "incompatible-library" | "compiler-version-mismatch" | "duplicate-symbol" | "duplicate-suppression" | "ambiguous-short-name" | "decorator-decl-target" | "mixed-string-template" | "non-literal-string-template" | "ambiguous-symbol" | "duplicate-using" | "on-validate-fail" | "emitter-not-found" | "invalid-emitter" | "js-error" | "missing-import" | "invalid-rule-ref" | "unknown-rule" | "unknown-rule-set" | "rule-enabled-disabled" | "invalid-rule-options" | "circular-ruleset-file" | "ruleset-file-in-library" | "format-failed" | "invalid-pattern-regex" | "decorator-wrong-target" | "invalid-argument" | "invalid-argument-count" | "known-values-invalid-enum" | "deprecated" | "no-optional-key" | "invalid-discriminated-union" | "invalid-discriminated-union-variant" | "missing-discriminator-property" | "invalid-discriminator-value" | "invalid-encode" | "invalid-mime-type" | "no-mime-type-suffix" | "encoded-name-conflict" | "incompatible-paging-props" | "invalid-paging-prop" | "duplicate-paging-prop" | "missing-paging-items" | "service-decorator-duplicate" | "list-type-not-model" | "invalid-range" | "add-response" | "add-parameter" | "add-model-property" | "add-model-property-fail" | "add-response-type" | "circular-base-type" | "circular-constraint" | "circular-op-signature" | "circular-alias-type" | "circular-const" | "circular-prop" | "conflict-marker" | "visibility-sealed" | "default-visibility-not-member" | "operation-visibility-constraint-empty" | "no-compatible-vs-installed" | "vs-extension-windows-only" | "vsix-download-failed" | "vscode-in-path" | "invalid-option-flag" | "cli-command-deprecated", M extends keyof {
1178
+ export declare const createDiagnostic: <C extends "add-model-property" | "add-model-property-fail" | "add-parameter" | "add-response" | "add-response-type" | "ambiguous-scalar-type" | "ambiguous-short-name" | "ambiguous-symbol" | "augment-decorator-target" | "auto-decorator-disabled" | "binary-digit-expected" | "blockless-namespace-first" | "circular-alias-type" | "circular-base-type" | "circular-const" | "circular-constraint" | "circular-op-signature" | "circular-prop" | "circular-ruleset-file" | "cli-command-deprecated" | "compiler-version-mismatch" | "config-circular-variable" | "config-invalid-argument" | "config-invalid-name" | "config-path-absolute" | "config-path-not-found" | "config-project-kind-filename" | "config-project-not-as-cli-config" | "config-project-only-option" | "config-unknown-feature" | "conflict-marker" | "constructor-duplicate" | "creating-file" | "declaration-expression-disabled" | "decorator-conflict" | "decorator-decl-target" | "decorator-fail" | "decorator-wrong-target" | "default-required" | "default-visibility-not-member" | "deprecated" | "digit-expected" | "doc-invalid-identifier" | "duplicate-decorator" | "duplicate-deprecation" | "duplicate-import" | "duplicate-paging-prop" | "duplicate-property" | "duplicate-suppression" | "duplicate-symbol" | "duplicate-using" | "dynamic-import" | "emitter-not-found" | "encoded-name-conflict" | "enum-member-duplicate" | "expect-value" | "experimental-feature" | "extend-model" | "extend-scalar" | "extend-union" | "extends-interface" | "extends-interface-duplicate" | "file-load" | "file-not-found" | "fn-in-union-expression" | "format-failed" | "function-return" | "hex-digit-expected" | "import-first" | "import-not-found" | "incompatible-indexer" | "incompatible-library" | "incompatible-paging-props" | "init-template-download-failed" | "init-template-invalid-json" | "interface-duplicate" | "intersect-duplicate-property" | "intersect-invalid-index" | "intersect-non-model" | "invalid-argument" | "invalid-argument-count" | "invalid-character" | "invalid-decorator" | "invalid-decorator-location" | "invalid-deprecation-argument" | "invalid-directive-location" | "invalid-discriminated-union" | "invalid-discriminated-union-variant" | "invalid-discriminator-value" | "invalid-emitter" | "invalid-encode" | "invalid-escape-sequence" | "invalid-import" | "invalid-main" | "invalid-mime-type" | "invalid-modifier" | "invalid-option-flag" | "invalid-paging-prop" | "invalid-pattern-regex" | "invalid-primitive-init" | "invalid-range" | "invalid-ref" | "invalid-rule-options" | "invalid-rule-ref" | "invalid-template-args" | "invalid-template-argument-name" | "invalid-template-default" | "invalid-type-ref" | "invalid-value" | "is-model" | "is-operation" | "js-error" | "known-values-invalid-enum" | "library-invalid" | "list-type-not-model" | "missing-discriminator-property" | "missing-extern-declaration" | "missing-implementation" | "missing-import" | "missing-index" | "missing-paging-items" | "missing-property" | "mixed-string-template" | "multiple-blockless-namespace" | "named-init-required" | "no-array-properties" | "no-compatible-vs-installed" | "no-mime-type-suffix" | "no-new-line-end-triple-quote" | "no-new-line-start-triple-quote" | "no-optional-key" | "no-prop" | "non-callable" | "non-literal-string-template" | "on-validate-fail" | "operation-visibility-constraint-empty" | "overload-same-parent" | "override-property-mismatch" | "parameter-required" | "path-unix-style" | "property-required" | "property-unassignable" | "required-parameter-first" | "reserved-identifier" | "rest-parameter-array" | "rest-parameter-last" | "rest-parameter-required" | "rule-enabled-disabled" | "ruleset-file-in-library" | "self-import" | "service-decorator-duplicate" | "shadow" | "spread-enum" | "spread-model" | "spread-object" | "templated-declaration-in-expression" | "token-expected" | "triple-quote-indent" | "unassignable" | "unexpected-property" | "union-duplicate" | "union-extends-disabled" | "unknown-directive" | "unknown-rule" | "unknown-rule-set" | "unsupported-default" | "unterminated" | "using-invalid-ref" | "value-in-type" | "visibility-sealed" | "vs-extension-windows-only" | "vscode-in-path" | "vsix-download-failed", M extends keyof {
1167
1179
  "digit-expected": {
1168
1180
  readonly default: "Digit expected.";
1169
1181
  };
@@ -1238,10 +1250,10 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1238
1250
  readonly default: import("./types.js").CallableMessage<["id"]>;
1239
1251
  };
1240
1252
  "augment-decorator-target": {
1241
- readonly default: "Augment decorator first argument must be a type reference.";
1242
- readonly noInstance: "Cannot reference template instances.";
1243
- readonly noModelExpression: "Cannot augment model expressions.";
1244
- readonly noUnionExpression: "Cannot augment union expressions.";
1253
+ readonly default: `Augment decorator first argument must be a type reference.`;
1254
+ readonly noInstance: `Cannot reference template instances.`;
1255
+ readonly noModelExpression: `Cannot augment model expressions.`;
1256
+ readonly noUnionExpression: `Cannot augment union expressions.`;
1245
1257
  };
1246
1258
  "duplicate-decorator": {
1247
1259
  readonly default: import("./types.js").CallableMessage<["decoratorName"]>;
@@ -1259,6 +1271,9 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1259
1271
  "invalid-decorator-location": {
1260
1272
  readonly default: import("./types.js").CallableMessage<["nodeName"]>;
1261
1273
  };
1274
+ "templated-declaration-in-expression": {
1275
+ readonly default: "A declaration used as an expression cannot have template parameters as it cannot be referenced or instantiated.";
1276
+ };
1262
1277
  "default-required": {
1263
1278
  readonly default: "Required template parameters must not follow optional template parameters";
1264
1279
  };
@@ -1288,6 +1303,9 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1288
1303
  readonly default: import("./types.js").CallableMessage<["feature"]>;
1289
1304
  readonly functionDeclarations: "Function declarations are an experimental feature that may change in the future. Use with caution and consider providing feedback to the TypeSpec team.";
1290
1305
  };
1306
+ "declaration-expression-disabled": {
1307
+ readonly default: "Declaration expressions require the 'declaration-expressions' feature to be enabled. Add 'declaration-expressions' to the 'features' list in your tspconfig.yaml.";
1308
+ };
1291
1309
  "union-extends-disabled": {
1292
1310
  readonly default: "Union `extends` clauses require the 'union-extends' feature to be enabled. Add 'union-extends' to the 'features' list in your tspconfig.yaml.";
1293
1311
  };
@@ -1382,8 +1400,8 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1382
1400
  "expect-value": {
1383
1401
  readonly default: import("./types.js").CallableMessage<["name"]>;
1384
1402
  readonly model: import("./types.js").CallableMessage<["name"]>;
1385
- readonly modelExpression: "Is a model expression type, but is being used as a value here. Use #{} to create an object value.";
1386
- readonly tuple: "Is a tuple type, but is being used as a value here. Use #[] to create an array value.";
1403
+ readonly modelExpression: `Is a model expression type, but is being used as a value here. Use #{} to create an object value.`;
1404
+ readonly tuple: `Is a tuple type, but is being used as a value here. Use #[] to create an array value.`;
1387
1405
  readonly templateConstraint: import("./types.js").CallableMessage<["name"]>;
1388
1406
  readonly functionReturn: import("./types.js").CallableMessage<[]>;
1389
1407
  };
@@ -1395,7 +1413,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1395
1413
  readonly default: import("./types.js").CallableMessage<[]>;
1396
1414
  };
1397
1415
  "invalid-primitive-init": {
1398
- readonly default: "Instantiating scalar deriving from 'string', 'numeric' or 'boolean' can only take a single argument.";
1416
+ readonly default: `Instantiating scalar deriving from 'string', 'numeric' or 'boolean' can only take a single argument.`;
1399
1417
  readonly invalidArg: import("./types.js").CallableMessage<["expected", "actual"]>;
1400
1418
  };
1401
1419
  "ambiguous-scalar-type": {
@@ -1481,7 +1499,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1481
1499
  readonly default: import("./types.js").CallableMessage<["name"]>;
1482
1500
  };
1483
1501
  "overload-same-parent": {
1484
- readonly default: "Overload must be in the same interface or namespace.";
1502
+ readonly default: `Overload must be in the same interface or namespace.`;
1485
1503
  };
1486
1504
  shadow: {
1487
1505
  readonly default: import("./types.js").CallableMessage<["name"]>;
@@ -1660,7 +1678,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1660
1678
  readonly wrongType: import("./types.js").CallableMessage<["encoding", "type", "expected"]>;
1661
1679
  readonly wrongEncodingType: import("./types.js").CallableMessage<["encoding", "type", "expected", "actual"]>;
1662
1680
  readonly wrongNumericEncodingType: import("./types.js").CallableMessage<["encoding", "type", "expected", "actual", "expected", "encoding"]>;
1663
- readonly firstArg: "First argument of \"@encode\" must be the encoding name or the string type when encoding numeric or boolean types.";
1681
+ readonly firstArg: `First argument of "@encode" must be the encoding name or the string type when encoding numeric or boolean types.`;
1664
1682
  };
1665
1683
  "invalid-mime-type": {
1666
1684
  readonly default: import("./types.js").CallableMessage<["mimeType"]>;
@@ -1687,7 +1705,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1687
1705
  readonly default: import("./types.js").CallableMessage<["operationName"]>;
1688
1706
  };
1689
1707
  "service-decorator-duplicate": {
1690
- readonly default: "@service can only be set once per TypeSpec document.";
1708
+ readonly default: `@service can only be set once per TypeSpec document.`;
1691
1709
  };
1692
1710
  "list-type-not-model": {
1693
1711
  readonly default: "@list decorator's parameter must be a model type.";
@@ -1836,10 +1854,10 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1836
1854
  readonly default: import("./types.js").CallableMessage<["id"]>;
1837
1855
  };
1838
1856
  "augment-decorator-target": {
1839
- readonly default: "Augment decorator first argument must be a type reference.";
1840
- readonly noInstance: "Cannot reference template instances.";
1841
- readonly noModelExpression: "Cannot augment model expressions.";
1842
- readonly noUnionExpression: "Cannot augment union expressions.";
1857
+ readonly default: `Augment decorator first argument must be a type reference.`;
1858
+ readonly noInstance: `Cannot reference template instances.`;
1859
+ readonly noModelExpression: `Cannot augment model expressions.`;
1860
+ readonly noUnionExpression: `Cannot augment union expressions.`;
1843
1861
  };
1844
1862
  "duplicate-decorator": {
1845
1863
  readonly default: import("./types.js").CallableMessage<["decoratorName"]>;
@@ -1857,6 +1875,9 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1857
1875
  "invalid-decorator-location": {
1858
1876
  readonly default: import("./types.js").CallableMessage<["nodeName"]>;
1859
1877
  };
1878
+ "templated-declaration-in-expression": {
1879
+ readonly default: "A declaration used as an expression cannot have template parameters as it cannot be referenced or instantiated.";
1880
+ };
1860
1881
  "default-required": {
1861
1882
  readonly default: "Required template parameters must not follow optional template parameters";
1862
1883
  };
@@ -1886,6 +1907,9 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1886
1907
  readonly default: import("./types.js").CallableMessage<["feature"]>;
1887
1908
  readonly functionDeclarations: "Function declarations are an experimental feature that may change in the future. Use with caution and consider providing feedback to the TypeSpec team.";
1888
1909
  };
1910
+ "declaration-expression-disabled": {
1911
+ readonly default: "Declaration expressions require the 'declaration-expressions' feature to be enabled. Add 'declaration-expressions' to the 'features' list in your tspconfig.yaml.";
1912
+ };
1889
1913
  "union-extends-disabled": {
1890
1914
  readonly default: "Union `extends` clauses require the 'union-extends' feature to be enabled. Add 'union-extends' to the 'features' list in your tspconfig.yaml.";
1891
1915
  };
@@ -1980,8 +2004,8 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1980
2004
  "expect-value": {
1981
2005
  readonly default: import("./types.js").CallableMessage<["name"]>;
1982
2006
  readonly model: import("./types.js").CallableMessage<["name"]>;
1983
- readonly modelExpression: "Is a model expression type, but is being used as a value here. Use #{} to create an object value.";
1984
- readonly tuple: "Is a tuple type, but is being used as a value here. Use #[] to create an array value.";
2007
+ readonly modelExpression: `Is a model expression type, but is being used as a value here. Use #{} to create an object value.`;
2008
+ readonly tuple: `Is a tuple type, but is being used as a value here. Use #[] to create an array value.`;
1985
2009
  readonly templateConstraint: import("./types.js").CallableMessage<["name"]>;
1986
2010
  readonly functionReturn: import("./types.js").CallableMessage<[]>;
1987
2011
  };
@@ -1993,7 +2017,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
1993
2017
  readonly default: import("./types.js").CallableMessage<[]>;
1994
2018
  };
1995
2019
  "invalid-primitive-init": {
1996
- readonly default: "Instantiating scalar deriving from 'string', 'numeric' or 'boolean' can only take a single argument.";
2020
+ readonly default: `Instantiating scalar deriving from 'string', 'numeric' or 'boolean' can only take a single argument.`;
1997
2021
  readonly invalidArg: import("./types.js").CallableMessage<["expected", "actual"]>;
1998
2022
  };
1999
2023
  "ambiguous-scalar-type": {
@@ -2079,7 +2103,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2079
2103
  readonly default: import("./types.js").CallableMessage<["name"]>;
2080
2104
  };
2081
2105
  "overload-same-parent": {
2082
- readonly default: "Overload must be in the same interface or namespace.";
2106
+ readonly default: `Overload must be in the same interface or namespace.`;
2083
2107
  };
2084
2108
  shadow: {
2085
2109
  readonly default: import("./types.js").CallableMessage<["name"]>;
@@ -2258,7 +2282,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2258
2282
  readonly wrongType: import("./types.js").CallableMessage<["encoding", "type", "expected"]>;
2259
2283
  readonly wrongEncodingType: import("./types.js").CallableMessage<["encoding", "type", "expected", "actual"]>;
2260
2284
  readonly wrongNumericEncodingType: import("./types.js").CallableMessage<["encoding", "type", "expected", "actual", "expected", "encoding"]>;
2261
- readonly firstArg: "First argument of \"@encode\" must be the encoding name or the string type when encoding numeric or boolean types.";
2285
+ readonly firstArg: `First argument of "@encode" must be the encoding name or the string type when encoding numeric or boolean types.`;
2262
2286
  };
2263
2287
  "invalid-mime-type": {
2264
2288
  readonly default: import("./types.js").CallableMessage<["mimeType"]>;
@@ -2285,7 +2309,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2285
2309
  readonly default: import("./types.js").CallableMessage<["operationName"]>;
2286
2310
  };
2287
2311
  "service-decorator-duplicate": {
2288
- readonly default: "@service can only be set once per TypeSpec document.";
2312
+ readonly default: `@service can only be set once per TypeSpec document.`;
2289
2313
  };
2290
2314
  "list-type-not-model": {
2291
2315
  readonly default: "@list decorator's parameter must be a model type.";
@@ -2359,7 +2383,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2359
2383
  "cli-command-deprecated": {
2360
2384
  readonly default: import("./types.js").CallableMessage<["command", "docsUrl"]>;
2361
2385
  };
2362
- }, C, M>) => import("./types.js").Diagnostic, reportDiagnostic: <C extends "digit-expected" | "hex-digit-expected" | "binary-digit-expected" | "unterminated" | "creating-file" | "invalid-escape-sequence" | "no-new-line-start-triple-quote" | "no-new-line-end-triple-quote" | "triple-quote-indent" | "invalid-character" | "file-not-found" | "file-load" | "init-template-invalid-json" | "init-template-download-failed" | "multiple-blockless-namespace" | "blockless-namespace-first" | "import-first" | "duplicate-import" | "self-import" | "token-expected" | "unknown-directive" | "augment-decorator-target" | "duplicate-decorator" | "decorator-conflict" | "reserved-identifier" | "invalid-directive-location" | "invalid-decorator-location" | "default-required" | "invalid-template-argument-name" | "invalid-template-default" | "required-parameter-first" | "rest-parameter-last" | "rest-parameter-required" | "doc-invalid-identifier" | "experimental-feature" | "union-extends-disabled" | "auto-decorator-disabled" | "using-invalid-ref" | "invalid-type-ref" | "invalid-template-args" | "intersect-non-model" | "intersect-invalid-index" | "incompatible-indexer" | "no-array-properties" | "intersect-duplicate-property" | "invalid-decorator" | "invalid-ref" | "duplicate-property" | "override-property-mismatch" | "extend-scalar" | "extend-model" | "extend-union" | "is-model" | "is-operation" | "spread-model" | "unsupported-default" | "spread-object" | "expect-value" | "non-callable" | "named-init-required" | "invalid-primitive-init" | "ambiguous-scalar-type" | "unassignable" | "property-unassignable" | "property-required" | "parameter-required" | "value-in-type" | "no-prop" | "missing-index" | "missing-property" | "unexpected-property" | "extends-interface" | "extends-interface-duplicate" | "interface-duplicate" | "union-duplicate" | "enum-member-duplicate" | "constructor-duplicate" | "spread-enum" | "decorator-fail" | "rest-parameter-array" | "invalid-modifier" | "function-return" | "invalid-value" | "fn-in-union-expression" | "missing-implementation" | "missing-extern-declaration" | "overload-same-parent" | "shadow" | "invalid-deprecation-argument" | "duplicate-deprecation" | "config-invalid-argument" | "config-circular-variable" | "config-path-absolute" | "config-invalid-name" | "path-unix-style" | "config-path-not-found" | "config-project-kind-filename" | "config-project-only-option" | "config-unknown-feature" | "config-project-not-as-cli-config" | "dynamic-import" | "invalid-import" | "invalid-main" | "import-not-found" | "library-invalid" | "incompatible-library" | "compiler-version-mismatch" | "duplicate-symbol" | "duplicate-suppression" | "ambiguous-short-name" | "decorator-decl-target" | "mixed-string-template" | "non-literal-string-template" | "ambiguous-symbol" | "duplicate-using" | "on-validate-fail" | "emitter-not-found" | "invalid-emitter" | "js-error" | "missing-import" | "invalid-rule-ref" | "unknown-rule" | "unknown-rule-set" | "rule-enabled-disabled" | "invalid-rule-options" | "circular-ruleset-file" | "ruleset-file-in-library" | "format-failed" | "invalid-pattern-regex" | "decorator-wrong-target" | "invalid-argument" | "invalid-argument-count" | "known-values-invalid-enum" | "deprecated" | "no-optional-key" | "invalid-discriminated-union" | "invalid-discriminated-union-variant" | "missing-discriminator-property" | "invalid-discriminator-value" | "invalid-encode" | "invalid-mime-type" | "no-mime-type-suffix" | "encoded-name-conflict" | "incompatible-paging-props" | "invalid-paging-prop" | "duplicate-paging-prop" | "missing-paging-items" | "service-decorator-duplicate" | "list-type-not-model" | "invalid-range" | "add-response" | "add-parameter" | "add-model-property" | "add-model-property-fail" | "add-response-type" | "circular-base-type" | "circular-constraint" | "circular-op-signature" | "circular-alias-type" | "circular-const" | "circular-prop" | "conflict-marker" | "visibility-sealed" | "default-visibility-not-member" | "operation-visibility-constraint-empty" | "no-compatible-vs-installed" | "vs-extension-windows-only" | "vsix-download-failed" | "vscode-in-path" | "invalid-option-flag" | "cli-command-deprecated", M extends keyof {
2386
+ }, C, M>) => import("./types.js").Diagnostic, reportDiagnostic: <C extends "add-model-property" | "add-model-property-fail" | "add-parameter" | "add-response" | "add-response-type" | "ambiguous-scalar-type" | "ambiguous-short-name" | "ambiguous-symbol" | "augment-decorator-target" | "auto-decorator-disabled" | "binary-digit-expected" | "blockless-namespace-first" | "circular-alias-type" | "circular-base-type" | "circular-const" | "circular-constraint" | "circular-op-signature" | "circular-prop" | "circular-ruleset-file" | "cli-command-deprecated" | "compiler-version-mismatch" | "config-circular-variable" | "config-invalid-argument" | "config-invalid-name" | "config-path-absolute" | "config-path-not-found" | "config-project-kind-filename" | "config-project-not-as-cli-config" | "config-project-only-option" | "config-unknown-feature" | "conflict-marker" | "constructor-duplicate" | "creating-file" | "declaration-expression-disabled" | "decorator-conflict" | "decorator-decl-target" | "decorator-fail" | "decorator-wrong-target" | "default-required" | "default-visibility-not-member" | "deprecated" | "digit-expected" | "doc-invalid-identifier" | "duplicate-decorator" | "duplicate-deprecation" | "duplicate-import" | "duplicate-paging-prop" | "duplicate-property" | "duplicate-suppression" | "duplicate-symbol" | "duplicate-using" | "dynamic-import" | "emitter-not-found" | "encoded-name-conflict" | "enum-member-duplicate" | "expect-value" | "experimental-feature" | "extend-model" | "extend-scalar" | "extend-union" | "extends-interface" | "extends-interface-duplicate" | "file-load" | "file-not-found" | "fn-in-union-expression" | "format-failed" | "function-return" | "hex-digit-expected" | "import-first" | "import-not-found" | "incompatible-indexer" | "incompatible-library" | "incompatible-paging-props" | "init-template-download-failed" | "init-template-invalid-json" | "interface-duplicate" | "intersect-duplicate-property" | "intersect-invalid-index" | "intersect-non-model" | "invalid-argument" | "invalid-argument-count" | "invalid-character" | "invalid-decorator" | "invalid-decorator-location" | "invalid-deprecation-argument" | "invalid-directive-location" | "invalid-discriminated-union" | "invalid-discriminated-union-variant" | "invalid-discriminator-value" | "invalid-emitter" | "invalid-encode" | "invalid-escape-sequence" | "invalid-import" | "invalid-main" | "invalid-mime-type" | "invalid-modifier" | "invalid-option-flag" | "invalid-paging-prop" | "invalid-pattern-regex" | "invalid-primitive-init" | "invalid-range" | "invalid-ref" | "invalid-rule-options" | "invalid-rule-ref" | "invalid-template-args" | "invalid-template-argument-name" | "invalid-template-default" | "invalid-type-ref" | "invalid-value" | "is-model" | "is-operation" | "js-error" | "known-values-invalid-enum" | "library-invalid" | "list-type-not-model" | "missing-discriminator-property" | "missing-extern-declaration" | "missing-implementation" | "missing-import" | "missing-index" | "missing-paging-items" | "missing-property" | "mixed-string-template" | "multiple-blockless-namespace" | "named-init-required" | "no-array-properties" | "no-compatible-vs-installed" | "no-mime-type-suffix" | "no-new-line-end-triple-quote" | "no-new-line-start-triple-quote" | "no-optional-key" | "no-prop" | "non-callable" | "non-literal-string-template" | "on-validate-fail" | "operation-visibility-constraint-empty" | "overload-same-parent" | "override-property-mismatch" | "parameter-required" | "path-unix-style" | "property-required" | "property-unassignable" | "required-parameter-first" | "reserved-identifier" | "rest-parameter-array" | "rest-parameter-last" | "rest-parameter-required" | "rule-enabled-disabled" | "ruleset-file-in-library" | "self-import" | "service-decorator-duplicate" | "shadow" | "spread-enum" | "spread-model" | "spread-object" | "templated-declaration-in-expression" | "token-expected" | "triple-quote-indent" | "unassignable" | "unexpected-property" | "union-duplicate" | "union-extends-disabled" | "unknown-directive" | "unknown-rule" | "unknown-rule-set" | "unsupported-default" | "unterminated" | "using-invalid-ref" | "value-in-type" | "visibility-sealed" | "vs-extension-windows-only" | "vscode-in-path" | "vsix-download-failed", M extends keyof {
2363
2387
  "digit-expected": {
2364
2388
  readonly default: "Digit expected.";
2365
2389
  };
@@ -2434,10 +2458,10 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2434
2458
  readonly default: import("./types.js").CallableMessage<["id"]>;
2435
2459
  };
2436
2460
  "augment-decorator-target": {
2437
- readonly default: "Augment decorator first argument must be a type reference.";
2438
- readonly noInstance: "Cannot reference template instances.";
2439
- readonly noModelExpression: "Cannot augment model expressions.";
2440
- readonly noUnionExpression: "Cannot augment union expressions.";
2461
+ readonly default: `Augment decorator first argument must be a type reference.`;
2462
+ readonly noInstance: `Cannot reference template instances.`;
2463
+ readonly noModelExpression: `Cannot augment model expressions.`;
2464
+ readonly noUnionExpression: `Cannot augment union expressions.`;
2441
2465
  };
2442
2466
  "duplicate-decorator": {
2443
2467
  readonly default: import("./types.js").CallableMessage<["decoratorName"]>;
@@ -2455,6 +2479,9 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2455
2479
  "invalid-decorator-location": {
2456
2480
  readonly default: import("./types.js").CallableMessage<["nodeName"]>;
2457
2481
  };
2482
+ "templated-declaration-in-expression": {
2483
+ readonly default: "A declaration used as an expression cannot have template parameters as it cannot be referenced or instantiated.";
2484
+ };
2458
2485
  "default-required": {
2459
2486
  readonly default: "Required template parameters must not follow optional template parameters";
2460
2487
  };
@@ -2484,6 +2511,9 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2484
2511
  readonly default: import("./types.js").CallableMessage<["feature"]>;
2485
2512
  readonly functionDeclarations: "Function declarations are an experimental feature that may change in the future. Use with caution and consider providing feedback to the TypeSpec team.";
2486
2513
  };
2514
+ "declaration-expression-disabled": {
2515
+ readonly default: "Declaration expressions require the 'declaration-expressions' feature to be enabled. Add 'declaration-expressions' to the 'features' list in your tspconfig.yaml.";
2516
+ };
2487
2517
  "union-extends-disabled": {
2488
2518
  readonly default: "Union `extends` clauses require the 'union-extends' feature to be enabled. Add 'union-extends' to the 'features' list in your tspconfig.yaml.";
2489
2519
  };
@@ -2578,8 +2608,8 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2578
2608
  "expect-value": {
2579
2609
  readonly default: import("./types.js").CallableMessage<["name"]>;
2580
2610
  readonly model: import("./types.js").CallableMessage<["name"]>;
2581
- readonly modelExpression: "Is a model expression type, but is being used as a value here. Use #{} to create an object value.";
2582
- readonly tuple: "Is a tuple type, but is being used as a value here. Use #[] to create an array value.";
2611
+ readonly modelExpression: `Is a model expression type, but is being used as a value here. Use #{} to create an object value.`;
2612
+ readonly tuple: `Is a tuple type, but is being used as a value here. Use #[] to create an array value.`;
2583
2613
  readonly templateConstraint: import("./types.js").CallableMessage<["name"]>;
2584
2614
  readonly functionReturn: import("./types.js").CallableMessage<[]>;
2585
2615
  };
@@ -2591,7 +2621,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2591
2621
  readonly default: import("./types.js").CallableMessage<[]>;
2592
2622
  };
2593
2623
  "invalid-primitive-init": {
2594
- readonly default: "Instantiating scalar deriving from 'string', 'numeric' or 'boolean' can only take a single argument.";
2624
+ readonly default: `Instantiating scalar deriving from 'string', 'numeric' or 'boolean' can only take a single argument.`;
2595
2625
  readonly invalidArg: import("./types.js").CallableMessage<["expected", "actual"]>;
2596
2626
  };
2597
2627
  "ambiguous-scalar-type": {
@@ -2677,7 +2707,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2677
2707
  readonly default: import("./types.js").CallableMessage<["name"]>;
2678
2708
  };
2679
2709
  "overload-same-parent": {
2680
- readonly default: "Overload must be in the same interface or namespace.";
2710
+ readonly default: `Overload must be in the same interface or namespace.`;
2681
2711
  };
2682
2712
  shadow: {
2683
2713
  readonly default: import("./types.js").CallableMessage<["name"]>;
@@ -2856,7 +2886,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2856
2886
  readonly wrongType: import("./types.js").CallableMessage<["encoding", "type", "expected"]>;
2857
2887
  readonly wrongEncodingType: import("./types.js").CallableMessage<["encoding", "type", "expected", "actual"]>;
2858
2888
  readonly wrongNumericEncodingType: import("./types.js").CallableMessage<["encoding", "type", "expected", "actual", "expected", "encoding"]>;
2859
- readonly firstArg: "First argument of \"@encode\" must be the encoding name or the string type when encoding numeric or boolean types.";
2889
+ readonly firstArg: `First argument of "@encode" must be the encoding name or the string type when encoding numeric or boolean types.`;
2860
2890
  };
2861
2891
  "invalid-mime-type": {
2862
2892
  readonly default: import("./types.js").CallableMessage<["mimeType"]>;
@@ -2883,7 +2913,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
2883
2913
  readonly default: import("./types.js").CallableMessage<["operationName"]>;
2884
2914
  };
2885
2915
  "service-decorator-duplicate": {
2886
- readonly default: "@service can only be set once per TypeSpec document.";
2916
+ readonly default: `@service can only be set once per TypeSpec document.`;
2887
2917
  };
2888
2918
  "list-type-not-model": {
2889
2919
  readonly default: "@list decorator's parameter must be a model type.";
@@ -3032,10 +3062,10 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
3032
3062
  readonly default: import("./types.js").CallableMessage<["id"]>;
3033
3063
  };
3034
3064
  "augment-decorator-target": {
3035
- readonly default: "Augment decorator first argument must be a type reference.";
3036
- readonly noInstance: "Cannot reference template instances.";
3037
- readonly noModelExpression: "Cannot augment model expressions.";
3038
- readonly noUnionExpression: "Cannot augment union expressions.";
3065
+ readonly default: `Augment decorator first argument must be a type reference.`;
3066
+ readonly noInstance: `Cannot reference template instances.`;
3067
+ readonly noModelExpression: `Cannot augment model expressions.`;
3068
+ readonly noUnionExpression: `Cannot augment union expressions.`;
3039
3069
  };
3040
3070
  "duplicate-decorator": {
3041
3071
  readonly default: import("./types.js").CallableMessage<["decoratorName"]>;
@@ -3053,6 +3083,9 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
3053
3083
  "invalid-decorator-location": {
3054
3084
  readonly default: import("./types.js").CallableMessage<["nodeName"]>;
3055
3085
  };
3086
+ "templated-declaration-in-expression": {
3087
+ readonly default: "A declaration used as an expression cannot have template parameters as it cannot be referenced or instantiated.";
3088
+ };
3056
3089
  "default-required": {
3057
3090
  readonly default: "Required template parameters must not follow optional template parameters";
3058
3091
  };
@@ -3082,6 +3115,9 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
3082
3115
  readonly default: import("./types.js").CallableMessage<["feature"]>;
3083
3116
  readonly functionDeclarations: "Function declarations are an experimental feature that may change in the future. Use with caution and consider providing feedback to the TypeSpec team.";
3084
3117
  };
3118
+ "declaration-expression-disabled": {
3119
+ readonly default: "Declaration expressions require the 'declaration-expressions' feature to be enabled. Add 'declaration-expressions' to the 'features' list in your tspconfig.yaml.";
3120
+ };
3085
3121
  "union-extends-disabled": {
3086
3122
  readonly default: "Union `extends` clauses require the 'union-extends' feature to be enabled. Add 'union-extends' to the 'features' list in your tspconfig.yaml.";
3087
3123
  };
@@ -3176,8 +3212,8 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
3176
3212
  "expect-value": {
3177
3213
  readonly default: import("./types.js").CallableMessage<["name"]>;
3178
3214
  readonly model: import("./types.js").CallableMessage<["name"]>;
3179
- readonly modelExpression: "Is a model expression type, but is being used as a value here. Use #{} to create an object value.";
3180
- readonly tuple: "Is a tuple type, but is being used as a value here. Use #[] to create an array value.";
3215
+ readonly modelExpression: `Is a model expression type, but is being used as a value here. Use #{} to create an object value.`;
3216
+ readonly tuple: `Is a tuple type, but is being used as a value here. Use #[] to create an array value.`;
3181
3217
  readonly templateConstraint: import("./types.js").CallableMessage<["name"]>;
3182
3218
  readonly functionReturn: import("./types.js").CallableMessage<[]>;
3183
3219
  };
@@ -3189,7 +3225,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
3189
3225
  readonly default: import("./types.js").CallableMessage<[]>;
3190
3226
  };
3191
3227
  "invalid-primitive-init": {
3192
- readonly default: "Instantiating scalar deriving from 'string', 'numeric' or 'boolean' can only take a single argument.";
3228
+ readonly default: `Instantiating scalar deriving from 'string', 'numeric' or 'boolean' can only take a single argument.`;
3193
3229
  readonly invalidArg: import("./types.js").CallableMessage<["expected", "actual"]>;
3194
3230
  };
3195
3231
  "ambiguous-scalar-type": {
@@ -3275,7 +3311,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
3275
3311
  readonly default: import("./types.js").CallableMessage<["name"]>;
3276
3312
  };
3277
3313
  "overload-same-parent": {
3278
- readonly default: "Overload must be in the same interface or namespace.";
3314
+ readonly default: `Overload must be in the same interface or namespace.`;
3279
3315
  };
3280
3316
  shadow: {
3281
3317
  readonly default: import("./types.js").CallableMessage<["name"]>;
@@ -3454,7 +3490,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
3454
3490
  readonly wrongType: import("./types.js").CallableMessage<["encoding", "type", "expected"]>;
3455
3491
  readonly wrongEncodingType: import("./types.js").CallableMessage<["encoding", "type", "expected", "actual"]>;
3456
3492
  readonly wrongNumericEncodingType: import("./types.js").CallableMessage<["encoding", "type", "expected", "actual", "expected", "encoding"]>;
3457
- readonly firstArg: "First argument of \"@encode\" must be the encoding name or the string type when encoding numeric or boolean types.";
3493
+ readonly firstArg: `First argument of "@encode" must be the encoding name or the string type when encoding numeric or boolean types.`;
3458
3494
  };
3459
3495
  "invalid-mime-type": {
3460
3496
  readonly default: import("./types.js").CallableMessage<["mimeType"]>;
@@ -3481,7 +3517,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
3481
3517
  readonly default: import("./types.js").CallableMessage<["operationName"]>;
3482
3518
  };
3483
3519
  "service-decorator-duplicate": {
3484
- readonly default: "@service can only be set once per TypeSpec document.";
3520
+ readonly default: `@service can only be set once per TypeSpec document.`;
3485
3521
  };
3486
3522
  "list-type-not-model": {
3487
3523
  readonly default: "@list decorator's parameter must be a model type.";
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/core/messages.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,QAAA,MAAM,WAAW;IACf;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0EH;;OAEG;;;;;;;;;;;;;IAcH;;OAEG;;;;;;;;;;;;;IAcH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkIH;;;OAGG;;;;;;;;;;;IAWH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
196
+ severity: "error",
197
+ messages: {
198
+ default: "A declaration used as an expression cannot have template parameters as it cannot be referenced or instantiated.",
199
+ },
200
+ },
195
201
  "default-required": {
196
202
  severity: "error",
197
203
  messages: {
@@ -252,6 +258,12 @@ const diagnostics = {
252
258
  functionDeclarations: "Function declarations are an experimental feature that may change in the future. Use with caution and consider providing feedback to the TypeSpec team.",
253
259
  },
254
260
  },
261
+ "declaration-expression-disabled": {
262
+ severity: "error",
263
+ messages: {
264
+ default: "Declaration expressions require the 'declaration-expressions' feature to be enabled. Add 'declaration-expressions' to the 'features' list in your tspconfig.yaml.",
265
+ },
266
+ },
255
267
  "union-extends-disabled": {
256
268
  severity: "error",
257
269
  messages: {