@powerlines/plugin-env 0.13.64 → 0.13.66

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 (251) hide show
  1. package/dist/{chunk-DT2f8AgL.cjs → _virtual/rolldown_runtime.cjs} +1 -1
  2. package/dist/{chunk-CbqXBSoN.mjs → _virtual/rolldown_runtime.mjs} +1 -1
  3. package/dist/alloy/src/core/components/output.cjs +1 -0
  4. package/dist/alloy/src/core/components/output.mjs +1 -0
  5. package/dist/alloy/src/core/components/single-line-comment.cjs +1 -0
  6. package/dist/alloy/src/core/components/single-line-comment.mjs +1 -0
  7. package/dist/alloy/src/core/components/source-file.cjs +1 -0
  8. package/dist/alloy/src/core/components/source-file.d.cts +22 -0
  9. package/dist/alloy/src/core/components/source-file.d.mts +22 -0
  10. package/dist/alloy/src/core/components/source-file.mjs +1 -0
  11. package/dist/alloy/src/core/contexts/context.cjs +1 -0
  12. package/dist/alloy/src/core/contexts/context.mjs +1 -0
  13. package/dist/alloy/src/core/contexts/reflection.cjs +1 -0
  14. package/dist/alloy/src/core/contexts/reflection.mjs +1 -0
  15. package/dist/alloy/src/create-plugin.cjs +2 -0
  16. package/dist/alloy/src/create-plugin.mjs +2 -0
  17. package/dist/alloy/src/helpers/refkey.cjs +1 -0
  18. package/dist/alloy/src/helpers/refkey.mjs +1 -0
  19. package/dist/alloy/src/markdown/components/markdown-file.cjs +1 -0
  20. package/dist/alloy/src/markdown/components/markdown-file.mjs +1 -0
  21. package/dist/alloy/src/markdown/components/markdown-table.cjs +1 -0
  22. package/dist/alloy/src/markdown/components/markdown-table.mjs +1 -0
  23. package/dist/alloy/src/markdown/contexts/markdown-table.cjs +1 -0
  24. package/dist/alloy/src/markdown/contexts/markdown-table.mjs +1 -0
  25. package/dist/alloy/src/types/components.d.cts +19 -0
  26. package/dist/alloy/src/types/components.d.mts +23 -0
  27. package/dist/alloy/src/types/plugin.d.cts +15 -0
  28. package/dist/alloy/src/types/plugin.d.mts +15 -0
  29. package/dist/alloy/src/typescript/components/builtin-file.cjs +1 -0
  30. package/dist/alloy/src/typescript/components/builtin-file.d.cts +25 -0
  31. package/dist/alloy/src/typescript/components/builtin-file.d.mts +26 -0
  32. package/dist/alloy/src/typescript/components/builtin-file.mjs +1 -0
  33. package/dist/alloy/src/typescript/components/tsdoc-reflection.cjs +1 -0
  34. package/dist/alloy/src/typescript/components/tsdoc-reflection.mjs +1 -0
  35. package/dist/alloy/src/typescript/components/tsdoc.cjs +1 -0
  36. package/dist/alloy/src/typescript/components/tsdoc.d.cts +27 -0
  37. package/dist/alloy/src/typescript/components/tsdoc.d.mts +28 -0
  38. package/dist/alloy/src/typescript/components/tsdoc.mjs +1 -0
  39. package/dist/alloy/src/typescript/components/typescript-file.cjs +1 -0
  40. package/dist/alloy/src/typescript/components/typescript-file.d.cts +13 -0
  41. package/dist/alloy/src/typescript/components/typescript-file.d.mts +14 -0
  42. package/dist/alloy/src/typescript/components/typescript-file.mjs +1 -0
  43. package/dist/alloy/src/typescript/components/typescript-interface.cjs +1 -0
  44. package/dist/alloy/src/typescript/components/typescript-interface.d.cts +11 -0
  45. package/dist/alloy/src/typescript/components/typescript-interface.d.mts +12 -0
  46. package/dist/alloy/src/typescript/components/typescript-interface.mjs +1 -0
  47. package/dist/alloy/src/typescript/components/typescript-object.cjs +1 -0
  48. package/dist/alloy/src/typescript/components/typescript-object.mjs +1 -0
  49. package/dist/babel/index.cjs +1 -1
  50. package/dist/babel/index.d.cts +1 -16
  51. package/dist/babel/index.d.mts +1 -16
  52. package/dist/babel/index.mjs +1 -1
  53. package/dist/babel/plugin.cjs +5 -1
  54. package/dist/babel/plugin.d.cts +6 -16
  55. package/dist/babel/plugin.d.mts +8 -16
  56. package/dist/babel/plugin.mjs +5 -1
  57. package/dist/components/docs.cjs +1 -1
  58. package/dist/components/docs.d.cts +8 -1
  59. package/dist/components/docs.d.mts +8 -1
  60. package/dist/components/docs.mjs +1 -1
  61. package/dist/components/env.cjs +34 -1
  62. package/dist/components/env.d.cts +19 -3
  63. package/dist/components/env.d.mts +19 -3
  64. package/dist/components/env.mjs +31 -1
  65. package/dist/components/index.cjs +1 -1
  66. package/dist/components/index.d.cts +2 -5
  67. package/dist/components/index.d.mts +2 -5
  68. package/dist/components/index.mjs +1 -1
  69. package/dist/deepkit/schemas/reflection.cjs +1 -0
  70. package/dist/{plugin-BC31CJSb.d.mts → deepkit/schemas/reflection.d.cts} +1 -156
  71. package/dist/{plugin-Ds60xmj5.d.cts → deepkit/schemas/reflection.d.mts} +1 -156
  72. package/dist/deepkit/schemas/reflection.mjs +1 -0
  73. package/dist/deepkit/schemas/reflection2.cjs +1 -0
  74. package/dist/deepkit/schemas/reflection2.mjs +1 -0
  75. package/dist/deepkit/src/capnp.cjs +1 -0
  76. package/dist/deepkit/src/capnp.mjs +1 -0
  77. package/dist/deepkit/src/reflect-type.cjs +1 -0
  78. package/dist/deepkit/src/reflect-type.mjs +1 -0
  79. package/dist/deepkit/src/resolve-reflections.cjs +1 -0
  80. package/dist/deepkit/src/resolve-reflections.mjs +1 -0
  81. package/dist/deepkit/src/types.d.cts +10 -0
  82. package/dist/deepkit/src/types.d.mts +10 -0
  83. package/dist/deepkit/src/utilities.cjs +1 -0
  84. package/dist/deepkit/src/utilities.mjs +1 -0
  85. package/dist/deepkit/src/vendor/type.cjs +1 -0
  86. package/dist/deepkit/src/vendor/type.d.cts +7 -0
  87. package/dist/deepkit/src/vendor/type.d.mts +7 -0
  88. package/dist/deepkit/src/vendor/type.mjs +1 -0
  89. package/dist/helpers/create-reflection-resource.cjs +1 -1
  90. package/dist/helpers/create-reflection-resource.d.cts +14 -5
  91. package/dist/helpers/create-reflection-resource.d.mts +14 -5
  92. package/dist/helpers/create-reflection-resource.mjs +1 -1
  93. package/dist/helpers/index.cjs +1 -1
  94. package/dist/helpers/index.d.cts +6 -11
  95. package/dist/helpers/index.d.mts +6 -11
  96. package/dist/helpers/index.mjs +1 -1
  97. package/dist/helpers/load.cjs +1 -1
  98. package/dist/helpers/load.d.cts +34 -5
  99. package/dist/helpers/load.d.mts +35 -5
  100. package/dist/helpers/load.mjs +1 -1
  101. package/dist/helpers/persistence.cjs +1 -1
  102. package/dist/helpers/persistence.d.cts +83 -5
  103. package/dist/helpers/persistence.d.mts +83 -5
  104. package/dist/helpers/persistence.mjs +1 -1
  105. package/dist/helpers/reflect.cjs +1 -1
  106. package/dist/helpers/reflect.d.cts +45 -5
  107. package/dist/helpers/reflect.d.mts +45 -5
  108. package/dist/helpers/reflect.mjs +1 -1
  109. package/dist/helpers/source-file-env.cjs +1 -1
  110. package/dist/helpers/source-file-env.d.cts +7 -1
  111. package/dist/helpers/source-file-env.d.mts +7 -1
  112. package/dist/helpers/source-file-env.mjs +1 -1
  113. package/dist/helpers/template-helpers.cjs +1 -1
  114. package/dist/helpers/template-helpers.d.cts +14 -5
  115. package/dist/helpers/template-helpers.d.mts +14 -5
  116. package/dist/helpers/template-helpers.mjs +1 -1
  117. package/dist/index.cjs +3 -4
  118. package/dist/index.d.cts +20 -16
  119. package/dist/index.d.mts +25 -16
  120. package/dist/index.mjs +2 -3
  121. package/dist/plugin-babel/src/helpers/ast-utils.cjs +1 -0
  122. package/dist/plugin-babel/src/helpers/ast-utils.mjs +1 -0
  123. package/dist/plugin-babel/src/helpers/create-plugin.cjs +1 -0
  124. package/dist/plugin-babel/src/helpers/create-plugin.mjs +1 -0
  125. package/dist/plugin-babel/src/helpers/filters.cjs +1 -0
  126. package/dist/plugin-babel/src/helpers/filters.mjs +1 -0
  127. package/dist/plugin-babel/src/helpers/index.cjs +1 -0
  128. package/dist/plugin-babel/src/helpers/index.mjs +1 -0
  129. package/dist/plugin-babel/src/helpers/module-helpers.cjs +1 -0
  130. package/dist/plugin-babel/src/helpers/module-helpers.mjs +1 -0
  131. package/dist/plugin-babel/src/helpers/options.cjs +1 -0
  132. package/dist/plugin-babel/src/helpers/options.mjs +1 -0
  133. package/dist/plugin-babel/src/index.cjs +1 -0
  134. package/dist/plugin-babel/src/index.mjs +1 -0
  135. package/dist/plugin-babel/src/types/index.d.mts +1 -0
  136. package/dist/plugin-babel/src/types/plugin.d.cts +15 -0
  137. package/dist/plugin-babel/src/types/plugin.d.mts +15 -0
  138. package/dist/plugin-plugin/src/types/plugin.d.cts +21 -0
  139. package/dist/plugin-plugin/src/types/plugin.d.mts +24 -0
  140. package/dist/powerlines/src/internal/helpers/hooks.d.mts +5 -0
  141. package/dist/powerlines/src/lib/build/esbuild.cjs +14 -0
  142. package/dist/powerlines/src/lib/build/esbuild.mjs +14 -0
  143. package/dist/powerlines/src/lib/entry.cjs +1 -0
  144. package/dist/powerlines/src/lib/entry.mjs +1 -0
  145. package/dist/powerlines/src/lib/logger.cjs +1 -0
  146. package/dist/powerlines/src/lib/logger.mjs +1 -0
  147. package/dist/powerlines/src/lib/utilities/bundle.cjs +1 -0
  148. package/dist/powerlines/src/lib/utilities/bundle.mjs +1 -0
  149. package/dist/powerlines/src/lib/utilities/resolve.cjs +1 -0
  150. package/dist/powerlines/src/lib/utilities/resolve.mjs +1 -0
  151. package/dist/powerlines/src/plugin-utils/helpers.cjs +1 -0
  152. package/dist/powerlines/src/plugin-utils/helpers.mjs +1 -0
  153. package/dist/powerlines/src/plugin-utils/paths.cjs +1 -0
  154. package/dist/powerlines/src/plugin-utils/paths.mjs +1 -0
  155. package/dist/powerlines/src/types/api.d.mts +5 -0
  156. package/dist/powerlines/src/types/babel.d.cts +23 -0
  157. package/dist/powerlines/src/types/babel.d.mts +23 -0
  158. package/dist/powerlines/src/types/build.d.cts +139 -0
  159. package/dist/powerlines/src/types/build.d.mts +141 -0
  160. package/dist/powerlines/src/types/commands.d.cts +8 -0
  161. package/dist/powerlines/src/types/commands.d.mts +9 -0
  162. package/dist/powerlines/src/types/config.d.cts +356 -0
  163. package/dist/powerlines/src/types/config.d.mts +357 -0
  164. package/dist/powerlines/src/types/context.d.cts +358 -0
  165. package/dist/powerlines/src/types/context.d.mts +360 -0
  166. package/dist/powerlines/src/types/fs.d.cts +458 -0
  167. package/dist/powerlines/src/types/fs.d.mts +458 -0
  168. package/dist/powerlines/src/types/hooks.d.mts +2 -0
  169. package/dist/powerlines/src/types/index.d.mts +12 -0
  170. package/dist/powerlines/src/types/plugin.d.cts +232 -0
  171. package/dist/powerlines/src/types/plugin.d.mts +232 -0
  172. package/dist/powerlines/src/types/resolved.d.cts +82 -0
  173. package/dist/powerlines/src/types/resolved.d.mts +83 -0
  174. package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
  175. package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
  176. package/dist/powerlines/src/types/unplugin.d.mts +7 -0
  177. package/dist/types/index.cjs +0 -1
  178. package/dist/types/index.d.cts +2 -5
  179. package/dist/types/index.d.mts +2 -5
  180. package/dist/types/index.mjs +1 -1
  181. package/dist/types/plugin.cjs +0 -1
  182. package/dist/types/plugin.d.cts +140 -4
  183. package/dist/types/plugin.d.mts +141 -4
  184. package/dist/types/plugin.mjs +1 -1
  185. package/dist/types/runtime.cjs +0 -1
  186. package/dist/types/runtime.d.cts +793 -2
  187. package/dist/types/runtime.d.mts +793 -2
  188. package/dist/types/runtime.mjs +1 -1
  189. package/package.json +16 -16
  190. package/dist/babel-Bmzkjy1p.cjs +0 -0
  191. package/dist/babel-CE47sTzg.mjs +0 -1
  192. package/dist/components-BWruXLSx.cjs +0 -0
  193. package/dist/components-LyHNrcZE.mjs +0 -1
  194. package/dist/config-CYnsaVbs.d.mts +0 -1678
  195. package/dist/config-CxGVaXL4.d.cts +0 -1676
  196. package/dist/create-reflection-resource-CQHJrkQi.cjs +0 -1
  197. package/dist/create-reflection-resource-Cut236Kb.d.mts +0 -15
  198. package/dist/create-reflection-resource-DT6PRnl4.d.cts +0 -15
  199. package/dist/create-reflection-resource-UtOwX4Ml.mjs +0 -1
  200. package/dist/docs-BDiEhcDa.mjs +0 -1
  201. package/dist/docs-Bhi9smBO.cjs +0 -1
  202. package/dist/docs-BoZkRBO4.d.cts +0 -9
  203. package/dist/docs-BwK6pC_c.d.mts +0 -9
  204. package/dist/env-0C9Vc_CF.cjs +0 -34
  205. package/dist/env-BuKnYxut.d.mts +0 -112
  206. package/dist/env-CXBFOUFJ.d.cts +0 -112
  207. package/dist/env-D4MK9BWK.mjs +0 -31
  208. package/dist/helpers-DfMThUgD.mjs +0 -1
  209. package/dist/helpers-YGhXHw5G.cjs +0 -0
  210. package/dist/index-BBNpKJsx.d.mts +0 -41
  211. package/dist/index-BRBK9zG-.d.cts +0 -1
  212. package/dist/index-Bt4QNofW.d.mts +0 -1
  213. package/dist/index-CRo77wc3.d.mts +0 -1
  214. package/dist/index-CspKFJM1.d.cts +0 -1
  215. package/dist/index-Czm5wPhI.d.cts +0 -41
  216. package/dist/index-Dpmi5zcN.d.cts +0 -1
  217. package/dist/index-Wc1llEvP.d.mts +0 -1
  218. package/dist/load-BZTlThWg.mjs +0 -1
  219. package/dist/load-DLNNRhI9.d.cts +0 -35
  220. package/dist/load-DdYSs4J5.d.mts +0 -38
  221. package/dist/load-nUlit5lR.cjs +0 -1
  222. package/dist/persistence-BU921sV3.d.mts +0 -84
  223. package/dist/persistence-Br-YMVb1.mjs +0 -14
  224. package/dist/persistence-D0xYMSMI.d.cts +0 -84
  225. package/dist/persistence-KaP3-ka1.cjs +0 -14
  226. package/dist/plugin-CRYQ682C.cjs +0 -0
  227. package/dist/plugin-Cx61c9gw.mjs +0 -5
  228. package/dist/plugin-DrnPbdzR.mjs +0 -1
  229. package/dist/plugin-v-FJGggy.cjs +0 -5
  230. package/dist/reflect-DQjKw7jE.d.cts +0 -46
  231. package/dist/reflect-DzAiYF2u.d.mts +0 -46
  232. package/dist/runtime-BaZivi6m.cjs +0 -0
  233. package/dist/runtime-BxuH9yuK.d.cts +0 -794
  234. package/dist/runtime-DqCYc37d.mjs +0 -1
  235. package/dist/runtime-qQN60UNu.d.mts +0 -794
  236. package/dist/source-file-CLCTB4C7.cjs +0 -1
  237. package/dist/source-file-CjFSCK1w.mjs +0 -1
  238. package/dist/source-file-env-BDFTs5WJ.mjs +0 -1
  239. package/dist/source-file-env-C6uYyxww.cjs +0 -1
  240. package/dist/source-file-env-DonDJDV1.d.cts +0 -8
  241. package/dist/source-file-env-DzpWKluw.d.mts +0 -8
  242. package/dist/template-helpers-BNFy_Wbj.d.mts +0 -15
  243. package/dist/template-helpers-BSbamu0U.cjs +0 -1
  244. package/dist/template-helpers-C-NOO5ex.d.cts +0 -15
  245. package/dist/template-helpers-CLrM_TtO.mjs +0 -1
  246. package/dist/type-CnPIyotQ.d.mts +0 -3
  247. package/dist/type-D6dRgWJT.d.cts +0 -3
  248. package/dist/types-BCto_Rzj.mjs +0 -1
  249. package/dist/types-DS7T32tb.cjs +0 -0
  250. package/dist/utilities-4S--uN0L.mjs +0 -1
  251. package/dist/utilities-CxyT2chk.cjs +0 -1
@@ -1,38 +0,0 @@
1
- import { n as EnvPluginOptions, t as EnvPluginContext } from "./plugin-BC31CJSb.mjs";
2
- import { u as EnvironmentResolvedConfig } from "./config-CYnsaVbs.mjs";
3
- import { DotenvParseOutput } from "@stryke/env/types";
4
- import { MaybePromise } from "@stryke/types/base";
5
- import { UnpluginOptions } from "unplugin";
6
- import { ArrayValues } from "@stryke/types/array";
7
-
8
- //#region src/helpers/load.d.ts
9
-
10
- /**
11
- * Retrieves various dotenv configuration parameters from the context.
12
- *
13
- * @param context - The context to retrieve the dotenv configuration from.
14
- * @param parsed - The parsed dotenv configuration.
15
- * @returns An object containing the dotenv configuration.
16
- */
17
- declare function loadEnvFromContext(context: EnvPluginContext, parsed: DotenvParseOutput): {
18
- APP_NAME: string | undefined;
19
- APP_VERSION: string | undefined;
20
- BUILD_ID: string;
21
- BUILD_TIMESTAMP: string;
22
- BUILD_CHECKSUM: string;
23
- RELEASE_ID: string;
24
- RELEASE_TAG: string;
25
- DEFAULT_LOCALE: string | undefined;
26
- DEFAULT_TIMEZONE: string | undefined;
27
- LOG_LEVEL: "error" | "warn" | "info" | "debug" | "trace" | null;
28
- ERROR_URL: string | undefined;
29
- ORGANIZATION: string | undefined;
30
- PLATFORM: "node" | "browser" | "neutral" | undefined;
31
- MODE: "test" | "development" | "production" | undefined;
32
- DEBUG: boolean;
33
- STACKTRACE: boolean;
34
- ENVIRONMENT: EnvironmentResolvedConfig;
35
- };
36
- declare function loadEnv<TEnv extends DotenvParseOutput = DotenvParseOutput>(context: EnvPluginContext, options: EnvPluginOptions): Promise<TEnv>;
37
- //#endregion
38
- export { loadEnvFromContext as n, loadEnv as t };
@@ -1 +0,0 @@
1
- const e=require(`./chunk-DT2f8AgL.cjs`),t=require(`./source-file-env-C6uYyxww.cjs`);let n=require(`@stryke/type-checks/is-set-string`),r=require(`@stryke/type-checks/is-set-object`),i=require(`defu`);i=e.n(i);let a=require(`@stryke/path/join-paths`),o=require(`@stryke/env/load-env`),s=require(`@stryke/string-format/kebab-case`),c=require(`c12`);async function l(e,n,r){let a=await(0,o.loadEnv)(r,n);if(e.additionalFiles&&e.additionalFiles?.length>0){let t=await Promise.all(e.additionalFiles.map(async e=>(0,o.loadEnvFile)(e,r)));for(let e of t)a=(0,i.default)(e,a)}return t.n(a)}async function u(e,t,n,r,o,s){let[u,d]=await Promise.all([l(e,n,t),(0,c.loadConfig)({cwd:t,name:`storm`,envName:n,defaults:{NAME:o.name?.replace(`@${s.namespace}/`,``),MODE:n,ORG:s.organization},globalRc:!0,packageJson:!0,dotenv:!0,jitiOptions:{fsCache:(0,a.joinPaths)(r,`jiti`),moduleCache:!0}})]);return(0,i.default)(u,d.config,s)}function d(e,t){return(0,i.default)({APP_NAME:(0,s.kebabCase)(e.config.name||e.packageJson.name?.replace(`/${e.workspaceConfig.namespace}`,``)),APP_VERSION:e.packageJson.version,BUILD_ID:e.meta.buildId,BUILD_TIMESTAMP:new Date(e.meta.timestamp).toISOString(),BUILD_CHECKSUM:e.meta.checksum,RELEASE_ID:e.meta.releaseId,RELEASE_TAG:`${(0,s.kebabCase)(e.config.name)}@${e.packageJson.version}`,DEFAULT_LOCALE:e.workspaceConfig.locale,DEFAULT_TIMEZONE:e.workspaceConfig.timezone,LOG_LEVEL:e.config.logLevel,ERROR_URL:e.workspaceConfig.error?.url,ORGANIZATION:(0,n.isSetString)(e.workspaceConfig.organization)?e.workspaceConfig.organization:e.workspaceConfig.organization?.name,PLATFORM:e.config.build.platform,MODE:e.workspaceConfig.mode,DEBUG:e.workspaceConfig.mode===`development`,STACKTRACE:e.workspaceConfig.mode===`development`,ENVIRONMENT:e.environment},(0,r.isSetObject)(e?.env?.types?.env)?e.env.types.env?.getProperties().reduce((e,n)=>(e[n.name]=t[n.name]??n.getDefaultValue(),e),{}):{})}async function f(e,t){let[n,r,a]=await Promise.all([u(t,e.config.projectRoot,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig),u(t,e.workspaceConfig.workspaceRoot,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig),u(t,e.envPaths.config,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig)]);return(0,i.default)(d(e,process.env),n,r,a)}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
@@ -1,84 +0,0 @@
1
- import { t as type_d_exports } from "./type-CnPIyotQ.mjs";
2
- import { a as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-BC31CJSb.mjs";
3
- import { i as Context, s as UnresolvedContext } from "./config-CYnsaVbs.mjs";
4
- import { TypeDefinition } from "@stryke/types/configuration";
5
-
6
- //#region src/helpers/persistence.d.ts
7
-
8
- /**
9
- * Resolves the runtime type definition file for the environment variables.
10
- *
11
- * @param context - The plugin context.
12
- * @returns The runtime type definition file for the environment variables.
13
- */
14
- declare function resolveRuntimeTypeFile(context: UnresolvedContext<EnvPluginResolvedConfig>): Promise<string>;
15
- /**
16
- * Gets the default type definition for the environment variables.
17
- *
18
- * @param context - The plugin context.
19
- * @returns The default type definition for the environment variables.
20
- */
21
- declare function getEnvDefaultTypeDefinition(context: UnresolvedContext<EnvPluginResolvedConfig>): Promise<TypeDefinition>;
22
- /** Gets the default type definition for the environment secrets.
23
- *
24
- * @param context - The plugin context.
25
- * @returns The default type definition for the environment secrets.
26
- */
27
- declare function getSecretsDefaultTypeDefinition(context: UnresolvedContext<EnvPluginResolvedConfig>): Promise<TypeDefinition>;
28
- /**
29
- * Gets the path to the environment type reflections.
30
- *
31
- * @param context - The plugin context.
32
- * @param name - The name of the type reflections.
33
- * @returns The path to the environment type reflections.
34
- */
35
- declare function getEnvTypeReflectionsPath(context: Context<EnvPluginResolvedConfig>, name?: EnvType): string;
36
- /**
37
- * Reads the environment type reflection from the file system.
38
- *
39
- * @param context - The plugin context.
40
- * @param name - The name of the type reflections.
41
- * @returns The environment type reflection.
42
- */
43
- declare function readEnvTypeReflection(context: EnvPluginContext, name?: EnvType): Promise<type_d_exports.ReflectionClass<any>>;
44
- /**
45
- * Writes the environment type reflection to the file system.
46
- *
47
- * @param context - The plugin context.
48
- * @param reflection - The environment type reflection to write.
49
- * @param name - The name of the type reflections.
50
- */
51
- declare function writeEnvTypeReflection(context: EnvPluginContext, reflection: type_d_exports.ReflectionClass<any>, name?: EnvType): Promise<void>;
52
- declare function getEnvReflectionsPath(context: EnvPluginContext, name: EnvType): string;
53
- /**
54
- * Reads the environment reflection data from the file system.
55
- *
56
- * @param context - The plugin context.
57
- * @returns The environment reflection data.
58
- */
59
- declare function readEnvReflection(context: EnvPluginContext): Promise<type_d_exports.ReflectionClass<any>>;
60
- /**
61
- * Reads the secret environment reflection data from the file system.
62
- *
63
- * @param context - The plugin context.
64
- * @returns The environment reflection data.
65
- */
66
- declare function readSecretsReflection(context: EnvPluginContext): Promise<type_d_exports.ReflectionClass<any>>;
67
- /**
68
- * Writes the environment reflection data to the file system.
69
- *
70
- * @param context - The plugin context.
71
- * @param reflection - The reflection data to write.
72
- * @param name - The name of the reflection (either "env" or "secrets").
73
- */
74
- declare function writeEnvReflection(context: EnvPluginContext, reflection: type_d_exports.ReflectionClass<any>, name?: EnvType): Promise<void>;
75
- /**
76
- * Writes the environment reflection data to the file system.
77
- *
78
- * @param context - The plugin context.
79
- * @param reflection - The reflection data to write.
80
- * @param name - The name of the reflection (either "env" or "secrets").
81
- */
82
- declare function writeEnvReflectionSync(context: EnvPluginContext, reflection: type_d_exports.ReflectionClass<any>, name?: EnvType): void;
83
- //#endregion
84
- export { readEnvReflection as a, resolveRuntimeTypeFile as c, writeEnvTypeReflection as d, getSecretsDefaultTypeDefinition as i, writeEnvReflection as l, getEnvReflectionsPath as n, readEnvTypeReflection as o, getEnvTypeReflectionsPath as r, readSecretsReflection as s, getEnvDefaultTypeDefinition as t, writeEnvReflectionSync as u };
@@ -1,14 +0,0 @@
1
- import{t as e}from"./chunk-CbqXBSoN.mjs";import{LogLevelLabel as t}from"@storm-software/config-tools/types";import{isParentPath as n}from"@stryke/path/is-parent-path";import{replacePath as r}from"@stryke/path/replace";import{isSetString as i}from"@stryke/type-checks/is-set-string";import a from"defu";import{titleCase as o}from"@stryke/string-format/title-case";import{isString as ee}from"@stryke/type-checks/is-string";import{parseTypeDefinition as te}from"@stryke/convert/parse-type-definition";import{toArray as ne}from"@stryke/convert/to-array";import{isInteger as re,isSetObject as ie,isUndefined as ae}from"@stryke/type-checks";import*as s from"@stryke/capnp";import{getUniqueBy as oe}from"@stryke/helpers/get-unique";import{readFileBuffer as se,writeFileBuffer as ce,writeFileBufferSync as le}from"@stryke/fs/buffer";import{existsSync as ue}from"node:fs";import{joinPaths as c}from"@stryke/path/join-paths";import{resolvePackage as de}from"@stryke/fs/resolve";import{isEmptyObject as fe}from"@stryke/type-checks/is-empty-object";import{build as pe}from"esbuild";import{omit as me}from"@stryke/helpers/omit";import{camelCase as l}from"@stryke/string-format/camel-case";import"@stryke/fs/is-file";import"@stryke/fs/list-files";import"@stryke/hash/murmurhash";import{appendPath as he}from"@stryke/path/append";var u={};import*as ge from"@deepkit/type";e(u,ge);const d={PUBLIC:0,PROTECTED:1,PRIVATE:2};var f=class extends s.Struct{static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new s.ObjectSize(8,4)};_adoptAlias(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownAlias(){return s.utils.disown(this.alias)}get alias(){return s.utils.getList(0,s.TextList,this)}_hasAlias(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initAlias(e){return s.utils.initList(0,s.TextList,e,this)}set alias(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}get title(){return s.utils.getText(1,this)}set title(e){s.utils.setText(1,e,this)}get hidden(){return s.utils.getBit(0,this)}set hidden(e){s.utils.setBit(0,e,this)}get readonly(){return s.utils.getBit(1,this)}set readonly(e){s.utils.setBit(1,e,this)}get ignore(){return s.utils.getBit(2,this)}set ignore(e){s.utils.setBit(2,e,this)}get internal(){return s.utils.getBit(3,this)}set internal(e){s.utils.setBit(3,e,this)}_adoptPermission(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownPermission(){return s.utils.disown(this.permission)}get permission(){return s.utils.getList(2,s.TextList,this)}_hasPermission(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initPermission(e){return s.utils.initList(2,s.TextList,e,this)}set permission(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}get domain(){return s.utils.getText(3,this)}set domain(e){s.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}};const p={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4};var _e=class extends s.Struct{static UNDEFINED=p.UNDEFINED;static BOOLEAN=p.BOOLEAN;static INTEGER=p.INTEGER;static FLOAT=p.FLOAT;static STRING=p.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new s.ObjectSize(16,1)};get _isUndefined(){return s.utils.getUint16(0,this)===0}set undefined(e){s.utils.setUint16(0,0,this)}get boolean(){return s.utils.testWhich(`boolean`,s.utils.getUint16(0,this),1,this),s.utils.getBit(16,this)}get _isBoolean(){return s.utils.getUint16(0,this)===1}set boolean(e){s.utils.setUint16(0,1,this),s.utils.setBit(16,e,this)}get integer(){return s.utils.testWhich(`integer`,s.utils.getUint16(0,this),2,this),s.utils.getInt32(4,this)}get _isInteger(){return s.utils.getUint16(0,this)===2}set integer(e){s.utils.setUint16(0,2,this),s.utils.setInt32(4,e,this)}get float(){return s.utils.testWhich(`float`,s.utils.getUint16(0,this),3,this),s.utils.getFloat64(8,this)}get _isFloat(){return s.utils.getUint16(0,this)===3}set float(e){s.utils.setUint16(0,3,this),s.utils.setFloat64(8,e,this)}get string(){return s.utils.testWhich(`string`,s.utils.getUint16(0,this),4,this),s.utils.getText(0,this)}get _isString(){return s.utils.getUint16(0,this)===4}set string(e){s.utils.setUint16(0,4,this),s.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return s.utils.getUint16(0,this)}},m=class extends s.Struct{static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new s.ObjectSize(16,1)};get value(){return s.utils.getAs(_e,this)}_initValue(){return s.utils.getAs(_e,this)}toString(){return`DefaultValueReflection_`+super.toString()}},h=class extends s.Struct{static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new s.ObjectSize(8,0)};get id(){return s.utils.getUint32(0,this)}set id(e){s.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},g=class extends s.Struct{static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new s.ObjectSize(0,2)};_adoptContainer(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownContainer(){return s.utils.disown(this.container)}get container(){return s.utils.getStruct(0,h,this)}_hasContainer(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initContainer(){return s.utils.initStructAt(0,h,this)}set container(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIndex(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownIndex(){return s.utils.disown(this.index)}get index(){return s.utils.getStruct(1,h,this)}_hasIndex(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initIndex(){return s.utils.initStructAt(1,h,this)}set index(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},ve=class extends s.Struct{static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new s.ObjectSize(0,2)};_adoptNames(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownNames(){return s.utils.disown(this.names)}get names(){return s.utils.getList(0,s.TextList,this)}_hasNames(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initNames(e){return s.utils.initList(0,s.TextList,e,this)}set names(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}get options(){return s.utils.getText(1,this)}set options(e){s.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},ye=class e extends s.Struct{static EntityIndexOptions=ve;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new s.ObjectSize(8,5)};get name(){return s.utils.getText(0,this)}set name(e){s.utils.setText(0,e,this)}get description(){return s.utils.getText(1,this)}set description(e){s.utils.setText(1,e,this)}get collection(){return s.utils.getText(2,this)}set collection(e){s.utils.setText(2,e,this)}get database(){return s.utils.getText(3,this)}set database(e){s.utils.setText(3,e,this)}get singleTableInheritance(){return s.utils.getBit(0,this)}set singleTableInheritance(e){s.utils.setBit(0,e,this)}_adoptIndexes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownIndexes(){return s.utils.disown(this.indexes)}get indexes(){return s.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initIndexes(t){return s.utils.initList(4,e._Indexes,t,this)}set indexes(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},_=class e extends s.Struct{static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new s.ObjectSize(8,6)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(5,f,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initTags(){return s.utils.initStructAt(5,f,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},v=class e extends s.Struct{static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new s.ObjectSize(8,11)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get globalObject(){return s.utils.getBit(16,this)}set globalObject(e){s.utils.setBit(16,e,this)}get classType(){return s.utils.getText(5,this)}set classType(e){s.utils.setText(5,e,this)}_adoptExtendsArguments(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownExtendsArguments(){return s.utils.disown(this.extendsArguments)}get extendsArguments(){return s.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initExtendsArguments(t){return s.utils.initList(6,e._ExtendsArguments,t,this)}set extendsArguments(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptArguments(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownArguments(){return s.utils.disown(this.arguments)}get arguments(){return s.utils.getList(7,e._Arguments,this)}_hasArguments(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initArguments(t){return s.utils.initList(7,e._Arguments,t,this)}set arguments(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptSuperClass(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownSuperClass(){return s.utils.disown(this.superClass)}get superClass(){return s.utils.getStruct(8,h,this)}_hasSuperClass(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initSuperClass(){return s.utils.initStructAt(8,h,this)}set superClass(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(9,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(9,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(9,this))}_initTypes(t){return s.utils.initList(9,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(9,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(10,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(10,f,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(10,this))}_initTags(){return s.utils.initStructAt(10,f,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},y=class e extends s.Struct{static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new s.ObjectSize(8,8)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(5,h,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initType(){return s.utils.initStructAt(5,h,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}get visibility(){return s.utils.getUint16(2,this)}set visibility(e){s.utils.setUint16(2,e,this)}get readonly(){return s.utils.getBit(32,this)}set readonly(e){s.utils.setBit(32,e,this)}get optional(){return s.utils.getBit(33,this)}set optional(e){s.utils.setBit(33,e,this)}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(6,m,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initDefault(){return s.utils.initStructAt(6,m,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,f,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,f,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},b=class e extends s.Struct{static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new s.ObjectSize(8,8)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,f,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,f,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(6,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initParameters(t){return s.utils.initList(6,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(7,h,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initReturn(){return s.utils.initStructAt(7,h,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},be=class e extends s.Struct{static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new s.ObjectSize(8,9)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,f,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,f,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}get description(){return s.utils.getText(6,this)}set description(e){s.utils.setText(6,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(7,h,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initType(){return s.utils.initStructAt(7,h,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(8,m,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initDefault(){return s.utils.initStructAt(8,m,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},xe=class e extends s.Struct{static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new s.ObjectSize(8,8)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,f,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,f,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(6,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initParameters(t){return s.utils.initList(6,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(7,h,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initReturn(){return s.utils.initStructAt(7,h,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},Se=class e extends s.Struct{static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new s.ObjectSize(8,4)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},Ce=class extends s.Struct{static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new s.ObjectSize(0,2)};get name(){return s.utils.getText(0,this)}set name(e){s.utils.setText(0,e,this)}get value(){return s.utils.getText(1,this)}set value(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},we=class e extends s.Struct{static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new s.ObjectSize(8,8)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptEnumEntries(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownEnumEntries(){return s.utils.disown(this.enumEntries)}get enumEntries(){return s.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initEnumEntries(t){return s.utils.initList(4,e._EnumEntries,t,this)}set enumEntries(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptValues(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownValues(){return s.utils.disown(this.values)}get values(){return s.utils.getList(5,s.TextList,this)}_hasValues(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initValues(e){return s.utils.initList(5,s.TextList,e,this)}set values(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}_adoptIndexType(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownIndexType(){return s.utils.disown(this.indexType)}get indexType(){return s.utils.getStruct(6,h,this)}_hasIndexType(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initIndexType(){return s.utils.initStructAt(6,h,this)}set indexType(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,f,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,f,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},x=class e extends s.Struct{static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},S=class e extends s.Struct{static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},Te=class e extends s.Struct{static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new s.ObjectSize(8,6)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,h,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,h,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(5,f,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initTags(){return s.utils.initStructAt(5,f,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},Ee=class e extends s.Struct{static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new s.ObjectSize(8,6)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptIndex(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownIndex(){return s.utils.disown(this.index)}get index(){return s.utils.getStruct(4,h,this)}_hasIndex(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initIndex(){return s.utils.initStructAt(4,h,this)}set index(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(5,h,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initType(){return s.utils.initStructAt(5,h,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},De=class e extends s.Struct{static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new s.ObjectSize(8,9)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}get readonly(){return s.utils.getBit(17,this)}set readonly(e){s.utils.setBit(17,e,this)}get description(){return s.utils.getText(5,this)}set description(e){s.utils.setText(5,e,this)}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(6,m,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initDefault(){return s.utils.initStructAt(6,m,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(7,h,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initType(){return s.utils.initStructAt(7,h,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(8,f,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initTags(){return s.utils.initStructAt(8,f,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},C=class e extends s.Struct{static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new s.ObjectSize(8,8)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(5,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initParameters(t){return s.utils.initList(5,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(6,h,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initReturn(){return s.utils.initStructAt(6,h,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,f,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,f,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},Oe=class e extends s.Struct{static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},ke=class e extends s.Struct{static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new s.ObjectSize(8,4)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},w=class e extends s.Struct{static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new s.ObjectSize(8,6)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,h,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,h,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},T=class e extends s.Struct{static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},Ae=class e extends s.Struct{static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,h,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,h,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},je=class e extends s.Struct{static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptOrigin(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownOrigin(){return s.utils.disown(this.origin)}get origin(){return s.utils.getStruct(4,h,this)}_hasOrigin(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initOrigin(){return s.utils.initStructAt(4,h,this)}set origin(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},Me=class extends s.Struct{static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get name(){return s.utils.getText(1,this)}set name(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},Ne=class extends s.Struct{static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get value(){return s.utils.getText(1,this)}set value(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},Pe=class extends s.Struct{static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get regex(){return s.utils.getText(1,this)}set regex(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}};const E={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5};var Fe=class extends s.Struct{static SYMBOL=E.SYMBOL;static STRING=E.STRING;static NUMBER=E.NUMBER;static BOOLEAN=E.BOOLEAN;static BIGINT=E.BIGINT;static REGEX=E.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new s.ObjectSize(16,5)};_adoptSymbol(e){s.utils.setUint16(2,0,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownSymbol(){return s.utils.disown(this.symbol)}get symbol(){return s.utils.testWhich(`symbol`,s.utils.getUint16(2,this),0,this),s.utils.getStruct(4,Me,this)}_hasSymbol(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initSymbol(){return s.utils.setUint16(2,0,this),s.utils.initStructAt(4,Me,this)}get _isSymbol(){return s.utils.getUint16(2,this)===0}set symbol(e){s.utils.setUint16(2,0,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}get string(){return s.utils.testWhich(`string`,s.utils.getUint16(2,this),1,this),s.utils.getText(4,this)}get _isString(){return s.utils.getUint16(2,this)===1}set string(e){s.utils.setUint16(2,1,this),s.utils.setText(4,e,this)}get number(){return s.utils.testWhich(`number`,s.utils.getUint16(2,this),2,this),s.utils.getFloat64(8,this)}get _isNumber(){return s.utils.getUint16(2,this)===2}set number(e){s.utils.setUint16(2,2,this),s.utils.setFloat64(8,e,this)}get boolean(){return s.utils.testWhich(`boolean`,s.utils.getUint16(2,this),3,this),s.utils.getBit(64,this)}get _isBoolean(){return s.utils.getUint16(2,this)===3}set boolean(e){s.utils.setUint16(2,3,this),s.utils.setBit(64,e,this)}_adoptBigint(e){s.utils.setUint16(2,4,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownBigint(){return s.utils.disown(this.bigint)}get bigint(){return s.utils.testWhich(`bigint`,s.utils.getUint16(2,this),4,this),s.utils.getStruct(4,Ne,this)}_hasBigint(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initBigint(){return s.utils.setUint16(2,4,this),s.utils.initStructAt(4,Ne,this)}get _isBigint(){return s.utils.getUint16(2,this)===4}set bigint(e){s.utils.setUint16(2,4,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptRegex(e){s.utils.setUint16(2,5,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownRegex(){return s.utils.disown(this.regex)}get regex(){return s.utils.testWhich(`regex`,s.utils.getUint16(2,this),5,this),s.utils.getStruct(4,Pe,this)}_hasRegex(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initRegex(){return s.utils.setUint16(2,5,this),s.utils.initStructAt(4,Pe,this)}get _isRegex(){return s.utils.getUint16(2,this)===5}set regex(e){s.utils.setUint16(2,5,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return s.utils.getUint16(2,this)}},Ie=class e extends s.Struct{static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new s.ObjectSize(16,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get literal(){return s.utils.getAs(Fe,this)}_initLiteral(){return s.utils.getAs(Fe,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},D=class e extends s.Struct{static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new s.ObjectSize(8,5)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},Le=class extends s.Struct{static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new s.ObjectSize(8,1)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}};const O={SIMPLE:0,LITERAL:1,TEMPLATE_LITERAL:2,PARAMETER:3,FUNCTION:4,METHOD:5,PROPERTY:6,PROMISE:7,CLASS_TYPE:8,ENUM:9,UNION:10,INTERSECTION:11,ARRAY:12,OBJECT_LITERAL:13,INDEX_SIGNATURE:14,PROPERTY_SIGNATURE:15,METHOD_SIGNATURE:16,TYPE_PARAMETER:17,INFER:18,TUPLE:19,TUPLE_MEMBER:20,REST:21,OTHER:22};var Re=class extends s.Struct{static SIMPLE=O.SIMPLE;static LITERAL=O.LITERAL;static TEMPLATE_LITERAL=O.TEMPLATE_LITERAL;static PARAMETER=O.PARAMETER;static FUNCTION=O.FUNCTION;static METHOD=O.METHOD;static PROPERTY=O.PROPERTY;static PROMISE=O.PROMISE;static CLASS_TYPE=O.CLASS_TYPE;static ENUM=O.ENUM;static UNION=O.UNION;static INTERSECTION=O.INTERSECTION;static ARRAY=O.ARRAY;static OBJECT_LITERAL=O.OBJECT_LITERAL;static INDEX_SIGNATURE=O.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=O.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=O.METHOD_SIGNATURE;static TYPE_PARAMETER=O.TYPE_PARAMETER;static INFER=O.INFER;static TUPLE=O.TUPLE;static TUPLE_MEMBER=O.TUPLE_MEMBER;static REST=O.REST;static OTHER=O.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new s.ObjectSize(8,1)};_adoptSimple(e){s.utils.setUint16(0,0,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownSimple(){return s.utils.disown(this.simple)}get simple(){return s.utils.testWhich(`simple`,s.utils.getUint16(0,this),0,this),s.utils.getStruct(0,je,this)}_hasSimple(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initSimple(){return s.utils.setUint16(0,0,this),s.utils.initStructAt(0,je,this)}get _isSimple(){return s.utils.getUint16(0,this)===0}set simple(e){s.utils.setUint16(0,0,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptLiteral(e){s.utils.setUint16(0,1,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownLiteral(){return s.utils.disown(this.literal)}get literal(){return s.utils.testWhich(`literal`,s.utils.getUint16(0,this),1,this),s.utils.getStruct(0,Ie,this)}_hasLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initLiteral(){return s.utils.setUint16(0,1,this),s.utils.initStructAt(0,Ie,this)}get _isLiteral(){return s.utils.getUint16(0,this)===1}set literal(e){s.utils.setUint16(0,1,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTemplateLiteral(e){s.utils.setUint16(0,2,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTemplateLiteral(){return s.utils.disown(this.templateLiteral)}get templateLiteral(){return s.utils.testWhich(`templateLiteral`,s.utils.getUint16(0,this),2,this),s.utils.getStruct(0,D,this)}_hasTemplateLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTemplateLiteral(){return s.utils.setUint16(0,2,this),s.utils.initStructAt(0,D,this)}get _isTemplateLiteral(){return s.utils.getUint16(0,this)===2}set templateLiteral(e){s.utils.setUint16(0,2,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptParameter(e){s.utils.setUint16(0,3,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownParameter(){return s.utils.disown(this.parameter)}get parameter(){return s.utils.testWhich(`parameter`,s.utils.getUint16(0,this),3,this),s.utils.getStruct(0,y,this)}_hasParameter(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initParameter(){return s.utils.setUint16(0,3,this),s.utils.initStructAt(0,y,this)}get _isParameter(){return s.utils.getUint16(0,this)===3}set parameter(e){s.utils.setUint16(0,3,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptFunction(e){s.utils.setUint16(0,4,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownFunction(){return s.utils.disown(this.function)}get function(){return s.utils.testWhich(`function`,s.utils.getUint16(0,this),4,this),s.utils.getStruct(0,xe,this)}_hasFunction(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initFunction(){return s.utils.setUint16(0,4,this),s.utils.initStructAt(0,xe,this)}get _isFunction(){return s.utils.getUint16(0,this)===4}set function(e){s.utils.setUint16(0,4,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptMethod(e){s.utils.setUint16(0,5,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownMethod(){return s.utils.disown(this.method)}get method(){return s.utils.testWhich(`method`,s.utils.getUint16(0,this),5,this),s.utils.getStruct(0,b,this)}_hasMethod(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initMethod(){return s.utils.setUint16(0,5,this),s.utils.initStructAt(0,b,this)}get _isMethod(){return s.utils.getUint16(0,this)===5}set method(e){s.utils.setUint16(0,5,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptProperty(e){s.utils.setUint16(0,6,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownProperty(){return s.utils.disown(this.property)}get property(){return s.utils.testWhich(`property`,s.utils.getUint16(0,this),6,this),s.utils.getStruct(0,be,this)}_hasProperty(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initProperty(){return s.utils.setUint16(0,6,this),s.utils.initStructAt(0,be,this)}get _isProperty(){return s.utils.getUint16(0,this)===6}set property(e){s.utils.setUint16(0,6,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptPromise(e){s.utils.setUint16(0,7,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownPromise(){return s.utils.disown(this.promise)}get promise(){return s.utils.testWhich(`promise`,s.utils.getUint16(0,this),7,this),s.utils.getStruct(0,Se,this)}_hasPromise(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initPromise(){return s.utils.setUint16(0,7,this),s.utils.initStructAt(0,Se,this)}get _isPromise(){return s.utils.getUint16(0,this)===7}set promise(e){s.utils.setUint16(0,7,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptClassType(e){s.utils.setUint16(0,8,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownClassType(){return s.utils.disown(this.classType)}get classType(){return s.utils.testWhich(`classType`,s.utils.getUint16(0,this),8,this),s.utils.getStruct(0,v,this)}_hasClassType(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initClassType(){return s.utils.setUint16(0,8,this),s.utils.initStructAt(0,v,this)}get _isClassType(){return s.utils.getUint16(0,this)===8}set classType(e){s.utils.setUint16(0,8,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptEnum(e){s.utils.setUint16(0,9,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownEnum(){return s.utils.disown(this.enum)}get enum(){return s.utils.testWhich(`enum`,s.utils.getUint16(0,this),9,this),s.utils.getStruct(0,we,this)}_hasEnum(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initEnum(){return s.utils.setUint16(0,9,this),s.utils.initStructAt(0,we,this)}get _isEnum(){return s.utils.getUint16(0,this)===9}set enum(e){s.utils.setUint16(0,9,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptUnion(e){s.utils.setUint16(0,10,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownUnion(){return s.utils.disown(this.union)}get union(){return s.utils.testWhich(`union`,s.utils.getUint16(0,this),10,this),s.utils.getStruct(0,x,this)}_hasUnion(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initUnion(){return s.utils.setUint16(0,10,this),s.utils.initStructAt(0,x,this)}get _isUnion(){return s.utils.getUint16(0,this)===10}set union(e){s.utils.setUint16(0,10,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIntersection(e){s.utils.setUint16(0,11,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownIntersection(){return s.utils.disown(this.intersection)}get intersection(){return s.utils.testWhich(`intersection`,s.utils.getUint16(0,this),11,this),s.utils.getStruct(0,S,this)}_hasIntersection(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initIntersection(){return s.utils.setUint16(0,11,this),s.utils.initStructAt(0,S,this)}get _isIntersection(){return s.utils.getUint16(0,this)===11}set intersection(e){s.utils.setUint16(0,11,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptArray(e){s.utils.setUint16(0,12,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownArray(){return s.utils.disown(this.array)}get array(){return s.utils.testWhich(`array`,s.utils.getUint16(0,this),12,this),s.utils.getStruct(0,Te,this)}_hasArray(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initArray(){return s.utils.setUint16(0,12,this),s.utils.initStructAt(0,Te,this)}get _isArray(){return s.utils.getUint16(0,this)===12}set array(e){s.utils.setUint16(0,12,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptObjectLiteral(e){s.utils.setUint16(0,13,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownObjectLiteral(){return s.utils.disown(this.objectLiteral)}get objectLiteral(){return s.utils.testWhich(`objectLiteral`,s.utils.getUint16(0,this),13,this),s.utils.getStruct(0,_,this)}_hasObjectLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initObjectLiteral(){return s.utils.setUint16(0,13,this),s.utils.initStructAt(0,_,this)}get _isObjectLiteral(){return s.utils.getUint16(0,this)===13}set objectLiteral(e){s.utils.setUint16(0,13,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIndexSignature(e){s.utils.setUint16(0,14,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownIndexSignature(){return s.utils.disown(this.indexSignature)}get indexSignature(){return s.utils.testWhich(`indexSignature`,s.utils.getUint16(0,this),14,this),s.utils.getStruct(0,Ee,this)}_hasIndexSignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initIndexSignature(){return s.utils.setUint16(0,14,this),s.utils.initStructAt(0,Ee,this)}get _isIndexSignature(){return s.utils.getUint16(0,this)===14}set indexSignature(e){s.utils.setUint16(0,14,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptPropertySignature(e){s.utils.setUint16(0,15,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownPropertySignature(){return s.utils.disown(this.propertySignature)}get propertySignature(){return s.utils.testWhich(`propertySignature`,s.utils.getUint16(0,this),15,this),s.utils.getStruct(0,De,this)}_hasPropertySignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initPropertySignature(){return s.utils.setUint16(0,15,this),s.utils.initStructAt(0,De,this)}get _isPropertySignature(){return s.utils.getUint16(0,this)===15}set propertySignature(e){s.utils.setUint16(0,15,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptMethodSignature(e){s.utils.setUint16(0,16,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownMethodSignature(){return s.utils.disown(this.methodSignature)}get methodSignature(){return s.utils.testWhich(`methodSignature`,s.utils.getUint16(0,this),16,this),s.utils.getStruct(0,C,this)}_hasMethodSignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initMethodSignature(){return s.utils.setUint16(0,16,this),s.utils.initStructAt(0,C,this)}get _isMethodSignature(){return s.utils.getUint16(0,this)===16}set methodSignature(e){s.utils.setUint16(0,16,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTypeParameter(e){s.utils.setUint16(0,17,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTypeParameter(){return s.utils.disown(this.typeParameter)}get typeParameter(){return s.utils.testWhich(`typeParameter`,s.utils.getUint16(0,this),17,this),s.utils.getStruct(0,Oe,this)}_hasTypeParameter(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTypeParameter(){return s.utils.setUint16(0,17,this),s.utils.initStructAt(0,Oe,this)}get _isTypeParameter(){return s.utils.getUint16(0,this)===17}set typeParameter(e){s.utils.setUint16(0,17,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptInfer(e){s.utils.setUint16(0,18,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownInfer(){return s.utils.disown(this.infer)}get infer(){return s.utils.testWhich(`infer`,s.utils.getUint16(0,this),18,this),s.utils.getStruct(0,ke,this)}_hasInfer(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initInfer(){return s.utils.setUint16(0,18,this),s.utils.initStructAt(0,ke,this)}get _isInfer(){return s.utils.getUint16(0,this)===18}set infer(e){s.utils.setUint16(0,18,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTuple(e){s.utils.setUint16(0,19,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTuple(){return s.utils.disown(this.tuple)}get tuple(){return s.utils.testWhich(`tuple`,s.utils.getUint16(0,this),19,this),s.utils.getStruct(0,T,this)}_hasTuple(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTuple(){return s.utils.setUint16(0,19,this),s.utils.initStructAt(0,T,this)}get _isTuple(){return s.utils.getUint16(0,this)===19}set tuple(e){s.utils.setUint16(0,19,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTupleMember(e){s.utils.setUint16(0,20,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTupleMember(){return s.utils.disown(this.tupleMember)}get tupleMember(){return s.utils.testWhich(`tupleMember`,s.utils.getUint16(0,this),20,this),s.utils.getStruct(0,w,this)}_hasTupleMember(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTupleMember(){return s.utils.setUint16(0,20,this),s.utils.initStructAt(0,w,this)}get _isTupleMember(){return s.utils.getUint16(0,this)===20}set tupleMember(e){s.utils.setUint16(0,20,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptRest(e){s.utils.setUint16(0,21,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownRest(){return s.utils.disown(this.rest)}get rest(){return s.utils.testWhich(`rest`,s.utils.getUint16(0,this),21,this),s.utils.getStruct(0,Ae,this)}_hasRest(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initRest(){return s.utils.setUint16(0,21,this),s.utils.initStructAt(0,Ae,this)}get _isRest(){return s.utils.getUint16(0,this)===21}set rest(e){s.utils.setUint16(0,21,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptOther(e){s.utils.setUint16(0,22,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownOther(){return s.utils.disown(this.other)}get other(){return s.utils.testWhich(`other`,s.utils.getUint16(0,this),22,this),s.utils.getStruct(0,Le,this)}_hasOther(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initOther(){return s.utils.setUint16(0,22,this),s.utils.initStructAt(0,Le,this)}get _isOther(){return s.utils.getUint16(0,this)===22}set other(e){s.utils.setUint16(0,22,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return s.utils.getUint16(0,this)}},ze=class extends s.Struct{static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new s.ObjectSize(8,1)};get type(){return s.utils.getAs(Re,this)}_initType(){return s.utils.getAs(Re,this)}toString(){return`SerializedType_`+super.toString()}},Be=class e extends s.Struct{static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new s.ObjectSize(0,1)};_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(0,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTypes(t){return s.utils.initList(0,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};ye._Indexes=s.CompositeList(ve),_._TypeArguments=s.CompositeList(h),_._Decorators=s.CompositeList(h),_._Types=s.CompositeList(h),v._TypeArguments=s.CompositeList(h),v._Decorators=s.CompositeList(h),v._ExtendsArguments=s.CompositeList(h),v._Arguments=s.CompositeList(h),v._Types=s.CompositeList(h),y._TypeArguments=s.CompositeList(h),y._Decorators=s.CompositeList(h),b._TypeArguments=s.CompositeList(h),b._Decorators=s.CompositeList(h),b._Parameters=s.CompositeList(y),be._TypeArguments=s.CompositeList(h),be._Decorators=s.CompositeList(h),xe._TypeArguments=s.CompositeList(h),xe._Decorators=s.CompositeList(h),xe._Parameters=s.CompositeList(y),Se._TypeArguments=s.CompositeList(h),Se._Decorators=s.CompositeList(h),we._TypeArguments=s.CompositeList(h),we._Decorators=s.CompositeList(h),we._EnumEntries=s.CompositeList(Ce),x._TypeArguments=s.CompositeList(h),x._Decorators=s.CompositeList(h),x._Types=s.CompositeList(h),S._TypeArguments=s.CompositeList(h),S._Decorators=s.CompositeList(h),S._Types=s.CompositeList(h),Te._TypeArguments=s.CompositeList(h),Te._Decorators=s.CompositeList(h),Ee._TypeArguments=s.CompositeList(h),Ee._Decorators=s.CompositeList(h),De._TypeArguments=s.CompositeList(h),De._Decorators=s.CompositeList(h),C._TypeArguments=s.CompositeList(h),C._Decorators=s.CompositeList(h),C._Parameters=s.CompositeList(y),Oe._TypeArguments=s.CompositeList(h),Oe._Decorators=s.CompositeList(h),ke._TypeArguments=s.CompositeList(h),ke._Decorators=s.CompositeList(h),w._TypeArguments=s.CompositeList(h),w._Decorators=s.CompositeList(h),T._TypeArguments=s.CompositeList(h),T._Decorators=s.CompositeList(h),T._Types=s.CompositeList(w),Ae._TypeArguments=s.CompositeList(h),Ae._Decorators=s.CompositeList(h),je._TypeArguments=s.CompositeList(h),je._Decorators=s.CompositeList(h),Ie._TypeArguments=s.CompositeList(h),Ie._Decorators=s.CompositeList(h),D._TypeArguments=s.CompositeList(h),D._Decorators=s.CompositeList(h),D._Types=s.CompositeList(h),Be._Types=s.CompositeList(ze);function Ve(e,t){if(!e||!Array.isArray(e)||e.length===0)throw Error(`Invalid serialized type provided for conversion.`);if(e.length!==t.length)throw Error(`Mismatch in length of serialized types: expected ${t.length}, got ${e.length}.`);return e.filter(e=>ie(e)&&!ae(e.kind)).forEach((e,n)=>{Ue(e,t.get(n)._initType())}),t}function He(e){if(!e)throw Error(`Invalid serialized type provided for conversion.`);let t=[];return e.forEach(e=>{let n=We(e.type);t.push(n)}),t}function k(e,t){if(t?.alias?.length){let n=e._initAlias(t.alias.length);t.alias.forEach((e,t)=>{n.set(t,e)})}if(e.hidden=t?.hidden??!1,e.ignore=t?.ignore??!1,e.internal=t?.internal??!1,e.readonly=t?.readonly??!1,t?.title&&(e.title=t?.title),t?.domain&&(e.domain=t?.domain),t?.permission?.length){let n=e._initPermission(t.permission.length);t.permission?.forEach((e,t)=>{n.set(t,e)})}return e}function A(e){return e._hasTags()?{alias:e.tags?.alias?.length?e.tags?.alias.map(e=>e):void 0,hidden:e.tags?.hidden,domain:e.tags?.domain?e.tags.domain:void 0,title:e.tags?.title?e.tags.title:void 0,ignore:e.tags?.ignore,internal:e.tags?.internal,readonly:e.tags?.readonly,permission:e.tags?.permission?.length?e.tags?.permission?.map(e=>e):void 0}:void 0}function j(e,t){let n=e._initIndex();n.id=t?.index??0;let r=e._initContainer();return r.id=t?.container??0,e}function M(e){return e._hasIndexAccessOrigin()?{container:Number(e.indexAccessOrigin?.container.id),index:Number(e.indexAccessOrigin?.index.id)}:void 0}function Ue(e,t){return e.kind===u.ReflectionKind.objectLiteral?Tt(e,t._initObjectLiteral()):e.kind===u.ReflectionKind.class?Ct(e,t._initClassType()):e.kind===u.ReflectionKind.parameter?Dt(e,t._initParameter()):e.kind===u.ReflectionKind.function?yt(e,t._initFunction()):e.kind===u.ReflectionKind.method?bt(e,t._initMethod()):e.kind===u.ReflectionKind.infer?_t(e,t._initInfer()):e.kind===u.ReflectionKind.union?ht(e,t._initUnion()):e.kind===u.ReflectionKind.array?pt(e,t._initArray()):e.kind===u.ReflectionKind.intersection?dt(e,t._initIntersection()):e.kind===u.ReflectionKind.enum?lt(e,t._initEnum()):e.kind===u.ReflectionKind.property?st(e,t._initProperty()):e.kind===u.ReflectionKind.tuple?at(e,t._initTuple()):e.kind===u.ReflectionKind.tupleMember?rt(e,t._initTupleMember()):e.kind===u.ReflectionKind.propertySignature?nt(e,t._initPropertySignature()):e.kind===u.ReflectionKind.methodSignature?Qe(e,t._initMethodSignature()):e.kind===u.ReflectionKind.literal?Xe(e,t._initLiteral()):e.kind===u.ReflectionKind.never||e.kind===u.ReflectionKind.any||e.kind===u.ReflectionKind.unknown||e.kind===u.ReflectionKind.void||e.kind===u.ReflectionKind.object||e.kind===u.ReflectionKind.string||e.kind===u.ReflectionKind.number||e.kind===u.ReflectionKind.boolean||e.kind===u.ReflectionKind.symbol||e.kind===u.ReflectionKind.bigint||e.kind===u.ReflectionKind.null||e.kind===u.ReflectionKind.undefined||e.kind===u.ReflectionKind.regexp?Je(e,t._initSimple()):qe(e,t._initOther()),t}function We(e){if(e._isObjectLiteral)return Et(e.objectLiteral);if(e._isClassType)return wt(e.classType);if(e._isParameter)return Ot(e.parameter);if(e._isFunction)return xt(e.function);if(e._isInfer)return vt(e.infer);if(e._isMethod)return St(e.method);if(e._isUnion)return gt(e.union);if(e._isArray)return mt(e.array);if(e._isIntersection)return ft(e.intersection);if(e._isEnum)return ut(e.enum);if(e._isProperty)return ct(e.property);if(e._isTuple)return ot(e.tuple);if(e._isTupleMember)return it(e.tupleMember);if(e._isPropertySignature)return $e(e.propertySignature);if(e._isMethodSignature)return Ze(e.methodSignature);if(e._isLiteral)return Ye(e.literal);if(e._isSimple)return Ke(e.simple);if(e._isOther)return Ge(e.other);throw Error(`Unsupported serialized type kind: ${e.toString()}`)}function Ge(e){return{kind:e.kind,typeName:e.typeName||void 0}}function Ke(e){let t={kind:e.kind,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e)};return e._hasOrigin()&&(t.origin=Number(e.origin.id)),t}function qe(e,t){return t.kind=e.kind,t.typeName=e.typeName||``,t}function Je(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,e.origin&&(t._initOrigin(),t.origin.id=e.origin??0),e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function Ye(e){return{kind:u.ReflectionKind.literal,literal:e.literal._isString?e.literal.string:e.literal._isNumber?e.literal.number:e.literal._isBoolean?e.literal.boolean:e.literal._isBigint?{type:`bigint`,value:e.literal.bigint.value}:e.literal._isSymbol?{type:`symbol`,name:e.literal.symbol.name}:{type:`regex`,regex:e.literal.regex.regex},typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e)}}function Xe(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initLiteral();if(typeof e.literal==`boolean`)n.boolean=e.literal;else if(typeof e.literal==`number`)n.number=e.literal;else if(typeof e.literal==`string`)n.string=e.literal;else if(e.literal.type===`bigint`){let t=n._initBigint();t.type=`bigint`,t.value=e.literal.value}else if(e.literal.type===`symbol`){let t=n._initSymbol();t.type=`symbol`,t.name=e.literal.name.toString().slice(7,-1)}else if(e.literal.type===`regex`){let t=n._initRegex();t.type=`regex`,t.regex=e.literal.regex}if(e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function Ze(e){return{kind:u.ReflectionKind.methodSignature,name:e.name,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,parameters:e._hasParameters()?e.parameters.map(e=>Ot(e)):[],return:e.return.id,tags:A(e)}}function Qe(e,t){if(t.kind=e.kind,t.name=String(e.name),t.typeName=e.typeName||``,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&k(t._initTags(),e.tags),t}function $e(e){return{kind:u.ReflectionKind.propertySignature,name:e.name,typeName:e.typeName||void 0,description:e.description,default:tt(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e),tags:A(e)}}function et(e,t){e!==void 0&&e!==``&&(t._initValue(),typeof e==`string`?t.value.string=e:typeof e==`number`?re(e)?t.value.integer=e:t.value.float=e:typeof e==`boolean`&&(t.value.boolean=e))}function tt(e){if(e.value!==void 0){if(e.value._isBoolean)return e.value.boolean;if(e.value._isInteger)return e.value.integer;if(e.value._isFloat)return e.value.float;if(e.value._isString)return e.value.string}}function nt(e,t){if(t.kind=e.kind,t.name=String(e.name)||``,t.typeName=e.typeName||``,t.description=e.description||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,e.default!==void 0){let n=t._initDefault();et(e.default,n)}let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&k(t._initTags(),e.tags),t}function rt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function it(e){return{kind:u.ReflectionKind.tupleMember,type:e.type.id,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e)}}function at(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types.length);if(e.types.forEach((e,t)=>{rt(e,n.get(t))}),e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function ot(e){return{kind:u.ReflectionKind.tuple,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>it(e)):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e)}}function st(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.description=e.description||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,t.visibility=e.visibility===u.ReflectionVisibility.public?d.PUBLIC:e.visibility===u.ReflectionVisibility.protected?d.PROTECTED:d.PRIVATE,t.abstract=e.abstract??!1,t.name=String(e.name)||``,e.default!==void 0){let n=t._initDefault();et(e.default,n)}let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&k(t._initTags(),e.tags),t}function ct(e){return{kind:u.ReflectionKind.property,typeName:e.typeName||void 0,description:e.description,default:tt(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,visibility:e.visibility===d.PUBLIC?u.ReflectionVisibility.public:e.visibility===d.PROTECTED?u.ReflectionVisibility.protected:u.ReflectionVisibility.private,abstract:e.abstract?!0:void 0,name:e.name,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e),tags:A(e)}}function lt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initIndexType();if(n.id=e.indexType,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.values?.length){let n=t._initValues(e.values?.length);e.values.forEach((e,t)=>{n.set(t,String(e))})}let r=t._initEnumEntries(Object.keys(e.enum).length??0);return Object.entries(e.enum).forEach(([e,t],n)=>{let i=r.get(n);i.name=e,i.value=String(t)}),e.tags&&k(t._initTags(),e.tags),t}function ut(e){return{kind:u.ReflectionKind.enum,typeName:e.typeName||void 0,indexType:e.indexType.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,values:e._hasValues()?e.values.map(e=>e):[],enum:e._hasEnumEntries()?Object.entries(e.enumEntries).reduce((e,[t,n])=>(e[t]=n.value,e),{}):{},indexAccessOrigin:M(e),tags:A(e)}}function dt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types?.length??0);if(e.types?.forEach((e,t)=>{let r=n.get(t);r.id=e}),e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function ft(e){return{kind:u.ReflectionKind.intersection,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e)}}function pt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&k(t._initTags(),e.tags),t}function mt(e){return{kind:u.ReflectionKind.array,typeName:e.typeName||void 0,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e),tags:A(e)}}function ht(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types?.length??0);if(e.types?.forEach((e,t)=>{let r=n.get(t);r.id=e}),e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function gt(e){return{kind:u.ReflectionKind.union,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e)}}function _t(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function vt(e){return{kind:u.ReflectionKind.infer,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e)}}function yt(e,t){if(t.name=String(e.name)||``,t.kind=e.kind,t.typeName=e.typeName||``,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.parameters?.length){let n=t._initParameters(e.parameters.length);e.parameters.forEach((e,t)=>{Dt(e,n.get(t))})}let n=t._initReturn();return n.id=e.return,e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&k(t._initTags(),e.tags),t}function bt(e,t){if(t.name=String(e.name)||``,t.kind=e.kind,t.typeName=e.typeName||``,t.abstract=e.abstract??!1,t.visibility=e.visibility===u.ReflectionVisibility.public?d.PUBLIC:e.visibility===u.ReflectionVisibility.protected?d.PROTECTED:d.PRIVATE,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.parameters?.length){let n=t._initParameters(e.parameters.length);e.parameters.forEach((e,t)=>{Dt(e,n.get(t))})}let n=t._initReturn();return n.id=e.return,e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&k(t._initTags(),e.tags),t}function xt(e){return{kind:u.ReflectionKind.function,name:e.name,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,parameters:e._hasParameters()?e.parameters.map(e=>Ot(e)):[],return:e.return.id,indexAccessOrigin:M(e),tags:A(e)}}function St(e){return{kind:u.ReflectionKind.method,name:e.name,typeName:e.typeName||void 0,abstract:e.abstract?!0:void 0,return:e.return.id,visibility:e.visibility===d.PUBLIC?u.ReflectionVisibility.public:e.visibility===d.PROTECTED?u.ReflectionVisibility.protected:u.ReflectionVisibility.private,parameters:e._hasParameters()?e.parameters.map(e=>Ot(e)):[]}}function Ct(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.classType=e.classType||``,t.globalObject=e.globalObject??!1,e.arguments?.length){let n=t._initArguments(e.arguments.length);e.arguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.extendsArguments?.length){let n=t._initArguments(e.extendsArguments.length);e.extendsArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.superClass){let n=t._initSuperClass();n.id=e.superClass}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&k(t._initTags(),e.tags),t}function wt(e){return{kind:u.ReflectionKind.class,typeName:e.typeName||void 0,classType:e.classType,globalObject:e.globalObject?!0:void 0,arguments:e._hasArguments()?e.arguments.map(e=>e.id):void 0,extendsArguments:e._hasExtendsArguments()?e.extendsArguments.map(e=>e.id):void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,superClass:e._hasSuperClass()?e.superClass.id:void 0,indexAccessOrigin:M(e),tags:A(e)}}function Tt(e,t){if(e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.types?.length){let n=t._initTypes(e.types.length);e.types.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&k(t._initTags(),e.tags),t}function Et(e){return{kind:u.ReflectionKind.objectLiteral,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e),tags:A(e)}}function Dt(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.name=e.name||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,t.visibility=e.visibility===u.ReflectionVisibility.public?d.PUBLIC:e.visibility===u.ReflectionVisibility.protected?d.PROTECTED:d.PRIVATE,e.default!==void 0){let n=t._initDefault();et(e.default,n)}let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&j(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&k(t._initTags(),e.tags),t}function Ot(e){return{kind:u.ReflectionKind.parameter,typeName:e.typeName||void 0,name:e.name,default:tt(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,visibility:e.visibility===d.PUBLIC?u.ReflectionVisibility.public:e.visibility===d.PROTECTED?u.ReflectionVisibility.protected:u.ReflectionVisibility.private,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:M(e),tags:A(e)}}var kt=Object.defineProperty,N=(e,t)=>kt(e,`name`,{value:t,configurable:!0}),P=class extends s.Struct{static{N(this,`TagsReflection`)}static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new s.ObjectSize(8,4)};_adoptAlias(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownAlias(){return s.utils.disown(this.alias)}get alias(){return s.utils.getList(0,s.TextList,this)}_hasAlias(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initAlias(e){return s.utils.initList(0,s.TextList,e,this)}set alias(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}get title(){return s.utils.getText(1,this)}set title(e){s.utils.setText(1,e,this)}get hidden(){return s.utils.getBit(0,this)}set hidden(e){s.utils.setBit(0,e,this)}get readonly(){return s.utils.getBit(1,this)}set readonly(e){s.utils.setBit(1,e,this)}get ignore(){return s.utils.getBit(2,this)}set ignore(e){s.utils.setBit(2,e,this)}get internal(){return s.utils.getBit(3,this)}set internal(e){s.utils.setBit(3,e,this)}_adoptPermission(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownPermission(){return s.utils.disown(this.permission)}get permission(){return s.utils.getList(2,s.TextList,this)}_hasPermission(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initPermission(e){return s.utils.initList(2,s.TextList,e,this)}set permission(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}get domain(){return s.utils.getText(3,this)}set domain(e){s.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}},F={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4},At=class extends s.Struct{static{N(this,`DefaultValueReflection_Value`)}static UNDEFINED=F.UNDEFINED;static BOOLEAN=F.BOOLEAN;static INTEGER=F.INTEGER;static FLOAT=F.FLOAT;static STRING=F.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new s.ObjectSize(16,1)};get _isUndefined(){return s.utils.getUint16(0,this)===0}set undefined(e){s.utils.setUint16(0,0,this)}get boolean(){return s.utils.testWhich(`boolean`,s.utils.getUint16(0,this),1,this),s.utils.getBit(16,this)}get _isBoolean(){return s.utils.getUint16(0,this)===1}set boolean(e){s.utils.setUint16(0,1,this),s.utils.setBit(16,e,this)}get integer(){return s.utils.testWhich(`integer`,s.utils.getUint16(0,this),2,this),s.utils.getInt32(4,this)}get _isInteger(){return s.utils.getUint16(0,this)===2}set integer(e){s.utils.setUint16(0,2,this),s.utils.setInt32(4,e,this)}get float(){return s.utils.testWhich(`float`,s.utils.getUint16(0,this),3,this),s.utils.getFloat64(8,this)}get _isFloat(){return s.utils.getUint16(0,this)===3}set float(e){s.utils.setUint16(0,3,this),s.utils.setFloat64(8,e,this)}get string(){return s.utils.testWhich(`string`,s.utils.getUint16(0,this),4,this),s.utils.getText(0,this)}get _isString(){return s.utils.getUint16(0,this)===4}set string(e){s.utils.setUint16(0,4,this),s.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return s.utils.getUint16(0,this)}},I=class extends s.Struct{static{N(this,`DefaultValueReflection`)}static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new s.ObjectSize(16,1)};get value(){return s.utils.getAs(At,this)}_initValue(){return s.utils.getAs(At,this)}toString(){return`DefaultValueReflection_`+super.toString()}},L=class extends s.Struct{static{N(this,`SerializedTypeReference`)}static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new s.ObjectSize(8,0)};get id(){return s.utils.getUint32(0,this)}set id(e){s.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},R=class extends s.Struct{static{N(this,`IndexAccessOrigin`)}static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new s.ObjectSize(0,2)};_adoptContainer(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownContainer(){return s.utils.disown(this.container)}get container(){return s.utils.getStruct(0,L,this)}_hasContainer(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initContainer(){return s.utils.initStructAt(0,L,this)}set container(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIndex(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownIndex(){return s.utils.disown(this.index)}get index(){return s.utils.getStruct(1,L,this)}_hasIndex(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initIndex(){return s.utils.initStructAt(1,L,this)}set index(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},jt=class extends s.Struct{static{N(this,`EntityOptions_EntityIndexOptions`)}static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new s.ObjectSize(0,2)};_adoptNames(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownNames(){return s.utils.disown(this.names)}get names(){return s.utils.getList(0,s.TextList,this)}_hasNames(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initNames(e){return s.utils.initList(0,s.TextList,e,this)}set names(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}get options(){return s.utils.getText(1,this)}set options(e){s.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},Mt=class e extends s.Struct{static{N(this,`EntityOptions`)}static EntityIndexOptions=jt;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new s.ObjectSize(8,5)};static _Indexes;get name(){return s.utils.getText(0,this)}set name(e){s.utils.setText(0,e,this)}get description(){return s.utils.getText(1,this)}set description(e){s.utils.setText(1,e,this)}get collection(){return s.utils.getText(2,this)}set collection(e){s.utils.setText(2,e,this)}get database(){return s.utils.getText(3,this)}set database(e){s.utils.setText(3,e,this)}get singleTableInheritance(){return s.utils.getBit(0,this)}set singleTableInheritance(e){s.utils.setBit(0,e,this)}_adoptIndexes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownIndexes(){return s.utils.disown(this.indexes)}get indexes(){return s.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initIndexes(t){return s.utils.initList(4,e._Indexes,t,this)}set indexes(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},z=class e extends s.Struct{static{N(this,`SerializedTypeObjectLiteral`)}static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new s.ObjectSize(8,6)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(5,P,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initTags(){return s.utils.initStructAt(5,P,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},B=class e extends s.Struct{static{N(this,`SerializedTypeClassType`)}static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new s.ObjectSize(8,11)};static _TypeArguments;static _Decorators;static _ExtendsArguments;static _Arguments;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get globalObject(){return s.utils.getBit(16,this)}set globalObject(e){s.utils.setBit(16,e,this)}get classType(){return s.utils.getText(5,this)}set classType(e){s.utils.setText(5,e,this)}_adoptExtendsArguments(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownExtendsArguments(){return s.utils.disown(this.extendsArguments)}get extendsArguments(){return s.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initExtendsArguments(t){return s.utils.initList(6,e._ExtendsArguments,t,this)}set extendsArguments(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptArguments(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownArguments(){return s.utils.disown(this.arguments)}get arguments(){return s.utils.getList(7,e._Arguments,this)}_hasArguments(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initArguments(t){return s.utils.initList(7,e._Arguments,t,this)}set arguments(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptSuperClass(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownSuperClass(){return s.utils.disown(this.superClass)}get superClass(){return s.utils.getStruct(8,L,this)}_hasSuperClass(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initSuperClass(){return s.utils.initStructAt(8,L,this)}set superClass(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(9,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(9,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(9,this))}_initTypes(t){return s.utils.initList(9,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(9,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(10,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(10,P,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(10,this))}_initTags(){return s.utils.initStructAt(10,P,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},V=class e extends s.Struct{static{N(this,`SerializedTypeParameter`)}static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new s.ObjectSize(8,8)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(5,L,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initType(){return s.utils.initStructAt(5,L,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}get visibility(){return s.utils.getUint16(2,this)}set visibility(e){s.utils.setUint16(2,e,this)}get readonly(){return s.utils.getBit(32,this)}set readonly(e){s.utils.setBit(32,e,this)}get optional(){return s.utils.getBit(33,this)}set optional(e){s.utils.setBit(33,e,this)}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(6,I,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initDefault(){return s.utils.initStructAt(6,I,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,P,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,P,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},H=class e extends s.Struct{static{N(this,`SerializedTypeMethod`)}static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new s.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,P,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,P,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(6,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initParameters(t){return s.utils.initList(6,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(7,L,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initReturn(){return s.utils.initStructAt(7,L,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},Nt=class e extends s.Struct{static{N(this,`SerializedTypeProperty`)}static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new s.ObjectSize(8,9)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,P,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,P,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}get description(){return s.utils.getText(6,this)}set description(e){s.utils.setText(6,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(7,L,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initType(){return s.utils.initStructAt(7,L,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(8,I,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initDefault(){return s.utils.initStructAt(8,I,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},U=class e extends s.Struct{static{N(this,`SerializedTypeFunction`)}static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new s.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}get optional(){return s.utils.getBit(17,this)}set optional(e){s.utils.setBit(17,e,this)}get readonly(){return s.utils.getBit(18,this)}set readonly(e){s.utils.setBit(18,e,this)}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(4,P,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTags(){return s.utils.initStructAt(4,P,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get kind(){return s.utils.getUint16(4,this)}set kind(e){s.utils.setUint16(4,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(6,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initParameters(t){return s.utils.initList(6,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(7,L,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initReturn(){return s.utils.initStructAt(7,L,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},Pt=class e extends s.Struct{static{N(this,`SerializedTypePromise`)}static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new s.ObjectSize(8,4)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get visibility(){return s.utils.getUint16(0,this)}set visibility(e){s.utils.setUint16(0,e,this)}get abstract(){return s.utils.getBit(16,this)}set abstract(e){s.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},Ft=class extends s.Struct{static{N(this,`SerializedTypeEnumEntry`)}static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new s.ObjectSize(0,2)};get name(){return s.utils.getText(0,this)}set name(e){s.utils.setText(0,e,this)}get value(){return s.utils.getText(1,this)}set value(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},W=class e extends s.Struct{static{N(this,`SerializedTypeEnum`)}static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new s.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _EnumEntries;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptEnumEntries(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownEnumEntries(){return s.utils.disown(this.enumEntries)}get enumEntries(){return s.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initEnumEntries(t){return s.utils.initList(4,e._EnumEntries,t,this)}set enumEntries(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptValues(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownValues(){return s.utils.disown(this.values)}get values(){return s.utils.getList(5,s.TextList,this)}_hasValues(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initValues(e){return s.utils.initList(5,s.TextList,e,this)}set values(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}_adoptIndexType(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownIndexType(){return s.utils.disown(this.indexType)}get indexType(){return s.utils.getStruct(6,L,this)}_hasIndexType(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initIndexType(){return s.utils.initStructAt(6,L,this)}set indexType(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,P,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,P,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},G=class e extends s.Struct{static{N(this,`SerializedTypeUnion`)}static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},K=class e extends s.Struct{static{N(this,`SerializedTypeIntersection`)}static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},It=class e extends s.Struct{static{N(this,`SerializedTypeArray`)}static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new s.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,L,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,L,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(5,P,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initTags(){return s.utils.initStructAt(5,P,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},Lt=class e extends s.Struct{static{N(this,`SerializedTypeIndexSignature`)}static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new s.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptIndex(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownIndex(){return s.utils.disown(this.index)}get index(){return s.utils.getStruct(4,L,this)}_hasIndex(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initIndex(){return s.utils.initStructAt(4,L,this)}set index(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(5,L,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initType(){return s.utils.initStructAt(5,L,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},Rt=class e extends s.Struct{static{N(this,`SerializedTypePropertySignature`)}static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new s.ObjectSize(8,9)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}get readonly(){return s.utils.getBit(17,this)}set readonly(e){s.utils.setBit(17,e,this)}get description(){return s.utils.getText(5,this)}set description(e){s.utils.setText(5,e,this)}_adoptDefault(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownDefault(){return s.utils.disown(this.default)}get default(){return s.utils.getStruct(6,I,this)}_hasDefault(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initDefault(){return s.utils.initStructAt(6,I,this)}set default(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(7,L,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initType(){return s.utils.initStructAt(7,L,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(8,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(8,P,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(8,this))}_initTags(){return s.utils.initStructAt(8,P,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},q=class e extends s.Struct{static{N(this,`SerializedTypeMethodSignature`)}static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new s.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}_adoptParameters(e){s.utils.adopt(e,s.utils.getPointer(5,this))}_disownParameters(){return s.utils.disown(this.parameters)}get parameters(){return s.utils.getList(5,e._Parameters,this)}_hasParameters(){return!s.utils.isNull(s.utils.getPointer(5,this))}_initParameters(t){return s.utils.initList(5,e._Parameters,t,this)}set parameters(e){s.utils.copyFrom(e,s.utils.getPointer(5,this))}_adoptReturn(e){s.utils.adopt(e,s.utils.getPointer(6,this))}_disownReturn(){return s.utils.disown(this.return)}get return(){return s.utils.getStruct(6,L,this)}_hasReturn(){return!s.utils.isNull(s.utils.getPointer(6,this))}_initReturn(){return s.utils.initStructAt(6,L,this)}set return(e){s.utils.copyFrom(e,s.utils.getPointer(6,this))}_adoptTags(e){s.utils.adopt(e,s.utils.getPointer(7,this))}_disownTags(){return s.utils.disown(this.tags)}get tags(){return s.utils.getStruct(7,P,this)}_hasTags(){return!s.utils.isNull(s.utils.getPointer(7,this))}_initTags(){return s.utils.initStructAt(7,P,this)}set tags(e){s.utils.copyFrom(e,s.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},zt=class e extends s.Struct{static{N(this,`SerializedTypeTypeParameter`)}static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get name(){return s.utils.getText(4,this)}set name(e){s.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},Bt=class e extends s.Struct{static{N(this,`SerializedTypeInfer`)}static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new s.ObjectSize(8,4)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},J=class e extends s.Struct{static{N(this,`SerializedTypeTupleMember`)}static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new s.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,L,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,L,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}get optional(){return s.utils.getBit(16,this)}set optional(e){s.utils.setBit(16,e,this)}get name(){return s.utils.getText(5,this)}set name(e){s.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},Y=class e extends s.Struct{static{N(this,`SerializedTypeTuple`)}static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},Vt=class e extends s.Struct{static{N(this,`SerializedTypeRest`)}static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptType(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownType(){return s.utils.disown(this.type)}get type(){return s.utils.getStruct(4,L,this)}_hasType(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initType(){return s.utils.initStructAt(4,L,this)}set type(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},Ht=class e extends s.Struct{static{N(this,`SimpleSerializedType`)}static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptOrigin(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownOrigin(){return s.utils.disown(this.origin)}get origin(){return s.utils.getStruct(4,L,this)}_hasOrigin(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initOrigin(){return s.utils.initStructAt(4,L,this)}set origin(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},Ut=class extends s.Struct{static{N(this,`SerializedTypeLiteralSymbol`)}static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get name(){return s.utils.getText(1,this)}set name(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},Wt=class extends s.Struct{static{N(this,`SerializedTypeLiteralBigInt`)}static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get value(){return s.utils.getText(1,this)}set value(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},Gt=class extends s.Struct{static{N(this,`SerializedTypeLiteralRegex`)}static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new s.ObjectSize(0,2)};get type(){return s.utils.getText(0,this)}set type(e){s.utils.setText(0,e,this)}get regex(){return s.utils.getText(1,this)}set regex(e){s.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}},X={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5},Kt=class extends s.Struct{static{N(this,`SerializedTypeLiteral_Literal`)}static SYMBOL=X.SYMBOL;static STRING=X.STRING;static NUMBER=X.NUMBER;static BOOLEAN=X.BOOLEAN;static BIGINT=X.BIGINT;static REGEX=X.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new s.ObjectSize(16,5)};_adoptSymbol(e){s.utils.setUint16(2,0,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownSymbol(){return s.utils.disown(this.symbol)}get symbol(){return s.utils.testWhich(`symbol`,s.utils.getUint16(2,this),0,this),s.utils.getStruct(4,Ut,this)}_hasSymbol(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initSymbol(){return s.utils.setUint16(2,0,this),s.utils.initStructAt(4,Ut,this)}get _isSymbol(){return s.utils.getUint16(2,this)===0}set symbol(e){s.utils.setUint16(2,0,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}get string(){return s.utils.testWhich(`string`,s.utils.getUint16(2,this),1,this),s.utils.getText(4,this)}get _isString(){return s.utils.getUint16(2,this)===1}set string(e){s.utils.setUint16(2,1,this),s.utils.setText(4,e,this)}get number(){return s.utils.testWhich(`number`,s.utils.getUint16(2,this),2,this),s.utils.getFloat64(8,this)}get _isNumber(){return s.utils.getUint16(2,this)===2}set number(e){s.utils.setUint16(2,2,this),s.utils.setFloat64(8,e,this)}get boolean(){return s.utils.testWhich(`boolean`,s.utils.getUint16(2,this),3,this),s.utils.getBit(64,this)}get _isBoolean(){return s.utils.getUint16(2,this)===3}set boolean(e){s.utils.setUint16(2,3,this),s.utils.setBit(64,e,this)}_adoptBigint(e){s.utils.setUint16(2,4,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownBigint(){return s.utils.disown(this.bigint)}get bigint(){return s.utils.testWhich(`bigint`,s.utils.getUint16(2,this),4,this),s.utils.getStruct(4,Wt,this)}_hasBigint(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initBigint(){return s.utils.setUint16(2,4,this),s.utils.initStructAt(4,Wt,this)}get _isBigint(){return s.utils.getUint16(2,this)===4}set bigint(e){s.utils.setUint16(2,4,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}_adoptRegex(e){s.utils.setUint16(2,5,this),s.utils.adopt(e,s.utils.getPointer(4,this))}_disownRegex(){return s.utils.disown(this.regex)}get regex(){return s.utils.testWhich(`regex`,s.utils.getUint16(2,this),5,this),s.utils.getStruct(4,Gt,this)}_hasRegex(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initRegex(){return s.utils.setUint16(2,5,this),s.utils.initStructAt(4,Gt,this)}get _isRegex(){return s.utils.getUint16(2,this)===5}set regex(e){s.utils.setUint16(2,5,this),s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return s.utils.getUint16(2,this)}},qt=class e extends s.Struct{static{N(this,`SerializedTypeLiteral`)}static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new s.ObjectSize(16,5)};static _TypeArguments;static _Decorators;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}get literal(){return s.utils.getAs(Kt,this)}_initLiteral(){return s.utils.getAs(Kt,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},Jt=class e extends s.Struct{static{N(this,`SerializedTypeTemplateLiteral`)}static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new s.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}_adoptTypeArguments(e){s.utils.adopt(e,s.utils.getPointer(1,this))}_disownTypeArguments(){return s.utils.disown(this.typeArguments)}get typeArguments(){return s.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!s.utils.isNull(s.utils.getPointer(1,this))}_initTypeArguments(t){return s.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){s.utils.copyFrom(e,s.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){s.utils.adopt(e,s.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return s.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return s.utils.getStruct(2,R,this)}_hasIndexAccessOrigin(){return!s.utils.isNull(s.utils.getPointer(2,this))}_initIndexAccessOrigin(){return s.utils.initStructAt(2,R,this)}set indexAccessOrigin(e){s.utils.copyFrom(e,s.utils.getPointer(2,this))}_adoptDecorators(e){s.utils.adopt(e,s.utils.getPointer(3,this))}_disownDecorators(){return s.utils.disown(this.decorators)}get decorators(){return s.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!s.utils.isNull(s.utils.getPointer(3,this))}_initDecorators(t){return s.utils.initList(3,e._Decorators,t,this)}set decorators(e){s.utils.copyFrom(e,s.utils.getPointer(3,this))}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(4,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(4,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(4,this))}_initTypes(t){return s.utils.initList(4,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},Yt=class extends s.Struct{static{N(this,`SerializedTypeOther`)}static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new s.ObjectSize(8,1)};get typeName(){return s.utils.getText(0,this)}set typeName(e){s.utils.setText(0,e,this)}get kind(){return s.utils.getUint16(0,this)}set kind(e){s.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}},Z={SIMPLE:0,LITERAL:1,TEMPLATE_LITERAL:2,PARAMETER:3,FUNCTION:4,METHOD:5,PROPERTY:6,PROMISE:7,CLASS_TYPE:8,ENUM:9,UNION:10,INTERSECTION:11,ARRAY:12,OBJECT_LITERAL:13,INDEX_SIGNATURE:14,PROPERTY_SIGNATURE:15,METHOD_SIGNATURE:16,TYPE_PARAMETER:17,INFER:18,TUPLE:19,TUPLE_MEMBER:20,REST:21,OTHER:22},Xt=class extends s.Struct{static{N(this,`SerializedType_Type`)}static SIMPLE=Z.SIMPLE;static LITERAL=Z.LITERAL;static TEMPLATE_LITERAL=Z.TEMPLATE_LITERAL;static PARAMETER=Z.PARAMETER;static FUNCTION=Z.FUNCTION;static METHOD=Z.METHOD;static PROPERTY=Z.PROPERTY;static PROMISE=Z.PROMISE;static CLASS_TYPE=Z.CLASS_TYPE;static ENUM=Z.ENUM;static UNION=Z.UNION;static INTERSECTION=Z.INTERSECTION;static ARRAY=Z.ARRAY;static OBJECT_LITERAL=Z.OBJECT_LITERAL;static INDEX_SIGNATURE=Z.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=Z.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=Z.METHOD_SIGNATURE;static TYPE_PARAMETER=Z.TYPE_PARAMETER;static INFER=Z.INFER;static TUPLE=Z.TUPLE;static TUPLE_MEMBER=Z.TUPLE_MEMBER;static REST=Z.REST;static OTHER=Z.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new s.ObjectSize(8,1)};_adoptSimple(e){s.utils.setUint16(0,0,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownSimple(){return s.utils.disown(this.simple)}get simple(){return s.utils.testWhich(`simple`,s.utils.getUint16(0,this),0,this),s.utils.getStruct(0,Ht,this)}_hasSimple(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initSimple(){return s.utils.setUint16(0,0,this),s.utils.initStructAt(0,Ht,this)}get _isSimple(){return s.utils.getUint16(0,this)===0}set simple(e){s.utils.setUint16(0,0,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptLiteral(e){s.utils.setUint16(0,1,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownLiteral(){return s.utils.disown(this.literal)}get literal(){return s.utils.testWhich(`literal`,s.utils.getUint16(0,this),1,this),s.utils.getStruct(0,qt,this)}_hasLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initLiteral(){return s.utils.setUint16(0,1,this),s.utils.initStructAt(0,qt,this)}get _isLiteral(){return s.utils.getUint16(0,this)===1}set literal(e){s.utils.setUint16(0,1,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTemplateLiteral(e){s.utils.setUint16(0,2,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTemplateLiteral(){return s.utils.disown(this.templateLiteral)}get templateLiteral(){return s.utils.testWhich(`templateLiteral`,s.utils.getUint16(0,this),2,this),s.utils.getStruct(0,Jt,this)}_hasTemplateLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTemplateLiteral(){return s.utils.setUint16(0,2,this),s.utils.initStructAt(0,Jt,this)}get _isTemplateLiteral(){return s.utils.getUint16(0,this)===2}set templateLiteral(e){s.utils.setUint16(0,2,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptParameter(e){s.utils.setUint16(0,3,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownParameter(){return s.utils.disown(this.parameter)}get parameter(){return s.utils.testWhich(`parameter`,s.utils.getUint16(0,this),3,this),s.utils.getStruct(0,V,this)}_hasParameter(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initParameter(){return s.utils.setUint16(0,3,this),s.utils.initStructAt(0,V,this)}get _isParameter(){return s.utils.getUint16(0,this)===3}set parameter(e){s.utils.setUint16(0,3,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptFunction(e){s.utils.setUint16(0,4,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownFunction(){return s.utils.disown(this.function)}get function(){return s.utils.testWhich(`function`,s.utils.getUint16(0,this),4,this),s.utils.getStruct(0,U,this)}_hasFunction(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initFunction(){return s.utils.setUint16(0,4,this),s.utils.initStructAt(0,U,this)}get _isFunction(){return s.utils.getUint16(0,this)===4}set function(e){s.utils.setUint16(0,4,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptMethod(e){s.utils.setUint16(0,5,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownMethod(){return s.utils.disown(this.method)}get method(){return s.utils.testWhich(`method`,s.utils.getUint16(0,this),5,this),s.utils.getStruct(0,H,this)}_hasMethod(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initMethod(){return s.utils.setUint16(0,5,this),s.utils.initStructAt(0,H,this)}get _isMethod(){return s.utils.getUint16(0,this)===5}set method(e){s.utils.setUint16(0,5,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptProperty(e){s.utils.setUint16(0,6,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownProperty(){return s.utils.disown(this.property)}get property(){return s.utils.testWhich(`property`,s.utils.getUint16(0,this),6,this),s.utils.getStruct(0,Nt,this)}_hasProperty(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initProperty(){return s.utils.setUint16(0,6,this),s.utils.initStructAt(0,Nt,this)}get _isProperty(){return s.utils.getUint16(0,this)===6}set property(e){s.utils.setUint16(0,6,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptPromise(e){s.utils.setUint16(0,7,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownPromise(){return s.utils.disown(this.promise)}get promise(){return s.utils.testWhich(`promise`,s.utils.getUint16(0,this),7,this),s.utils.getStruct(0,Pt,this)}_hasPromise(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initPromise(){return s.utils.setUint16(0,7,this),s.utils.initStructAt(0,Pt,this)}get _isPromise(){return s.utils.getUint16(0,this)===7}set promise(e){s.utils.setUint16(0,7,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptClassType(e){s.utils.setUint16(0,8,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownClassType(){return s.utils.disown(this.classType)}get classType(){return s.utils.testWhich(`classType`,s.utils.getUint16(0,this),8,this),s.utils.getStruct(0,B,this)}_hasClassType(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initClassType(){return s.utils.setUint16(0,8,this),s.utils.initStructAt(0,B,this)}get _isClassType(){return s.utils.getUint16(0,this)===8}set classType(e){s.utils.setUint16(0,8,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptEnum(e){s.utils.setUint16(0,9,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownEnum(){return s.utils.disown(this.enum)}get enum(){return s.utils.testWhich(`enum`,s.utils.getUint16(0,this),9,this),s.utils.getStruct(0,W,this)}_hasEnum(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initEnum(){return s.utils.setUint16(0,9,this),s.utils.initStructAt(0,W,this)}get _isEnum(){return s.utils.getUint16(0,this)===9}set enum(e){s.utils.setUint16(0,9,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptUnion(e){s.utils.setUint16(0,10,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownUnion(){return s.utils.disown(this.union)}get union(){return s.utils.testWhich(`union`,s.utils.getUint16(0,this),10,this),s.utils.getStruct(0,G,this)}_hasUnion(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initUnion(){return s.utils.setUint16(0,10,this),s.utils.initStructAt(0,G,this)}get _isUnion(){return s.utils.getUint16(0,this)===10}set union(e){s.utils.setUint16(0,10,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIntersection(e){s.utils.setUint16(0,11,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownIntersection(){return s.utils.disown(this.intersection)}get intersection(){return s.utils.testWhich(`intersection`,s.utils.getUint16(0,this),11,this),s.utils.getStruct(0,K,this)}_hasIntersection(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initIntersection(){return s.utils.setUint16(0,11,this),s.utils.initStructAt(0,K,this)}get _isIntersection(){return s.utils.getUint16(0,this)===11}set intersection(e){s.utils.setUint16(0,11,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptArray(e){s.utils.setUint16(0,12,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownArray(){return s.utils.disown(this.array)}get array(){return s.utils.testWhich(`array`,s.utils.getUint16(0,this),12,this),s.utils.getStruct(0,It,this)}_hasArray(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initArray(){return s.utils.setUint16(0,12,this),s.utils.initStructAt(0,It,this)}get _isArray(){return s.utils.getUint16(0,this)===12}set array(e){s.utils.setUint16(0,12,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptObjectLiteral(e){s.utils.setUint16(0,13,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownObjectLiteral(){return s.utils.disown(this.objectLiteral)}get objectLiteral(){return s.utils.testWhich(`objectLiteral`,s.utils.getUint16(0,this),13,this),s.utils.getStruct(0,z,this)}_hasObjectLiteral(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initObjectLiteral(){return s.utils.setUint16(0,13,this),s.utils.initStructAt(0,z,this)}get _isObjectLiteral(){return s.utils.getUint16(0,this)===13}set objectLiteral(e){s.utils.setUint16(0,13,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptIndexSignature(e){s.utils.setUint16(0,14,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownIndexSignature(){return s.utils.disown(this.indexSignature)}get indexSignature(){return s.utils.testWhich(`indexSignature`,s.utils.getUint16(0,this),14,this),s.utils.getStruct(0,Lt,this)}_hasIndexSignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initIndexSignature(){return s.utils.setUint16(0,14,this),s.utils.initStructAt(0,Lt,this)}get _isIndexSignature(){return s.utils.getUint16(0,this)===14}set indexSignature(e){s.utils.setUint16(0,14,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptPropertySignature(e){s.utils.setUint16(0,15,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownPropertySignature(){return s.utils.disown(this.propertySignature)}get propertySignature(){return s.utils.testWhich(`propertySignature`,s.utils.getUint16(0,this),15,this),s.utils.getStruct(0,Rt,this)}_hasPropertySignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initPropertySignature(){return s.utils.setUint16(0,15,this),s.utils.initStructAt(0,Rt,this)}get _isPropertySignature(){return s.utils.getUint16(0,this)===15}set propertySignature(e){s.utils.setUint16(0,15,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptMethodSignature(e){s.utils.setUint16(0,16,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownMethodSignature(){return s.utils.disown(this.methodSignature)}get methodSignature(){return s.utils.testWhich(`methodSignature`,s.utils.getUint16(0,this),16,this),s.utils.getStruct(0,q,this)}_hasMethodSignature(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initMethodSignature(){return s.utils.setUint16(0,16,this),s.utils.initStructAt(0,q,this)}get _isMethodSignature(){return s.utils.getUint16(0,this)===16}set methodSignature(e){s.utils.setUint16(0,16,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTypeParameter(e){s.utils.setUint16(0,17,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTypeParameter(){return s.utils.disown(this.typeParameter)}get typeParameter(){return s.utils.testWhich(`typeParameter`,s.utils.getUint16(0,this),17,this),s.utils.getStruct(0,zt,this)}_hasTypeParameter(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTypeParameter(){return s.utils.setUint16(0,17,this),s.utils.initStructAt(0,zt,this)}get _isTypeParameter(){return s.utils.getUint16(0,this)===17}set typeParameter(e){s.utils.setUint16(0,17,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptInfer(e){s.utils.setUint16(0,18,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownInfer(){return s.utils.disown(this.infer)}get infer(){return s.utils.testWhich(`infer`,s.utils.getUint16(0,this),18,this),s.utils.getStruct(0,Bt,this)}_hasInfer(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initInfer(){return s.utils.setUint16(0,18,this),s.utils.initStructAt(0,Bt,this)}get _isInfer(){return s.utils.getUint16(0,this)===18}set infer(e){s.utils.setUint16(0,18,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTuple(e){s.utils.setUint16(0,19,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTuple(){return s.utils.disown(this.tuple)}get tuple(){return s.utils.testWhich(`tuple`,s.utils.getUint16(0,this),19,this),s.utils.getStruct(0,Y,this)}_hasTuple(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTuple(){return s.utils.setUint16(0,19,this),s.utils.initStructAt(0,Y,this)}get _isTuple(){return s.utils.getUint16(0,this)===19}set tuple(e){s.utils.setUint16(0,19,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptTupleMember(e){s.utils.setUint16(0,20,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTupleMember(){return s.utils.disown(this.tupleMember)}get tupleMember(){return s.utils.testWhich(`tupleMember`,s.utils.getUint16(0,this),20,this),s.utils.getStruct(0,J,this)}_hasTupleMember(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTupleMember(){return s.utils.setUint16(0,20,this),s.utils.initStructAt(0,J,this)}get _isTupleMember(){return s.utils.getUint16(0,this)===20}set tupleMember(e){s.utils.setUint16(0,20,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptRest(e){s.utils.setUint16(0,21,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownRest(){return s.utils.disown(this.rest)}get rest(){return s.utils.testWhich(`rest`,s.utils.getUint16(0,this),21,this),s.utils.getStruct(0,Vt,this)}_hasRest(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initRest(){return s.utils.setUint16(0,21,this),s.utils.initStructAt(0,Vt,this)}get _isRest(){return s.utils.getUint16(0,this)===21}set rest(e){s.utils.setUint16(0,21,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}_adoptOther(e){s.utils.setUint16(0,22,this),s.utils.adopt(e,s.utils.getPointer(0,this))}_disownOther(){return s.utils.disown(this.other)}get other(){return s.utils.testWhich(`other`,s.utils.getUint16(0,this),22,this),s.utils.getStruct(0,Yt,this)}_hasOther(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initOther(){return s.utils.setUint16(0,22,this),s.utils.initStructAt(0,Yt,this)}get _isOther(){return s.utils.getUint16(0,this)===22}set other(e){s.utils.setUint16(0,22,this),s.utils.copyFrom(e,s.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return s.utils.getUint16(0,this)}},Zt=class extends s.Struct{static{N(this,`SerializedType`)}static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new s.ObjectSize(8,1)};get type(){return s.utils.getAs(Xt,this)}_initType(){return s.utils.getAs(Xt,this)}toString(){return`SerializedType_`+super.toString()}},Q=class e extends s.Struct{static{N(this,`SerializedTypes`)}static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new s.ObjectSize(0,1)};static _Types;_adoptTypes(e){s.utils.adopt(e,s.utils.getPointer(0,this))}_disownTypes(){return s.utils.disown(this.types)}get types(){return s.utils.getList(0,e._Types,this)}_hasTypes(){return!s.utils.isNull(s.utils.getPointer(0,this))}_initTypes(t){return s.utils.initList(0,e._Types,t,this)}set types(e){s.utils.copyFrom(e,s.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};Mt._Indexes=s.CompositeList(jt),z._TypeArguments=s.CompositeList(L),z._Decorators=s.CompositeList(L),z._Types=s.CompositeList(L),B._TypeArguments=s.CompositeList(L),B._Decorators=s.CompositeList(L),B._ExtendsArguments=s.CompositeList(L),B._Arguments=s.CompositeList(L),B._Types=s.CompositeList(L),V._TypeArguments=s.CompositeList(L),V._Decorators=s.CompositeList(L),H._TypeArguments=s.CompositeList(L),H._Decorators=s.CompositeList(L),H._Parameters=s.CompositeList(V),Nt._TypeArguments=s.CompositeList(L),Nt._Decorators=s.CompositeList(L),U._TypeArguments=s.CompositeList(L),U._Decorators=s.CompositeList(L),U._Parameters=s.CompositeList(V),Pt._TypeArguments=s.CompositeList(L),Pt._Decorators=s.CompositeList(L),W._TypeArguments=s.CompositeList(L),W._Decorators=s.CompositeList(L),W._EnumEntries=s.CompositeList(Ft),G._TypeArguments=s.CompositeList(L),G._Decorators=s.CompositeList(L),G._Types=s.CompositeList(L),K._TypeArguments=s.CompositeList(L),K._Decorators=s.CompositeList(L),K._Types=s.CompositeList(L),It._TypeArguments=s.CompositeList(L),It._Decorators=s.CompositeList(L),Lt._TypeArguments=s.CompositeList(L),Lt._Decorators=s.CompositeList(L),Rt._TypeArguments=s.CompositeList(L),Rt._Decorators=s.CompositeList(L),q._TypeArguments=s.CompositeList(L),q._Decorators=s.CompositeList(L),q._Parameters=s.CompositeList(V),zt._TypeArguments=s.CompositeList(L),zt._Decorators=s.CompositeList(L),Bt._TypeArguments=s.CompositeList(L),Bt._Decorators=s.CompositeList(L),J._TypeArguments=s.CompositeList(L),J._Decorators=s.CompositeList(L),Y._TypeArguments=s.CompositeList(L),Y._Decorators=s.CompositeList(L),Y._Types=s.CompositeList(J),Vt._TypeArguments=s.CompositeList(L),Vt._Decorators=s.CompositeList(L),Ht._TypeArguments=s.CompositeList(L),Ht._Decorators=s.CompositeList(L),qt._TypeArguments=s.CompositeList(L),qt._Decorators=s.CompositeList(L),Jt._TypeArguments=s.CompositeList(L),Jt._Decorators=s.CompositeList(L),Jt._Types=s.CompositeList(L),Q._Types=s.CompositeList(Zt);function Qt(e){return c(e.dataPath,`reflections`)}const $t={target:`esnext`,platform:`neutral`,format:`esm`,write:!0,minify:!0,sourcemap:!1,bundle:!0,treeShaking:!0,keepNames:!0,splitting:!0,logLevel:`silent`};function en(e){let t=e.config.build.override.inject??e.config.build.inject;return t&&Object.keys(t).length>0&&e.fs.writeSync(c(e.workspaceConfig.workspaceRoot,e.config.projectRoot,e.artifactsPath,`inject-shim.js`),Object.entries(t).map(([e,t])=>{if(t)if(Array.isArray(t)){if(l(e)!==e){if(t.length===1)return`
2
- import ${l(e)} from "${t[0]}";
3
- export { ${l(e)} as "${e}" }`;if(t.length>1)return`
4
- import ${t[1]===`*`?`* as ${l(e)}`:`{ ${t[1]} as ${l(e)} }`} from "${t[0]}";
5
- export { ${l(e)} as "${e}" }`}else if(t.length===1)return`
6
- import ${e} from "${t[0]}";
7
- export { ${e} };`;else if(t.length>1)return`
8
- import ${t[1]===`*`?`* as ${e}`:`{ ${t[1]} as ${e} }`} from "${t[0]}";
9
- export { ${e} };`}else if(l(e)!==e)return`
10
- import ${l(e)} from "${t[0]}";
11
- export { ${l(e)} as "${e}" }`;else return`
12
- import ${e} from "${t}";
13
- export { ${e} };`;return``}).join(`
14
- `)),a({alias:e.builtins.reduce((t,n)=>{if(!t[n]){let r=e.fs.ids[n];r&&(t[n]=r)}return t},e.config.build.alias?Array.isArray(e.config.build.alias)?e.config.build.alias.reduce((e,t)=>(e[t.find.toString()]||(e[t.find.toString()]=t.replacement),e),{}):e.config.build.alias:{}),inject:t&&Object.keys(t).length>0?[c(e.workspaceConfig.workspaceRoot,e.config.projectRoot,e.artifactsPath,`inject-shim.js`)]:void 0},e.config.build.variant===`esbuild`?me(e.config.build.override,[`alias`,`inject`,`external`,`noExternal`,`skipNodeModulesBundle`,`extensions`]):{},e.config.build.variant===`esbuild`?me(e.config.build,[`alias`,`inject`,`external`,`noExternal`,`skipNodeModulesBundle`,`extensions`,`variant`,`override`]):{},{mainFields:e.config.build.mainFields,conditions:e.config.build.conditions,define:e.config.build.define,resolveExtensions:e.config.build.extensions,packages:e.config.build.skipNodeModulesBundle?`external`:e.config.build.variant===`esbuild`?e.config.build.packages:void 0,format:Array.isArray(e.config.output.format)?e.config.output.format[0]:e.config.output.format,platform:e.config.build.platform,treeShaking:!!e.config.build?.treeshake||e.config.build?.treeShaking,outdir:e.config.output.buildPath,tsconfig:e.tsconfig.tsconfigFilePath,tsconfigRaw:e.tsconfig.tsconfigJson,minify:e.config.mode!==`development`,metafile:e.config.mode===`development`,sourcemap:e.config.mode===`development`},$t)}async function tn(e,n,r={}){let i=await e.fs.resolve(n);if(!i||!e.fs.existsSync(i))throw Error(`Module not found: "${n}". Please check the path and try again.`);let a=await pe({...en(e),entry:[i],write:!1,sourcemap:!1,splitting:!1,treeShaking:!1,bundle:!0,...r});if(a.errors.length>0)throw Error(`Failed to transpile ${n}: ${a.errors.map(e=>e.text).join(`, `)}`);if(a.warnings.length>0&&e.log(t.WARN,`Warnings while transpiling ${n}: ${a.warnings.map(e=>e.text).join(`, `)}`),!a.outputFiles||a.outputFiles.filter(Boolean).length===0)throw Error(`No output files generated for ${n}. Please check the configuration and try again.`);return a.outputFiles.filter(Boolean)[0]}async function nn(e,t,n={}){let r;r=i(t)?te(t):t;let a=await tn(e,r.file,n),o=await e.resolver.evalModule(a.text,{filename:a.path,forceTranspile:!0}),ee=r.name;return ee||=`default`,o[ee]??o[`__Ω${ee}`]}async function rn(e,t,n){return(0,u.reflect)(await nn(e,t,n))}function an(e,t){return ln(e,{type:(0,u.merge)(t.map(e=>e.type))})}function on(e,t){return un(e,{type:(0,u.merge)(t.map(e=>e.type))})}var sn=class{PLATFORM=`neutral`;MODE=`production`;DEBUG=!1;TEST=!1;MINIMAL=!1;NO_COLOR=!1;FORCE_COLOR=!1;FORCE_HYPERLINK=!1;STACKTRACE=!1;INCLUDE_ERROR_DATA=!1;CI=!1},cn=class{};function ln(e,t={}){let n=t.superReflection??new u.ReflectionClass({kind:u.ReflectionKind.class,description:`The base environment configuration definition for the ${o(e.config.name)} project.`,classType:sn,types:[],implements:[{kind:u.ReflectionKind.objectLiteral,typeName:`EnvInterface`,description:`The environment configuration interface definition for the ${o(e.config.name)} project.`,types:[]}]});n.name=`Env`;let r=new u.ReflectionClass(t.type??{kind:u.ReflectionKind.objectLiteral,typeName:`Env`,description:`A schema describing the list of available environment variables that can be used by the ${e.config.name?`${o(e.config.name)} application`:`application`}.`,types:[]},n);return r.name=`Env`,r}function un(e,t={}){let n=t.superReflection??new u.ReflectionClass({kind:u.ReflectionKind.class,description:`The base secrets configuration definition for the ${o(e.config.name)} project.`,classType:cn,types:[],implements:[{kind:u.ReflectionKind.objectLiteral,typeName:`SecretsInterface`,description:`The secrets configuration interface definition for the ${o(e.config.name)} project.`,types:[]}]});n.name=`Secrets`;let r=new u.ReflectionClass(t.type??{kind:u.ReflectionKind.objectLiteral,typeName:`Secrets`,description:`A schema describing the list of available environment secrets that can be used by the ${e.config.name?`${o(e.config.name)} application`:`application`}.`,types:[]},n);return r.name=`Secrets`,r}async function dn(e,t,r){let i;t&&(i=(0,u.resolveClassType)(await rn(e,{file:n(t,e.workspaceConfig.workspaceRoot)?t:c(e.workspaceConfig.workspaceRoot,t),name:r},{skipNodeModulesBundle:!0})));let a=await rn(e,await mn(e));return an(e,[await _n(e,`env`),i,(0,u.resolveClassType)(a)].filter(Boolean))}async function fn(e,t,r){let i;t&&(i=(0,u.resolveClassType)(await rn(e,{file:n(t,e.workspaceConfig.workspaceRoot)?t:c(e.workspaceConfig.workspaceRoot,t),name:r},{skipNodeModulesBundle:!0})));let a=await rn(e,await hn(e));return on(e,[await bn(e),i,(0,u.resolveClassType)(a)].filter(Boolean))}async function pn(e){return de(`@powerlines/plugin-env/types/runtime`,{paths:[e.workspaceConfig.workspaceRoot,c(e.workspaceConfig.workspaceRoot,e.config.projectRoot)]})}async function mn(e){return{file:await pn(e),name:`EnvInterface`}}async function hn(e){return{file:await pn(e),name:`SecretsInterface`}}function gn(e,t=`env`){return c(Qt(e),`env`,`${t}-types.bin`)}async function _n(e,t=`env`){let n=gn(e,t);if(!ue(n)){if(!e.env.types.env||fe(e.env.types.env)){let n=ln(e),r=new s.Message;n.messageRoot=r.initRoot(Q),n.dataBuffer=r.toArrayBuffer(),e.env.types.env=n,await vn(e,e.env.types.env,t)}return e.env.types.env}let r=await se(n),i=new s.Message(r,!1).getRoot(Q),a=(0,u.resolveClassType)((0,u.deserializeType)(He(i.types)));return e.env.types[t]=a,e.env.types[t].messageRoot=i,e.env.types[t].dataBuffer=r,a}async function vn(e,t,n=`env`){let r=t.serializeType(),i=new s.Message;Ve(r,i.initRoot(Q)._initTypes(r.length)),await ce(gn(e,n),i.toArrayBuffer())}function $(e,t){return c(Qt(e),`env`,`${t}.bin`)}async function yn(e){let t=$(e,`env`);if(!ue(t)){if(e.env.types.env||(e.env.types.env=await _n(e,`env`)),!e.env.used.env||fe(e.env.used.env)){let t=ln(e,{type:{kind:u.ReflectionKind.objectLiteral,typeName:`Env`,description:`An object containing the environment configuration parameters that are used (at least once) by the ${e.config.name?`${e.config.name} application`:`application`}.`,types:[]},superReflection:e.env.types.env});t.name=`Env`;let n=new s.Message;t.messageRoot=n.initRoot(Q),t.dataBuffer=n.toArrayBuffer(),e.env.used.env=t,await xn(e,e.env.used.env,`env`)}return e.env.used.env}let n=await se(t),r=new s.Message(n,!1).getRoot(Q),i=(0,u.resolveClassType)((0,u.deserializeType)(He(r.types)));return e.env.used.env=i,e.env.used.env.messageRoot=r,e.env.used.env.dataBuffer=n,i}async function bn(e){let t=$(e,`secrets`);if(!ue(t)){if(e.env.types.secrets||(e.env.types.secrets=await _n(e,`secrets`)),!e.env.used.secrets||fe(e.env.used.secrets)){let t=ln(e,{type:{kind:u.ReflectionKind.objectLiteral,typeName:`Secrets`,description:`An object containing the secret configuration parameters that are used (at least once) by the ${e.config.name?`${e.config.name} application`:`application`}.`,types:[]},superReflection:e.env.types.secrets});t.name=`Secrets`;let n=new s.Message;t.messageRoot=n.initRoot(Q),t.dataBuffer=n.toArrayBuffer(),e.env.used.secrets=t,await xn(e,e.env.used.secrets,`secrets`)}return e.env.used.secrets}let n=await se(t),r=new s.Message(n,!1).getRoot(Q),i=(0,u.resolveClassType)((0,u.deserializeType)(He(r.types)));return e.env.used.secrets=i,e.env.used.secrets.messageRoot=r,e.env.used.secrets.dataBuffer=n,i}async function xn(e,t,n=`env`){let r=t.serializeType(),i=new s.Message;Ve(r,i.initRoot(Q)._initTypes(r.length)),await ce($(e,n),i.toArrayBuffer())}function Sn(e,t,n=`env`){let r=t.serializeType(),i=new s.Message;Ve(r,i.initRoot(Q)._initTypes(r.length)),le($(e,n),i.toArrayBuffer())}export{u as S,on as _,yn as a,Q as b,pn as c,vn as d,sn as f,an as g,un as h,hn as i,xn as l,ln as m,$ as n,_n as o,cn as p,gn as r,bn as s,mn as t,Sn as u,dn as v,He as x,fn as y};