@powerlines/plugin-react 0.1.109 → 0.1.111

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 (233) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +1 -0
  2. package/dist/{chunk-CF6LXmkI.mjs → _virtual/rolldown_runtime.mjs} +1 -1
  3. package/dist/components/index.cjs +1 -1
  4. package/dist/components/index.d.cts +1 -2
  5. package/dist/components/index.d.mts +1 -2
  6. package/dist/components/index.mjs +1 -1
  7. package/dist/components/react-optimized.cjs +1 -1
  8. package/dist/components/react-optimized.d.cts +13 -1
  9. package/dist/components/react-optimized.d.mts +13 -1
  10. package/dist/components/react-optimized.mjs +1 -1
  11. package/dist/deepkit/schemas/reflection.cjs +1 -0
  12. package/dist/{plugin-CoU4RMKg.d.mts → deepkit/schemas/reflection.d.cts} +1 -321
  13. package/dist/{plugin-C1nLepnu.d.cts → deepkit/schemas/reflection.d.mts} +1 -322
  14. package/dist/deepkit/schemas/reflection.mjs +1 -0
  15. package/dist/deepkit/schemas/reflection2.cjs +1 -0
  16. package/dist/deepkit/schemas/reflection2.mjs +1 -0
  17. package/dist/deepkit/src/capnp.cjs +1 -0
  18. package/dist/deepkit/src/capnp.mjs +1 -0
  19. package/dist/deepkit/src/esbuild-plugin.cjs +4 -0
  20. package/dist/deepkit/src/esbuild-plugin.mjs +4 -0
  21. package/dist/deepkit/src/reflect-type.cjs +1 -0
  22. package/dist/deepkit/src/reflect-type.mjs +1 -0
  23. package/dist/deepkit/src/resolve-reflections.cjs +1 -0
  24. package/dist/deepkit/src/resolve-reflections.mjs +1 -0
  25. package/dist/deepkit/src/transformer.cjs +1 -0
  26. package/dist/deepkit/src/transformer.mjs +1 -0
  27. package/dist/deepkit/src/transpile.cjs +1 -0
  28. package/dist/deepkit/src/transpile.mjs +1 -0
  29. package/dist/deepkit/src/types.d.cts +10 -0
  30. package/dist/deepkit/src/types.d.mts +10 -0
  31. package/dist/deepkit/src/utilities.cjs +1 -0
  32. package/dist/deepkit/src/utilities.mjs +1 -0
  33. package/dist/deepkit/src/vendor/core.cjs +1 -0
  34. package/dist/deepkit/src/vendor/core.mjs +1 -0
  35. package/dist/deepkit/src/vendor/type-compiler/index.cjs +1 -0
  36. package/dist/deepkit/src/vendor/type-compiler/index.mjs +1 -0
  37. package/dist/deepkit/src/vendor/type.cjs +1 -0
  38. package/dist/deepkit/src/vendor/type.d.cts +7 -0
  39. package/dist/deepkit/src/vendor/type.d.mts +7 -0
  40. package/dist/deepkit/src/vendor/type.mjs +1 -0
  41. package/dist/index.cjs +1 -63
  42. package/dist/index.d.cts +5 -6
  43. package/dist/index.d.mts +6 -6
  44. package/dist/index.mjs +1 -60
  45. package/dist/plugin-alloy/src/core/components/index.cjs +1 -0
  46. package/dist/plugin-alloy/src/core/components/index.mjs +1 -0
  47. package/dist/plugin-alloy/src/core/components/output.cjs +1 -0
  48. package/dist/plugin-alloy/src/core/components/output.mjs +1 -0
  49. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +1 -0
  50. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +1 -0
  51. package/dist/plugin-alloy/src/core/components/source-file.cjs +1 -0
  52. package/dist/plugin-alloy/src/core/components/source-file.mjs +1 -0
  53. package/dist/plugin-alloy/src/core/contexts/context.cjs +1 -0
  54. package/dist/plugin-alloy/src/core/contexts/context.mjs +1 -0
  55. package/dist/plugin-alloy/src/core/contexts/index.cjs +1 -0
  56. package/dist/plugin-alloy/src/core/contexts/index.mjs +1 -0
  57. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +1 -0
  58. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +1 -0
  59. package/dist/plugin-alloy/src/core/index.cjs +1 -0
  60. package/dist/plugin-alloy/src/core/index.mjs +1 -0
  61. package/dist/plugin-alloy/src/helpers/capnp.cjs +1 -0
  62. package/dist/plugin-alloy/src/helpers/capnp.mjs +1 -0
  63. package/dist/plugin-alloy/src/helpers/create-builtin.cjs +1 -0
  64. package/dist/plugin-alloy/src/helpers/create-builtin.mjs +1 -0
  65. package/dist/plugin-alloy/src/helpers/index.cjs +1 -0
  66. package/dist/plugin-alloy/src/helpers/index.mjs +1 -0
  67. package/dist/plugin-alloy/src/helpers/refkey.cjs +1 -0
  68. package/dist/plugin-alloy/src/helpers/refkey.mjs +1 -0
  69. package/dist/plugin-alloy/src/helpers/typescript.cjs +1 -0
  70. package/dist/plugin-alloy/src/helpers/typescript.mjs +1 -0
  71. package/dist/plugin-alloy/src/index.cjs +2 -0
  72. package/dist/plugin-alloy/src/index.mjs +2 -0
  73. package/dist/plugin-alloy/src/markdown/components/index.cjs +1 -0
  74. package/dist/plugin-alloy/src/markdown/components/index.mjs +1 -0
  75. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +1 -0
  76. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +1 -0
  77. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +1 -0
  78. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +1 -0
  79. package/dist/plugin-alloy/src/markdown/contexts/index.cjs +1 -0
  80. package/dist/plugin-alloy/src/markdown/contexts/index.mjs +1 -0
  81. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +1 -0
  82. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +1 -0
  83. package/dist/plugin-alloy/src/markdown/index.cjs +1 -0
  84. package/dist/plugin-alloy/src/markdown/index.mjs +1 -0
  85. package/dist/plugin-alloy/src/types/components.d.mts +5 -0
  86. package/dist/plugin-alloy/src/types/index.d.mts +2 -0
  87. package/dist/plugin-alloy/src/types/plugin.d.cts +38 -0
  88. package/dist/plugin-alloy/src/types/plugin.d.mts +38 -0
  89. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +1 -0
  90. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +1 -0
  91. package/dist/plugin-alloy/src/typescript/components/dynamic-import-statement.cjs +1 -0
  92. package/dist/plugin-alloy/src/typescript/components/dynamic-import-statement.mjs +1 -0
  93. package/dist/plugin-alloy/src/typescript/components/entry-file.cjs +1 -0
  94. package/dist/plugin-alloy/src/typescript/components/entry-file.mjs +1 -0
  95. package/dist/plugin-alloy/src/typescript/components/index.cjs +1 -0
  96. package/dist/plugin-alloy/src/typescript/components/index.mjs +1 -0
  97. package/dist/plugin-alloy/src/typescript/components/record-expression.cjs +1 -0
  98. package/dist/plugin-alloy/src/typescript/components/record-expression.mjs +1 -0
  99. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +1 -0
  100. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +1 -0
  101. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +1 -0
  102. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +1 -0
  103. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +1 -0
  104. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +1 -0
  105. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +1 -0
  106. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +1 -0
  107. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +1 -0
  108. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +1 -0
  109. package/dist/plugin-alloy/src/typescript/index.cjs +1 -0
  110. package/dist/plugin-alloy/src/typescript/index.mjs +1 -0
  111. package/dist/plugin-automd/src/index.cjs +1 -0
  112. package/dist/plugin-automd/src/index.mjs +1 -0
  113. package/dist/plugin-automd/src/types/plugin.d.cts +38 -0
  114. package/dist/plugin-automd/src/types/plugin.d.mts +40 -0
  115. package/dist/plugin-automd/src/types/toc.d.cts +33 -0
  116. package/dist/plugin-automd/src/types/toc.d.mts +33 -0
  117. package/dist/plugin-babel/src/helpers/ast-utils.cjs +1 -0
  118. package/dist/plugin-babel/src/helpers/ast-utils.mjs +1 -0
  119. package/dist/plugin-babel/src/helpers/create-plugin.cjs +1 -0
  120. package/dist/plugin-babel/src/helpers/create-plugin.mjs +1 -0
  121. package/dist/plugin-babel/src/helpers/filters.cjs +1 -0
  122. package/dist/plugin-babel/src/helpers/filters.mjs +1 -0
  123. package/dist/plugin-babel/src/helpers/index.cjs +1 -0
  124. package/dist/plugin-babel/src/helpers/index.mjs +1 -0
  125. package/dist/plugin-babel/src/helpers/module-helpers.cjs +1 -0
  126. package/dist/plugin-babel/src/helpers/module-helpers.mjs +1 -0
  127. package/dist/plugin-babel/src/helpers/options.cjs +1 -0
  128. package/dist/plugin-babel/src/helpers/options.mjs +1 -0
  129. package/dist/plugin-babel/src/index.cjs +1 -0
  130. package/dist/plugin-babel/src/index.mjs +1 -0
  131. package/dist/plugin-babel/src/types/index.d.mts +1 -0
  132. package/dist/plugin-babel/src/types/plugin.d.cts +15 -0
  133. package/dist/plugin-babel/src/types/plugin.d.mts +15 -0
  134. package/dist/plugin-env/src/babel/index.cjs +1 -0
  135. package/dist/plugin-env/src/babel/index.mjs +1 -0
  136. package/dist/plugin-env/src/babel/plugin.cjs +5 -0
  137. package/dist/plugin-env/src/babel/plugin.mjs +5 -0
  138. package/dist/plugin-env/src/components/docs.cjs +1 -0
  139. package/dist/plugin-env/src/components/docs.mjs +1 -0
  140. package/dist/plugin-env/src/components/env.cjs +34 -0
  141. package/dist/plugin-env/src/components/env.mjs +31 -0
  142. package/dist/plugin-env/src/components/index.cjs +1 -0
  143. package/dist/plugin-env/src/components/index.mjs +1 -0
  144. package/dist/plugin-env/src/helpers/automd-generator.cjs +1 -0
  145. package/dist/plugin-env/src/helpers/automd-generator.mjs +1 -0
  146. package/dist/plugin-env/src/helpers/create-reflection-resource.cjs +1 -0
  147. package/dist/plugin-env/src/helpers/create-reflection-resource.mjs +1 -0
  148. package/dist/plugin-env/src/helpers/index.cjs +1 -0
  149. package/dist/plugin-env/src/helpers/index.mjs +1 -0
  150. package/dist/plugin-env/src/helpers/load.cjs +1 -0
  151. package/dist/plugin-env/src/helpers/load.mjs +1 -0
  152. package/dist/plugin-env/src/helpers/persistence.cjs +1 -0
  153. package/dist/plugin-env/src/helpers/persistence.mjs +1 -0
  154. package/dist/plugin-env/src/helpers/reflect.cjs +1 -0
  155. package/dist/plugin-env/src/helpers/reflect.mjs +1 -0
  156. package/dist/plugin-env/src/helpers/source-file-env.cjs +1 -0
  157. package/dist/plugin-env/src/helpers/source-file-env.mjs +1 -0
  158. package/dist/plugin-env/src/helpers/template-helpers.cjs +1 -0
  159. package/dist/plugin-env/src/helpers/template-helpers.mjs +1 -0
  160. package/dist/plugin-env/src/index.cjs +10 -0
  161. package/dist/plugin-env/src/index.mjs +10 -0
  162. package/dist/plugin-env/src/types/plugin.d.cts +151 -0
  163. package/dist/plugin-env/src/types/plugin.d.mts +153 -0
  164. package/dist/plugin-env/src/types/runtime.d.cts +792 -0
  165. package/dist/plugin-env/src/types/runtime.d.mts +792 -0
  166. package/dist/powerlines/src/lib/build/esbuild.cjs +14 -0
  167. package/dist/powerlines/src/lib/build/esbuild.mjs +14 -0
  168. package/dist/powerlines/src/lib/entry.cjs +1 -0
  169. package/dist/powerlines/src/lib/entry.mjs +1 -0
  170. package/dist/powerlines/src/lib/logger.cjs +1 -0
  171. package/dist/powerlines/src/lib/logger.mjs +1 -0
  172. package/dist/powerlines/src/lib/typescript/tsconfig.cjs +1 -0
  173. package/dist/powerlines/src/lib/typescript/tsconfig.mjs +1 -0
  174. package/dist/powerlines/src/lib/utilities/bundle.cjs +1 -0
  175. package/dist/powerlines/src/lib/utilities/bundle.mjs +1 -0
  176. package/dist/powerlines/src/lib/utilities/file-header.cjs +1 -0
  177. package/dist/powerlines/src/lib/utilities/file-header.mjs +1 -0
  178. package/dist/powerlines/src/lib/utilities/resolve.cjs +1 -0
  179. package/dist/powerlines/src/lib/utilities/resolve.mjs +1 -0
  180. package/dist/powerlines/src/plugin-utils/paths.cjs +1 -0
  181. package/dist/powerlines/src/plugin-utils/paths.mjs +1 -0
  182. package/dist/powerlines/src/types/babel.d.cts +22 -0
  183. package/dist/powerlines/src/types/babel.d.mts +22 -0
  184. package/dist/powerlines/src/types/build.d.cts +145 -0
  185. package/dist/powerlines/src/types/build.d.mts +145 -0
  186. package/dist/powerlines/src/types/commands.d.cts +8 -0
  187. package/dist/powerlines/src/types/commands.d.mts +9 -0
  188. package/dist/powerlines/src/types/config.d.cts +368 -0
  189. package/dist/powerlines/src/types/config.d.mts +369 -0
  190. package/dist/powerlines/src/types/context.d.cts +373 -0
  191. package/dist/powerlines/src/types/context.d.mts +375 -0
  192. package/dist/powerlines/src/types/fs.d.cts +458 -0
  193. package/dist/powerlines/src/types/fs.d.mts +458 -0
  194. package/dist/powerlines/src/types/hooks.d.mts +2 -0
  195. package/dist/powerlines/src/types/plugin.d.cts +231 -0
  196. package/dist/powerlines/src/types/plugin.d.mts +231 -0
  197. package/dist/powerlines/src/types/resolved.d.cts +82 -0
  198. package/dist/powerlines/src/types/resolved.d.mts +82 -0
  199. package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
  200. package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
  201. package/dist/types/index.cjs +0 -1
  202. package/dist/types/index.d.cts +2 -4
  203. package/dist/types/index.d.mts +2 -4
  204. package/dist/types/index.mjs +1 -1
  205. package/dist/types/plugin.cjs +0 -1
  206. package/dist/types/plugin.d.cts +72 -2
  207. package/dist/types/plugin.d.mts +72 -2
  208. package/dist/types/plugin.mjs +1 -1
  209. package/dist/types/runtime.cjs +0 -1
  210. package/dist/types/runtime.d.cts +14 -2
  211. package/dist/types/runtime.d.mts +14 -2
  212. package/dist/types/runtime.mjs +1 -1
  213. package/package.json +10 -11
  214. package/dist/components-BWLXb7a2.cjs +0 -0
  215. package/dist/components-MTvNCZDU.mjs +0 -1
  216. package/dist/index-C-svZlpj.d.mts +0 -1
  217. package/dist/index-CtCMUyZA.d.cts +0 -1
  218. package/dist/index-DEHBdV_z.d.mts +0 -1
  219. package/dist/index-_wQ5ClJU.d.cts +0 -1
  220. package/dist/plugin-G4qbpIjB.mjs +0 -1
  221. package/dist/plugin-pBKbb5K9.cjs +0 -0
  222. package/dist/react-optimized-AthekqzJ.cjs +0 -1
  223. package/dist/react-optimized-DPBN2hOh.mjs +0 -1
  224. package/dist/react-optimized-DmMl-ZEI.d.cts +0 -14
  225. package/dist/react-optimized-Y1x3FeDm.d.mts +0 -14
  226. package/dist/runtime-BNQjyQ7l.d.cts +0 -2495
  227. package/dist/runtime-Bp9G0scd.cjs +0 -0
  228. package/dist/runtime-CKObV75t.d.cts +0 -15
  229. package/dist/runtime-Do9xjHUb.d.mts +0 -2496
  230. package/dist/runtime-IEYS5R9b.d.mts +0 -15
  231. package/dist/runtime-cDYyRPa0.mjs +0 -1
  232. package/dist/types-C5ggNT4K.mjs +0 -1
  233. package/dist/types-a8gm_IaQ.cjs +0 -0
@@ -0,0 +1 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(e,n,r,i)=>{i&&(t(e,Symbol.toStringTag,{value:`Module`}),r&&t(r,Symbol.toStringTag,{value:`Module`})),o(e,n,`default`),r&&o(r,n,`default`)},c=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));exports.__reExport=s,exports.__toESM=c;
@@ -1 +1 @@
1
- var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i=(i,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(var c=n(a),l=0,u=c.length,d;l<u;l++)d=c[l],!r.call(i,d)&&d!==o&&e(i,d,{get:(e=>a[e]).bind(null,d),enumerable:!(s=t(a,d))||s.enumerable});return i},a=(t,n,r,a)=>{a&&(e(t,Symbol.toStringTag,{value:`Module`}),r&&e(r,Symbol.toStringTag,{value:`Module`})),i(t,n,`default`),r&&i(r,n,`default`)};export{a as t};
1
+ var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i=(i,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(var c=n(a),l=0,u=c.length,d;l<u;l++)d=c[l],!r.call(i,d)&&d!==o&&e(i,d,{get:(e=>a[e]).bind(null,d),enumerable:!(s=t(a,d))||s.enumerable});return i},a=(t,n,r,a)=>{a&&(e(t,Symbol.toStringTag,{value:`Module`}),r&&e(r,Symbol.toStringTag,{value:`Module`})),i(t,n,`default`),r&&i(r,n,`default`)};export{a as __reExport};
@@ -1 +1 @@
1
- const e=require(`../react-optimized-AthekqzJ.cjs`);require(`../components-BWLXb7a2.cjs`),exports.ReactOptimizedBuiltin=e.t;
1
+ const e=require(`./react-optimized.cjs`);exports.ReactOptimizedBuiltin=e.ReactOptimizedBuiltin;
@@ -1,3 +1,2 @@
1
- import { n as ReactOptimizedBuiltinProps, r as __ΩReactOptimizedBuiltinProps, t as ReactOptimizedBuiltin } from "../react-optimized-DmMl-ZEI.cjs";
2
- import "../index-_wQ5ClJU.cjs";
1
+ import { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps } from "./react-optimized.cjs";
3
2
  export { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps };
@@ -1,3 +1,2 @@
1
- import { n as ReactOptimizedBuiltinProps, r as __ΩReactOptimizedBuiltinProps, t as ReactOptimizedBuiltin } from "../react-optimized-Y1x3FeDm.mjs";
2
- import "../index-DEHBdV_z.mjs";
1
+ import { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps } from "./react-optimized.mjs";
3
2
  export { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps };
@@ -1 +1 @@
1
- import{t as e}from"../react-optimized-DPBN2hOh.mjs";import"../components-MTvNCZDU.mjs";export{e as ReactOptimizedBuiltin};
1
+ import{ReactOptimizedBuiltin as e}from"./react-optimized.mjs";export{e as ReactOptimizedBuiltin};
@@ -1 +1 @@
1
- const e=require(`../react-optimized-AthekqzJ.cjs`);exports.ReactOptimizedBuiltin=e.t;
1
+ const e=require(`../_virtual/rolldown_runtime.cjs`);let t=require(`@alloy-js/core/jsx-runtime`),n=require(`defu`);n=e.__toESM(n);let r=require(`@alloy-js/core`),i=require(`@alloy-js/typescript`),a=require(`@powerlines/alloy/core/contexts/context`),o=require(`@powerlines/alloy/helpers/refkey`),s=require(`@powerlines/alloy/typescript/components/builtin-file`),c=require(`@powerlines/alloy/typescript/components/tsdoc`);const l=(0,o.refkey)(`isOptimizationEnabled`);function u(e){let[{override:o},u]=(0,r.splitProps)(e,[`override`]),d=(0,a.usePowerlines)();return(0,t.createComponent)(s.BuiltinFile,(0,t.mergeProps)(u,{id:`react/optimized`,description:`A built-in module to provide access to environment configuration to determine React optimizations.`,get imports(){return(0,n.default)({[`${d?.config.output.builtinPrefix}:env`]:[`env`,`isDevelopment`]},u.imports??{})},get children(){return[(0,t.createComponent)(c.TSDoc,{heading:`A gating function to determine if the optimized [React compiler](https://react.dev/reference/react-compiler) source code should be used.`,get children(){return[(0,t.createComponent)(c.TSDocLink,{children:`https://react.dev/reference/react-compiler/gating`}),(0,t.createComponent)(c.TSDocReturns,{children:`A boolean indicating if the React compiler's optimizations should be used.`})]}}),(0,t.createComponent)(i.FunctionDeclaration,{refkey:l,async:!1,export:!0,name:`isOptimizationEnabled`,returnType:`boolean`,children:o===void 0?r.code`return !env.DISABLE_REACT_COMPILER && !isDevelopment; `:r.code`return ${o};`})]}}))}exports.ReactOptimizedBuiltin=u;
@@ -1,2 +1,14 @@
1
- import { n as ReactOptimizedBuiltinProps, r as __ΩReactOptimizedBuiltinProps, t as ReactOptimizedBuiltin } from "../react-optimized-DmMl-ZEI.cjs";
1
+ import * as _alloy_js_core0 from "@alloy-js/core";
2
+ import { BuiltinFileProps } from "@powerlines/alloy/typescript/components/builtin-file";
3
+
4
+ //#region src/components/react-optimized.d.ts
5
+ interface ReactOptimizedBuiltinProps extends Omit<BuiltinFileProps, "id"> {
6
+ override?: boolean;
7
+ }
8
+ /**
9
+ * Generates the `react/optimized` builtin module for the Powerlines project.
10
+ */
11
+ declare function ReactOptimizedBuiltin(props: ReactOptimizedBuiltinProps): _alloy_js_core0.Children;
12
+ declare type __ΩReactOptimizedBuiltinProps = any[];
13
+ //#endregion
2
14
  export { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps };
@@ -1,2 +1,14 @@
1
- import { n as ReactOptimizedBuiltinProps, r as __ΩReactOptimizedBuiltinProps, t as ReactOptimizedBuiltin } from "../react-optimized-Y1x3FeDm.mjs";
1
+ import * as _alloy_js_core0 from "@alloy-js/core";
2
+ import { BuiltinFileProps } from "@powerlines/alloy/typescript/components/builtin-file";
3
+
4
+ //#region src/components/react-optimized.d.ts
5
+ interface ReactOptimizedBuiltinProps extends Omit<BuiltinFileProps, "id"> {
6
+ override?: boolean;
7
+ }
8
+ /**
9
+ * Generates the `react/optimized` builtin module for the Powerlines project.
10
+ */
11
+ declare function ReactOptimizedBuiltin(props: ReactOptimizedBuiltinProps): _alloy_js_core0.Children;
12
+ declare type __ΩReactOptimizedBuiltinProps = any[];
13
+ //#endregion
2
14
  export { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps };
@@ -1 +1 @@
1
- import{t as e}from"../react-optimized-DPBN2hOh.mjs";export{e as ReactOptimizedBuiltin};
1
+ import{createComponent as e,mergeProps as t}from"@alloy-js/core/jsx-runtime";import n from"defu";import{code as r,splitProps as i}from"@alloy-js/core";import{FunctionDeclaration as a}from"@alloy-js/typescript";import{usePowerlines as o}from"@powerlines/alloy/core/contexts/context";import{refkey as s}from"@powerlines/alloy/helpers/refkey";import{BuiltinFile as c}from"@powerlines/alloy/typescript/components/builtin-file";import{TSDoc as l,TSDocLink as u,TSDocReturns as d}from"@powerlines/alloy/typescript/components/tsdoc";const f=s(`isOptimizationEnabled`);function p(s){let[{override:p},m]=i(s,[`override`]),h=o();return e(c,t(m,{id:`react/optimized`,description:`A built-in module to provide access to environment configuration to determine React optimizations.`,get imports(){return n({[`${h?.config.output.builtinPrefix}:env`]:[`env`,`isDevelopment`]},m.imports??{})},get children(){return[e(l,{heading:`A gating function to determine if the optimized [React compiler](https://react.dev/reference/react-compiler) source code should be used.`,get children(){return[e(u,{children:`https://react.dev/reference/react-compiler/gating`}),e(d,{children:`A boolean indicating if the React compiler's optimizations should be used.`})]}}),e(a,{refkey:f,async:!1,export:!0,name:`isOptimizationEnabled`,returnType:`boolean`,children:p===void 0?r`return !env.DISABLE_REACT_COMPILER && !isDevelopment; `:r`return ${p};`})]}}))}export{p as ReactOptimizedBuiltin};
@@ -0,0 +1 @@
1
+ const e=require(`../../_virtual/rolldown_runtime.cjs`);let t=require(`@stryke/capnp`);t=e.__toESM(t);const n={PUBLIC:0,PROTECTED:1,PRIVATE:2};var r=class extends t.Struct{static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new t.ObjectSize(8,4)};_adoptAlias(e){t.utils.adopt(e,t.utils.getPointer(0,this))}_disownAlias(){return t.utils.disown(this.alias)}get alias(){return t.utils.getList(0,t.TextList,this)}_hasAlias(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initAlias(e){return t.utils.initList(0,t.TextList,e,this)}set alias(e){t.utils.copyFrom(e,t.utils.getPointer(0,this))}get title(){return t.utils.getText(1,this)}set title(e){t.utils.setText(1,e,this)}get hidden(){return t.utils.getBit(0,this)}set hidden(e){t.utils.setBit(0,e,this)}get readonly(){return t.utils.getBit(1,this)}set readonly(e){t.utils.setBit(1,e,this)}get ignore(){return t.utils.getBit(2,this)}set ignore(e){t.utils.setBit(2,e,this)}get internal(){return t.utils.getBit(3,this)}set internal(e){t.utils.setBit(3,e,this)}_adoptPermission(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownPermission(){return t.utils.disown(this.permission)}get permission(){return t.utils.getList(2,t.TextList,this)}_hasPermission(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initPermission(e){return t.utils.initList(2,t.TextList,e,this)}set permission(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}get domain(){return t.utils.getText(3,this)}set domain(e){t.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}};const i={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4};var a=class extends t.Struct{static UNDEFINED=i.UNDEFINED;static BOOLEAN=i.BOOLEAN;static INTEGER=i.INTEGER;static FLOAT=i.FLOAT;static STRING=i.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new t.ObjectSize(16,1)};get _isUndefined(){return t.utils.getUint16(0,this)===0}set undefined(e){t.utils.setUint16(0,0,this)}get boolean(){return t.utils.testWhich(`boolean`,t.utils.getUint16(0,this),1,this),t.utils.getBit(16,this)}get _isBoolean(){return t.utils.getUint16(0,this)===1}set boolean(e){t.utils.setUint16(0,1,this),t.utils.setBit(16,e,this)}get integer(){return t.utils.testWhich(`integer`,t.utils.getUint16(0,this),2,this),t.utils.getInt32(4,this)}get _isInteger(){return t.utils.getUint16(0,this)===2}set integer(e){t.utils.setUint16(0,2,this),t.utils.setInt32(4,e,this)}get float(){return t.utils.testWhich(`float`,t.utils.getUint16(0,this),3,this),t.utils.getFloat64(8,this)}get _isFloat(){return t.utils.getUint16(0,this)===3}set float(e){t.utils.setUint16(0,3,this),t.utils.setFloat64(8,e,this)}get string(){return t.utils.testWhich(`string`,t.utils.getUint16(0,this),4,this),t.utils.getText(0,this)}get _isString(){return t.utils.getUint16(0,this)===4}set string(e){t.utils.setUint16(0,4,this),t.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return t.utils.getUint16(0,this)}},o=class extends t.Struct{static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new t.ObjectSize(16,1)};get value(){return t.utils.getAs(a,this)}_initValue(){return t.utils.getAs(a,this)}toString(){return`DefaultValueReflection_`+super.toString()}},s=class extends t.Struct{static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new t.ObjectSize(8,0)};get id(){return t.utils.getUint32(0,this)}set id(e){t.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},c=class extends t.Struct{static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new t.ObjectSize(0,2)};_adoptContainer(e){t.utils.adopt(e,t.utils.getPointer(0,this))}_disownContainer(){return t.utils.disown(this.container)}get container(){return t.utils.getStruct(0,s,this)}_hasContainer(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initContainer(){return t.utils.initStructAt(0,s,this)}set container(e){t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptIndex(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownIndex(){return t.utils.disown(this.index)}get index(){return t.utils.getStruct(1,s,this)}_hasIndex(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initIndex(){return t.utils.initStructAt(1,s,this)}set index(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},l=class extends t.Struct{static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new t.ObjectSize(0,2)};_adoptNames(e){t.utils.adopt(e,t.utils.getPointer(0,this))}_disownNames(){return t.utils.disown(this.names)}get names(){return t.utils.getList(0,t.TextList,this)}_hasNames(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initNames(e){return t.utils.initList(0,t.TextList,e,this)}set names(e){t.utils.copyFrom(e,t.utils.getPointer(0,this))}get options(){return t.utils.getText(1,this)}set options(e){t.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},u=class e extends t.Struct{static EntityIndexOptions=l;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new t.ObjectSize(8,5)};get name(){return t.utils.getText(0,this)}set name(e){t.utils.setText(0,e,this)}get description(){return t.utils.getText(1,this)}set description(e){t.utils.setText(1,e,this)}get collection(){return t.utils.getText(2,this)}set collection(e){t.utils.setText(2,e,this)}get database(){return t.utils.getText(3,this)}set database(e){t.utils.setText(3,e,this)}get singleTableInheritance(){return t.utils.getBit(0,this)}set singleTableInheritance(e){t.utils.setBit(0,e,this)}_adoptIndexes(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownIndexes(){return t.utils.disown(this.indexes)}get indexes(){return t.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initIndexes(n){return t.utils.initList(4,e._Indexes,n,this)}set indexes(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},d=class e extends t.Struct{static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new t.ObjectSize(8,6)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptTypes(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownTypes(){return t.utils.disown(this.types)}get types(){return t.utils.getList(4,e._Types,this)}_hasTypes(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initTypes(n){return t.utils.initList(4,e._Types,n,this)}set types(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}_adoptTags(e){t.utils.adopt(e,t.utils.getPointer(5,this))}_disownTags(){return t.utils.disown(this.tags)}get tags(){return t.utils.getStruct(5,r,this)}_hasTags(){return!t.utils.isNull(t.utils.getPointer(5,this))}_initTags(){return t.utils.initStructAt(5,r,this)}set tags(e){t.utils.copyFrom(e,t.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},f=class e extends t.Struct{static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new t.ObjectSize(8,11)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}get name(){return t.utils.getText(4,this)}set name(e){t.utils.setText(4,e,this)}get globalObject(){return t.utils.getBit(16,this)}set globalObject(e){t.utils.setBit(16,e,this)}get classType(){return t.utils.getText(5,this)}set classType(e){t.utils.setText(5,e,this)}_adoptExtendsArguments(e){t.utils.adopt(e,t.utils.getPointer(6,this))}_disownExtendsArguments(){return t.utils.disown(this.extendsArguments)}get extendsArguments(){return t.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!t.utils.isNull(t.utils.getPointer(6,this))}_initExtendsArguments(n){return t.utils.initList(6,e._ExtendsArguments,n,this)}set extendsArguments(e){t.utils.copyFrom(e,t.utils.getPointer(6,this))}_adoptArguments(e){t.utils.adopt(e,t.utils.getPointer(7,this))}_disownArguments(){return t.utils.disown(this.arguments)}get arguments(){return t.utils.getList(7,e._Arguments,this)}_hasArguments(){return!t.utils.isNull(t.utils.getPointer(7,this))}_initArguments(n){return t.utils.initList(7,e._Arguments,n,this)}set arguments(e){t.utils.copyFrom(e,t.utils.getPointer(7,this))}_adoptSuperClass(e){t.utils.adopt(e,t.utils.getPointer(8,this))}_disownSuperClass(){return t.utils.disown(this.superClass)}get superClass(){return t.utils.getStruct(8,s,this)}_hasSuperClass(){return!t.utils.isNull(t.utils.getPointer(8,this))}_initSuperClass(){return t.utils.initStructAt(8,s,this)}set superClass(e){t.utils.copyFrom(e,t.utils.getPointer(8,this))}_adoptTypes(e){t.utils.adopt(e,t.utils.getPointer(9,this))}_disownTypes(){return t.utils.disown(this.types)}get types(){return t.utils.getList(9,e._Types,this)}_hasTypes(){return!t.utils.isNull(t.utils.getPointer(9,this))}_initTypes(n){return t.utils.initList(9,e._Types,n,this)}set types(e){t.utils.copyFrom(e,t.utils.getPointer(9,this))}_adoptTags(e){t.utils.adopt(e,t.utils.getPointer(10,this))}_disownTags(){return t.utils.disown(this.tags)}get tags(){return t.utils.getStruct(10,r,this)}_hasTags(){return!t.utils.isNull(t.utils.getPointer(10,this))}_initTags(){return t.utils.initStructAt(10,r,this)}set tags(e){t.utils.copyFrom(e,t.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},p=class e extends t.Struct{static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new t.ObjectSize(8,8)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}get name(){return t.utils.getText(4,this)}set name(e){t.utils.setText(4,e,this)}_adoptType(e){t.utils.adopt(e,t.utils.getPointer(5,this))}_disownType(){return t.utils.disown(this.type)}get type(){return t.utils.getStruct(5,s,this)}_hasType(){return!t.utils.isNull(t.utils.getPointer(5,this))}_initType(){return t.utils.initStructAt(5,s,this)}set type(e){t.utils.copyFrom(e,t.utils.getPointer(5,this))}get visibility(){return t.utils.getUint16(2,this)}set visibility(e){t.utils.setUint16(2,e,this)}get readonly(){return t.utils.getBit(32,this)}set readonly(e){t.utils.setBit(32,e,this)}get optional(){return t.utils.getBit(33,this)}set optional(e){t.utils.setBit(33,e,this)}_adoptDefault(e){t.utils.adopt(e,t.utils.getPointer(6,this))}_disownDefault(){return t.utils.disown(this.default)}get default(){return t.utils.getStruct(6,o,this)}_hasDefault(){return!t.utils.isNull(t.utils.getPointer(6,this))}_initDefault(){return t.utils.initStructAt(6,o,this)}set default(e){t.utils.copyFrom(e,t.utils.getPointer(6,this))}_adoptTags(e){t.utils.adopt(e,t.utils.getPointer(7,this))}_disownTags(){return t.utils.disown(this.tags)}get tags(){return t.utils.getStruct(7,r,this)}_hasTags(){return!t.utils.isNull(t.utils.getPointer(7,this))}_initTags(){return t.utils.initStructAt(7,r,this)}set tags(e){t.utils.copyFrom(e,t.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},m=class e extends t.Struct{static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new t.ObjectSize(8,8)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get visibility(){return t.utils.getUint16(0,this)}set visibility(e){t.utils.setUint16(0,e,this)}get abstract(){return t.utils.getBit(16,this)}set abstract(e){t.utils.setBit(16,e,this)}get optional(){return t.utils.getBit(17,this)}set optional(e){t.utils.setBit(17,e,this)}get readonly(){return t.utils.getBit(18,this)}set readonly(e){t.utils.setBit(18,e,this)}_adoptTags(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownTags(){return t.utils.disown(this.tags)}get tags(){return t.utils.getStruct(4,r,this)}_hasTags(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initTags(){return t.utils.initStructAt(4,r,this)}set tags(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}get kind(){return t.utils.getUint16(4,this)}set kind(e){t.utils.setUint16(4,e,this)}get name(){return t.utils.getText(5,this)}set name(e){t.utils.setText(5,e,this)}_adoptParameters(e){t.utils.adopt(e,t.utils.getPointer(6,this))}_disownParameters(){return t.utils.disown(this.parameters)}get parameters(){return t.utils.getList(6,e._Parameters,this)}_hasParameters(){return!t.utils.isNull(t.utils.getPointer(6,this))}_initParameters(n){return t.utils.initList(6,e._Parameters,n,this)}set parameters(e){t.utils.copyFrom(e,t.utils.getPointer(6,this))}_adoptReturn(e){t.utils.adopt(e,t.utils.getPointer(7,this))}_disownReturn(){return t.utils.disown(this.return)}get return(){return t.utils.getStruct(7,s,this)}_hasReturn(){return!t.utils.isNull(t.utils.getPointer(7,this))}_initReturn(){return t.utils.initStructAt(7,s,this)}set return(e){t.utils.copyFrom(e,t.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},h=class e extends t.Struct{static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new t.ObjectSize(8,9)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get visibility(){return t.utils.getUint16(0,this)}set visibility(e){t.utils.setUint16(0,e,this)}get abstract(){return t.utils.getBit(16,this)}set abstract(e){t.utils.setBit(16,e,this)}get optional(){return t.utils.getBit(17,this)}set optional(e){t.utils.setBit(17,e,this)}get readonly(){return t.utils.getBit(18,this)}set readonly(e){t.utils.setBit(18,e,this)}_adoptTags(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownTags(){return t.utils.disown(this.tags)}get tags(){return t.utils.getStruct(4,r,this)}_hasTags(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initTags(){return t.utils.initStructAt(4,r,this)}set tags(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}get kind(){return t.utils.getUint16(4,this)}set kind(e){t.utils.setUint16(4,e,this)}get name(){return t.utils.getText(5,this)}set name(e){t.utils.setText(5,e,this)}get description(){return t.utils.getText(6,this)}set description(e){t.utils.setText(6,e,this)}_adoptType(e){t.utils.adopt(e,t.utils.getPointer(7,this))}_disownType(){return t.utils.disown(this.type)}get type(){return t.utils.getStruct(7,s,this)}_hasType(){return!t.utils.isNull(t.utils.getPointer(7,this))}_initType(){return t.utils.initStructAt(7,s,this)}set type(e){t.utils.copyFrom(e,t.utils.getPointer(7,this))}_adoptDefault(e){t.utils.adopt(e,t.utils.getPointer(8,this))}_disownDefault(){return t.utils.disown(this.default)}get default(){return t.utils.getStruct(8,o,this)}_hasDefault(){return!t.utils.isNull(t.utils.getPointer(8,this))}_initDefault(){return t.utils.initStructAt(8,o,this)}set default(e){t.utils.copyFrom(e,t.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},g=class e extends t.Struct{static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new t.ObjectSize(8,8)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get visibility(){return t.utils.getUint16(0,this)}set visibility(e){t.utils.setUint16(0,e,this)}get abstract(){return t.utils.getBit(16,this)}set abstract(e){t.utils.setBit(16,e,this)}get optional(){return t.utils.getBit(17,this)}set optional(e){t.utils.setBit(17,e,this)}get readonly(){return t.utils.getBit(18,this)}set readonly(e){t.utils.setBit(18,e,this)}_adoptTags(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownTags(){return t.utils.disown(this.tags)}get tags(){return t.utils.getStruct(4,r,this)}_hasTags(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initTags(){return t.utils.initStructAt(4,r,this)}set tags(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}get kind(){return t.utils.getUint16(4,this)}set kind(e){t.utils.setUint16(4,e,this)}get name(){return t.utils.getText(5,this)}set name(e){t.utils.setText(5,e,this)}_adoptParameters(e){t.utils.adopt(e,t.utils.getPointer(6,this))}_disownParameters(){return t.utils.disown(this.parameters)}get parameters(){return t.utils.getList(6,e._Parameters,this)}_hasParameters(){return!t.utils.isNull(t.utils.getPointer(6,this))}_initParameters(n){return t.utils.initList(6,e._Parameters,n,this)}set parameters(e){t.utils.copyFrom(e,t.utils.getPointer(6,this))}_adoptReturn(e){t.utils.adopt(e,t.utils.getPointer(7,this))}_disownReturn(){return t.utils.disown(this.return)}get return(){return t.utils.getStruct(7,s,this)}_hasReturn(){return!t.utils.isNull(t.utils.getPointer(7,this))}_initReturn(){return t.utils.initStructAt(7,s,this)}set return(e){t.utils.copyFrom(e,t.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},_=class e extends t.Struct{static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new t.ObjectSize(8,4)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get visibility(){return t.utils.getUint16(0,this)}set visibility(e){t.utils.setUint16(0,e,this)}get abstract(){return t.utils.getBit(16,this)}set abstract(e){t.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},v=class extends t.Struct{static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new t.ObjectSize(0,2)};get name(){return t.utils.getText(0,this)}set name(e){t.utils.setText(0,e,this)}get value(){return t.utils.getText(1,this)}set value(e){t.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},y=class e extends t.Struct{static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new t.ObjectSize(8,8)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptEnumEntries(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownEnumEntries(){return t.utils.disown(this.enumEntries)}get enumEntries(){return t.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initEnumEntries(n){return t.utils.initList(4,e._EnumEntries,n,this)}set enumEntries(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}_adoptValues(e){t.utils.adopt(e,t.utils.getPointer(5,this))}_disownValues(){return t.utils.disown(this.values)}get values(){return t.utils.getList(5,t.TextList,this)}_hasValues(){return!t.utils.isNull(t.utils.getPointer(5,this))}_initValues(e){return t.utils.initList(5,t.TextList,e,this)}set values(e){t.utils.copyFrom(e,t.utils.getPointer(5,this))}_adoptIndexType(e){t.utils.adopt(e,t.utils.getPointer(6,this))}_disownIndexType(){return t.utils.disown(this.indexType)}get indexType(){return t.utils.getStruct(6,s,this)}_hasIndexType(){return!t.utils.isNull(t.utils.getPointer(6,this))}_initIndexType(){return t.utils.initStructAt(6,s,this)}set indexType(e){t.utils.copyFrom(e,t.utils.getPointer(6,this))}_adoptTags(e){t.utils.adopt(e,t.utils.getPointer(7,this))}_disownTags(){return t.utils.disown(this.tags)}get tags(){return t.utils.getStruct(7,r,this)}_hasTags(){return!t.utils.isNull(t.utils.getPointer(7,this))}_initTags(){return t.utils.initStructAt(7,r,this)}set tags(e){t.utils.copyFrom(e,t.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},b=class e extends t.Struct{static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new t.ObjectSize(8,5)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptTypes(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownTypes(){return t.utils.disown(this.types)}get types(){return t.utils.getList(4,e._Types,this)}_hasTypes(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initTypes(n){return t.utils.initList(4,e._Types,n,this)}set types(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},x=class e extends t.Struct{static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new t.ObjectSize(8,5)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptTypes(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownTypes(){return t.utils.disown(this.types)}get types(){return t.utils.getList(4,e._Types,this)}_hasTypes(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initTypes(n){return t.utils.initList(4,e._Types,n,this)}set types(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},S=class e extends t.Struct{static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new t.ObjectSize(8,6)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptType(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownType(){return t.utils.disown(this.type)}get type(){return t.utils.getStruct(4,s,this)}_hasType(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initType(){return t.utils.initStructAt(4,s,this)}set type(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}_adoptTags(e){t.utils.adopt(e,t.utils.getPointer(5,this))}_disownTags(){return t.utils.disown(this.tags)}get tags(){return t.utils.getStruct(5,r,this)}_hasTags(){return!t.utils.isNull(t.utils.getPointer(5,this))}_initTags(){return t.utils.initStructAt(5,r,this)}set tags(e){t.utils.copyFrom(e,t.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},C=class e extends t.Struct{static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new t.ObjectSize(8,6)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptIndex(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownIndex(){return t.utils.disown(this.index)}get index(){return t.utils.getStruct(4,s,this)}_hasIndex(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initIndex(){return t.utils.initStructAt(4,s,this)}set index(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}_adoptType(e){t.utils.adopt(e,t.utils.getPointer(5,this))}_disownType(){return t.utils.disown(this.type)}get type(){return t.utils.getStruct(5,s,this)}_hasType(){return!t.utils.isNull(t.utils.getPointer(5,this))}_initType(){return t.utils.initStructAt(5,s,this)}set type(e){t.utils.copyFrom(e,t.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},w=class e extends t.Struct{static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new t.ObjectSize(8,9)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}get name(){return t.utils.getText(4,this)}set name(e){t.utils.setText(4,e,this)}get optional(){return t.utils.getBit(16,this)}set optional(e){t.utils.setBit(16,e,this)}get readonly(){return t.utils.getBit(17,this)}set readonly(e){t.utils.setBit(17,e,this)}get description(){return t.utils.getText(5,this)}set description(e){t.utils.setText(5,e,this)}_adoptDefault(e){t.utils.adopt(e,t.utils.getPointer(6,this))}_disownDefault(){return t.utils.disown(this.default)}get default(){return t.utils.getStruct(6,o,this)}_hasDefault(){return!t.utils.isNull(t.utils.getPointer(6,this))}_initDefault(){return t.utils.initStructAt(6,o,this)}set default(e){t.utils.copyFrom(e,t.utils.getPointer(6,this))}_adoptType(e){t.utils.adopt(e,t.utils.getPointer(7,this))}_disownType(){return t.utils.disown(this.type)}get type(){return t.utils.getStruct(7,s,this)}_hasType(){return!t.utils.isNull(t.utils.getPointer(7,this))}_initType(){return t.utils.initStructAt(7,s,this)}set type(e){t.utils.copyFrom(e,t.utils.getPointer(7,this))}_adoptTags(e){t.utils.adopt(e,t.utils.getPointer(8,this))}_disownTags(){return t.utils.disown(this.tags)}get tags(){return t.utils.getStruct(8,r,this)}_hasTags(){return!t.utils.isNull(t.utils.getPointer(8,this))}_initTags(){return t.utils.initStructAt(8,r,this)}set tags(e){t.utils.copyFrom(e,t.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},T=class e extends t.Struct{static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new t.ObjectSize(8,8)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}get name(){return t.utils.getText(4,this)}set name(e){t.utils.setText(4,e,this)}get optional(){return t.utils.getBit(16,this)}set optional(e){t.utils.setBit(16,e,this)}_adoptParameters(e){t.utils.adopt(e,t.utils.getPointer(5,this))}_disownParameters(){return t.utils.disown(this.parameters)}get parameters(){return t.utils.getList(5,e._Parameters,this)}_hasParameters(){return!t.utils.isNull(t.utils.getPointer(5,this))}_initParameters(n){return t.utils.initList(5,e._Parameters,n,this)}set parameters(e){t.utils.copyFrom(e,t.utils.getPointer(5,this))}_adoptReturn(e){t.utils.adopt(e,t.utils.getPointer(6,this))}_disownReturn(){return t.utils.disown(this.return)}get return(){return t.utils.getStruct(6,s,this)}_hasReturn(){return!t.utils.isNull(t.utils.getPointer(6,this))}_initReturn(){return t.utils.initStructAt(6,s,this)}set return(e){t.utils.copyFrom(e,t.utils.getPointer(6,this))}_adoptTags(e){t.utils.adopt(e,t.utils.getPointer(7,this))}_disownTags(){return t.utils.disown(this.tags)}get tags(){return t.utils.getStruct(7,r,this)}_hasTags(){return!t.utils.isNull(t.utils.getPointer(7,this))}_initTags(){return t.utils.initStructAt(7,r,this)}set tags(e){t.utils.copyFrom(e,t.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},E=class e extends t.Struct{static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new t.ObjectSize(8,5)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}get name(){return t.utils.getText(4,this)}set name(e){t.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},D=class e extends t.Struct{static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new t.ObjectSize(8,4)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},O=class e extends t.Struct{static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new t.ObjectSize(8,6)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptType(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownType(){return t.utils.disown(this.type)}get type(){return t.utils.getStruct(4,s,this)}_hasType(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initType(){return t.utils.initStructAt(4,s,this)}set type(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}get optional(){return t.utils.getBit(16,this)}set optional(e){t.utils.setBit(16,e,this)}get name(){return t.utils.getText(5,this)}set name(e){t.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},k=class e extends t.Struct{static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new t.ObjectSize(8,5)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptTypes(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownTypes(){return t.utils.disown(this.types)}get types(){return t.utils.getList(4,e._Types,this)}_hasTypes(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initTypes(n){return t.utils.initList(4,e._Types,n,this)}set types(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},A=class e extends t.Struct{static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new t.ObjectSize(8,5)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptType(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownType(){return t.utils.disown(this.type)}get type(){return t.utils.getStruct(4,s,this)}_hasType(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initType(){return t.utils.initStructAt(4,s,this)}set type(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},j=class e extends t.Struct{static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new t.ObjectSize(8,5)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptOrigin(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownOrigin(){return t.utils.disown(this.origin)}get origin(){return t.utils.getStruct(4,s,this)}_hasOrigin(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initOrigin(){return t.utils.initStructAt(4,s,this)}set origin(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},M=class extends t.Struct{static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new t.ObjectSize(0,2)};get type(){return t.utils.getText(0,this)}set type(e){t.utils.setText(0,e,this)}get name(){return t.utils.getText(1,this)}set name(e){t.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},N=class extends t.Struct{static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new t.ObjectSize(0,2)};get type(){return t.utils.getText(0,this)}set type(e){t.utils.setText(0,e,this)}get value(){return t.utils.getText(1,this)}set value(e){t.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},P=class extends t.Struct{static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new t.ObjectSize(0,2)};get type(){return t.utils.getText(0,this)}set type(e){t.utils.setText(0,e,this)}get regex(){return t.utils.getText(1,this)}set regex(e){t.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}};const F={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5};var I=class extends t.Struct{static SYMBOL=F.SYMBOL;static STRING=F.STRING;static NUMBER=F.NUMBER;static BOOLEAN=F.BOOLEAN;static BIGINT=F.BIGINT;static REGEX=F.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new t.ObjectSize(16,5)};_adoptSymbol(e){t.utils.setUint16(2,0,this),t.utils.adopt(e,t.utils.getPointer(4,this))}_disownSymbol(){return t.utils.disown(this.symbol)}get symbol(){return t.utils.testWhich(`symbol`,t.utils.getUint16(2,this),0,this),t.utils.getStruct(4,M,this)}_hasSymbol(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initSymbol(){return t.utils.setUint16(2,0,this),t.utils.initStructAt(4,M,this)}get _isSymbol(){return t.utils.getUint16(2,this)===0}set symbol(e){t.utils.setUint16(2,0,this),t.utils.copyFrom(e,t.utils.getPointer(4,this))}get string(){return t.utils.testWhich(`string`,t.utils.getUint16(2,this),1,this),t.utils.getText(4,this)}get _isString(){return t.utils.getUint16(2,this)===1}set string(e){t.utils.setUint16(2,1,this),t.utils.setText(4,e,this)}get number(){return t.utils.testWhich(`number`,t.utils.getUint16(2,this),2,this),t.utils.getFloat64(8,this)}get _isNumber(){return t.utils.getUint16(2,this)===2}set number(e){t.utils.setUint16(2,2,this),t.utils.setFloat64(8,e,this)}get boolean(){return t.utils.testWhich(`boolean`,t.utils.getUint16(2,this),3,this),t.utils.getBit(64,this)}get _isBoolean(){return t.utils.getUint16(2,this)===3}set boolean(e){t.utils.setUint16(2,3,this),t.utils.setBit(64,e,this)}_adoptBigint(e){t.utils.setUint16(2,4,this),t.utils.adopt(e,t.utils.getPointer(4,this))}_disownBigint(){return t.utils.disown(this.bigint)}get bigint(){return t.utils.testWhich(`bigint`,t.utils.getUint16(2,this),4,this),t.utils.getStruct(4,N,this)}_hasBigint(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initBigint(){return t.utils.setUint16(2,4,this),t.utils.initStructAt(4,N,this)}get _isBigint(){return t.utils.getUint16(2,this)===4}set bigint(e){t.utils.setUint16(2,4,this),t.utils.copyFrom(e,t.utils.getPointer(4,this))}_adoptRegex(e){t.utils.setUint16(2,5,this),t.utils.adopt(e,t.utils.getPointer(4,this))}_disownRegex(){return t.utils.disown(this.regex)}get regex(){return t.utils.testWhich(`regex`,t.utils.getUint16(2,this),5,this),t.utils.getStruct(4,P,this)}_hasRegex(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initRegex(){return t.utils.setUint16(2,5,this),t.utils.initStructAt(4,P,this)}get _isRegex(){return t.utils.getUint16(2,this)===5}set regex(e){t.utils.setUint16(2,5,this),t.utils.copyFrom(e,t.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return t.utils.getUint16(2,this)}},L=class e extends t.Struct{static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new t.ObjectSize(16,5)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}get literal(){return t.utils.getAs(I,this)}_initLiteral(){return t.utils.getAs(I,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},R=class e extends t.Struct{static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new t.ObjectSize(8,5)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}_adoptTypeArguments(e){t.utils.adopt(e,t.utils.getPointer(1,this))}_disownTypeArguments(){return t.utils.disown(this.typeArguments)}get typeArguments(){return t.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!t.utils.isNull(t.utils.getPointer(1,this))}_initTypeArguments(n){return t.utils.initList(1,e._TypeArguments,n,this)}set typeArguments(e){t.utils.copyFrom(e,t.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){t.utils.adopt(e,t.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return t.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return t.utils.getStruct(2,c,this)}_hasIndexAccessOrigin(){return!t.utils.isNull(t.utils.getPointer(2,this))}_initIndexAccessOrigin(){return t.utils.initStructAt(2,c,this)}set indexAccessOrigin(e){t.utils.copyFrom(e,t.utils.getPointer(2,this))}_adoptDecorators(e){t.utils.adopt(e,t.utils.getPointer(3,this))}_disownDecorators(){return t.utils.disown(this.decorators)}get decorators(){return t.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!t.utils.isNull(t.utils.getPointer(3,this))}_initDecorators(n){return t.utils.initList(3,e._Decorators,n,this)}set decorators(e){t.utils.copyFrom(e,t.utils.getPointer(3,this))}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}_adoptTypes(e){t.utils.adopt(e,t.utils.getPointer(4,this))}_disownTypes(){return t.utils.disown(this.types)}get types(){return t.utils.getList(4,e._Types,this)}_hasTypes(){return!t.utils.isNull(t.utils.getPointer(4,this))}_initTypes(n){return t.utils.initList(4,e._Types,n,this)}set types(e){t.utils.copyFrom(e,t.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},z=class extends t.Struct{static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new t.ObjectSize(8,1)};get typeName(){return t.utils.getText(0,this)}set typeName(e){t.utils.setText(0,e,this)}get kind(){return t.utils.getUint16(0,this)}set kind(e){t.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}};const B={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 V=class extends t.Struct{static SIMPLE=B.SIMPLE;static LITERAL=B.LITERAL;static TEMPLATE_LITERAL=B.TEMPLATE_LITERAL;static PARAMETER=B.PARAMETER;static FUNCTION=B.FUNCTION;static METHOD=B.METHOD;static PROPERTY=B.PROPERTY;static PROMISE=B.PROMISE;static CLASS_TYPE=B.CLASS_TYPE;static ENUM=B.ENUM;static UNION=B.UNION;static INTERSECTION=B.INTERSECTION;static ARRAY=B.ARRAY;static OBJECT_LITERAL=B.OBJECT_LITERAL;static INDEX_SIGNATURE=B.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=B.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=B.METHOD_SIGNATURE;static TYPE_PARAMETER=B.TYPE_PARAMETER;static INFER=B.INFER;static TUPLE=B.TUPLE;static TUPLE_MEMBER=B.TUPLE_MEMBER;static REST=B.REST;static OTHER=B.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new t.ObjectSize(8,1)};_adoptSimple(e){t.utils.setUint16(0,0,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownSimple(){return t.utils.disown(this.simple)}get simple(){return t.utils.testWhich(`simple`,t.utils.getUint16(0,this),0,this),t.utils.getStruct(0,j,this)}_hasSimple(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initSimple(){return t.utils.setUint16(0,0,this),t.utils.initStructAt(0,j,this)}get _isSimple(){return t.utils.getUint16(0,this)===0}set simple(e){t.utils.setUint16(0,0,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptLiteral(e){t.utils.setUint16(0,1,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownLiteral(){return t.utils.disown(this.literal)}get literal(){return t.utils.testWhich(`literal`,t.utils.getUint16(0,this),1,this),t.utils.getStruct(0,L,this)}_hasLiteral(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initLiteral(){return t.utils.setUint16(0,1,this),t.utils.initStructAt(0,L,this)}get _isLiteral(){return t.utils.getUint16(0,this)===1}set literal(e){t.utils.setUint16(0,1,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptTemplateLiteral(e){t.utils.setUint16(0,2,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownTemplateLiteral(){return t.utils.disown(this.templateLiteral)}get templateLiteral(){return t.utils.testWhich(`templateLiteral`,t.utils.getUint16(0,this),2,this),t.utils.getStruct(0,R,this)}_hasTemplateLiteral(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initTemplateLiteral(){return t.utils.setUint16(0,2,this),t.utils.initStructAt(0,R,this)}get _isTemplateLiteral(){return t.utils.getUint16(0,this)===2}set templateLiteral(e){t.utils.setUint16(0,2,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptParameter(e){t.utils.setUint16(0,3,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownParameter(){return t.utils.disown(this.parameter)}get parameter(){return t.utils.testWhich(`parameter`,t.utils.getUint16(0,this),3,this),t.utils.getStruct(0,p,this)}_hasParameter(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initParameter(){return t.utils.setUint16(0,3,this),t.utils.initStructAt(0,p,this)}get _isParameter(){return t.utils.getUint16(0,this)===3}set parameter(e){t.utils.setUint16(0,3,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptFunction(e){t.utils.setUint16(0,4,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownFunction(){return t.utils.disown(this.function)}get function(){return t.utils.testWhich(`function`,t.utils.getUint16(0,this),4,this),t.utils.getStruct(0,g,this)}_hasFunction(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initFunction(){return t.utils.setUint16(0,4,this),t.utils.initStructAt(0,g,this)}get _isFunction(){return t.utils.getUint16(0,this)===4}set function(e){t.utils.setUint16(0,4,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptMethod(e){t.utils.setUint16(0,5,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownMethod(){return t.utils.disown(this.method)}get method(){return t.utils.testWhich(`method`,t.utils.getUint16(0,this),5,this),t.utils.getStruct(0,m,this)}_hasMethod(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initMethod(){return t.utils.setUint16(0,5,this),t.utils.initStructAt(0,m,this)}get _isMethod(){return t.utils.getUint16(0,this)===5}set method(e){t.utils.setUint16(0,5,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptProperty(e){t.utils.setUint16(0,6,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownProperty(){return t.utils.disown(this.property)}get property(){return t.utils.testWhich(`property`,t.utils.getUint16(0,this),6,this),t.utils.getStruct(0,h,this)}_hasProperty(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initProperty(){return t.utils.setUint16(0,6,this),t.utils.initStructAt(0,h,this)}get _isProperty(){return t.utils.getUint16(0,this)===6}set property(e){t.utils.setUint16(0,6,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptPromise(e){t.utils.setUint16(0,7,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownPromise(){return t.utils.disown(this.promise)}get promise(){return t.utils.testWhich(`promise`,t.utils.getUint16(0,this),7,this),t.utils.getStruct(0,_,this)}_hasPromise(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initPromise(){return t.utils.setUint16(0,7,this),t.utils.initStructAt(0,_,this)}get _isPromise(){return t.utils.getUint16(0,this)===7}set promise(e){t.utils.setUint16(0,7,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptClassType(e){t.utils.setUint16(0,8,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownClassType(){return t.utils.disown(this.classType)}get classType(){return t.utils.testWhich(`classType`,t.utils.getUint16(0,this),8,this),t.utils.getStruct(0,f,this)}_hasClassType(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initClassType(){return t.utils.setUint16(0,8,this),t.utils.initStructAt(0,f,this)}get _isClassType(){return t.utils.getUint16(0,this)===8}set classType(e){t.utils.setUint16(0,8,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptEnum(e){t.utils.setUint16(0,9,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownEnum(){return t.utils.disown(this.enum)}get enum(){return t.utils.testWhich(`enum`,t.utils.getUint16(0,this),9,this),t.utils.getStruct(0,y,this)}_hasEnum(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initEnum(){return t.utils.setUint16(0,9,this),t.utils.initStructAt(0,y,this)}get _isEnum(){return t.utils.getUint16(0,this)===9}set enum(e){t.utils.setUint16(0,9,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptUnion(e){t.utils.setUint16(0,10,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownUnion(){return t.utils.disown(this.union)}get union(){return t.utils.testWhich(`union`,t.utils.getUint16(0,this),10,this),t.utils.getStruct(0,b,this)}_hasUnion(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initUnion(){return t.utils.setUint16(0,10,this),t.utils.initStructAt(0,b,this)}get _isUnion(){return t.utils.getUint16(0,this)===10}set union(e){t.utils.setUint16(0,10,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptIntersection(e){t.utils.setUint16(0,11,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownIntersection(){return t.utils.disown(this.intersection)}get intersection(){return t.utils.testWhich(`intersection`,t.utils.getUint16(0,this),11,this),t.utils.getStruct(0,x,this)}_hasIntersection(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initIntersection(){return t.utils.setUint16(0,11,this),t.utils.initStructAt(0,x,this)}get _isIntersection(){return t.utils.getUint16(0,this)===11}set intersection(e){t.utils.setUint16(0,11,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptArray(e){t.utils.setUint16(0,12,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownArray(){return t.utils.disown(this.array)}get array(){return t.utils.testWhich(`array`,t.utils.getUint16(0,this),12,this),t.utils.getStruct(0,S,this)}_hasArray(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initArray(){return t.utils.setUint16(0,12,this),t.utils.initStructAt(0,S,this)}get _isArray(){return t.utils.getUint16(0,this)===12}set array(e){t.utils.setUint16(0,12,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptObjectLiteral(e){t.utils.setUint16(0,13,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownObjectLiteral(){return t.utils.disown(this.objectLiteral)}get objectLiteral(){return t.utils.testWhich(`objectLiteral`,t.utils.getUint16(0,this),13,this),t.utils.getStruct(0,d,this)}_hasObjectLiteral(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initObjectLiteral(){return t.utils.setUint16(0,13,this),t.utils.initStructAt(0,d,this)}get _isObjectLiteral(){return t.utils.getUint16(0,this)===13}set objectLiteral(e){t.utils.setUint16(0,13,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptIndexSignature(e){t.utils.setUint16(0,14,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownIndexSignature(){return t.utils.disown(this.indexSignature)}get indexSignature(){return t.utils.testWhich(`indexSignature`,t.utils.getUint16(0,this),14,this),t.utils.getStruct(0,C,this)}_hasIndexSignature(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initIndexSignature(){return t.utils.setUint16(0,14,this),t.utils.initStructAt(0,C,this)}get _isIndexSignature(){return t.utils.getUint16(0,this)===14}set indexSignature(e){t.utils.setUint16(0,14,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptPropertySignature(e){t.utils.setUint16(0,15,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownPropertySignature(){return t.utils.disown(this.propertySignature)}get propertySignature(){return t.utils.testWhich(`propertySignature`,t.utils.getUint16(0,this),15,this),t.utils.getStruct(0,w,this)}_hasPropertySignature(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initPropertySignature(){return t.utils.setUint16(0,15,this),t.utils.initStructAt(0,w,this)}get _isPropertySignature(){return t.utils.getUint16(0,this)===15}set propertySignature(e){t.utils.setUint16(0,15,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptMethodSignature(e){t.utils.setUint16(0,16,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownMethodSignature(){return t.utils.disown(this.methodSignature)}get methodSignature(){return t.utils.testWhich(`methodSignature`,t.utils.getUint16(0,this),16,this),t.utils.getStruct(0,T,this)}_hasMethodSignature(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initMethodSignature(){return t.utils.setUint16(0,16,this),t.utils.initStructAt(0,T,this)}get _isMethodSignature(){return t.utils.getUint16(0,this)===16}set methodSignature(e){t.utils.setUint16(0,16,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptTypeParameter(e){t.utils.setUint16(0,17,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownTypeParameter(){return t.utils.disown(this.typeParameter)}get typeParameter(){return t.utils.testWhich(`typeParameter`,t.utils.getUint16(0,this),17,this),t.utils.getStruct(0,E,this)}_hasTypeParameter(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initTypeParameter(){return t.utils.setUint16(0,17,this),t.utils.initStructAt(0,E,this)}get _isTypeParameter(){return t.utils.getUint16(0,this)===17}set typeParameter(e){t.utils.setUint16(0,17,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptInfer(e){t.utils.setUint16(0,18,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownInfer(){return t.utils.disown(this.infer)}get infer(){return t.utils.testWhich(`infer`,t.utils.getUint16(0,this),18,this),t.utils.getStruct(0,D,this)}_hasInfer(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initInfer(){return t.utils.setUint16(0,18,this),t.utils.initStructAt(0,D,this)}get _isInfer(){return t.utils.getUint16(0,this)===18}set infer(e){t.utils.setUint16(0,18,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptTuple(e){t.utils.setUint16(0,19,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownTuple(){return t.utils.disown(this.tuple)}get tuple(){return t.utils.testWhich(`tuple`,t.utils.getUint16(0,this),19,this),t.utils.getStruct(0,k,this)}_hasTuple(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initTuple(){return t.utils.setUint16(0,19,this),t.utils.initStructAt(0,k,this)}get _isTuple(){return t.utils.getUint16(0,this)===19}set tuple(e){t.utils.setUint16(0,19,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptTupleMember(e){t.utils.setUint16(0,20,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownTupleMember(){return t.utils.disown(this.tupleMember)}get tupleMember(){return t.utils.testWhich(`tupleMember`,t.utils.getUint16(0,this),20,this),t.utils.getStruct(0,O,this)}_hasTupleMember(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initTupleMember(){return t.utils.setUint16(0,20,this),t.utils.initStructAt(0,O,this)}get _isTupleMember(){return t.utils.getUint16(0,this)===20}set tupleMember(e){t.utils.setUint16(0,20,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptRest(e){t.utils.setUint16(0,21,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownRest(){return t.utils.disown(this.rest)}get rest(){return t.utils.testWhich(`rest`,t.utils.getUint16(0,this),21,this),t.utils.getStruct(0,A,this)}_hasRest(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initRest(){return t.utils.setUint16(0,21,this),t.utils.initStructAt(0,A,this)}get _isRest(){return t.utils.getUint16(0,this)===21}set rest(e){t.utils.setUint16(0,21,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}_adoptOther(e){t.utils.setUint16(0,22,this),t.utils.adopt(e,t.utils.getPointer(0,this))}_disownOther(){return t.utils.disown(this.other)}get other(){return t.utils.testWhich(`other`,t.utils.getUint16(0,this),22,this),t.utils.getStruct(0,z,this)}_hasOther(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initOther(){return t.utils.setUint16(0,22,this),t.utils.initStructAt(0,z,this)}get _isOther(){return t.utils.getUint16(0,this)===22}set other(e){t.utils.setUint16(0,22,this),t.utils.copyFrom(e,t.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return t.utils.getUint16(0,this)}},H=class extends t.Struct{static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new t.ObjectSize(8,1)};get type(){return t.utils.getAs(V,this)}_initType(){return t.utils.getAs(V,this)}toString(){return`SerializedType_`+super.toString()}},U=class e extends t.Struct{static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new t.ObjectSize(0,1)};_adoptTypes(e){t.utils.adopt(e,t.utils.getPointer(0,this))}_disownTypes(){return t.utils.disown(this.types)}get types(){return t.utils.getList(0,e._Types,this)}_hasTypes(){return!t.utils.isNull(t.utils.getPointer(0,this))}_initTypes(n){return t.utils.initList(0,e._Types,n,this)}set types(e){t.utils.copyFrom(e,t.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};u._Indexes=t.CompositeList(l),d._TypeArguments=t.CompositeList(s),d._Decorators=t.CompositeList(s),d._Types=t.CompositeList(s),f._TypeArguments=t.CompositeList(s),f._Decorators=t.CompositeList(s),f._ExtendsArguments=t.CompositeList(s),f._Arguments=t.CompositeList(s),f._Types=t.CompositeList(s),p._TypeArguments=t.CompositeList(s),p._Decorators=t.CompositeList(s),m._TypeArguments=t.CompositeList(s),m._Decorators=t.CompositeList(s),m._Parameters=t.CompositeList(p),h._TypeArguments=t.CompositeList(s),h._Decorators=t.CompositeList(s),g._TypeArguments=t.CompositeList(s),g._Decorators=t.CompositeList(s),g._Parameters=t.CompositeList(p),_._TypeArguments=t.CompositeList(s),_._Decorators=t.CompositeList(s),y._TypeArguments=t.CompositeList(s),y._Decorators=t.CompositeList(s),y._EnumEntries=t.CompositeList(v),b._TypeArguments=t.CompositeList(s),b._Decorators=t.CompositeList(s),b._Types=t.CompositeList(s),x._TypeArguments=t.CompositeList(s),x._Decorators=t.CompositeList(s),x._Types=t.CompositeList(s),S._TypeArguments=t.CompositeList(s),S._Decorators=t.CompositeList(s),C._TypeArguments=t.CompositeList(s),C._Decorators=t.CompositeList(s),w._TypeArguments=t.CompositeList(s),w._Decorators=t.CompositeList(s),T._TypeArguments=t.CompositeList(s),T._Decorators=t.CompositeList(s),T._Parameters=t.CompositeList(p),E._TypeArguments=t.CompositeList(s),E._Decorators=t.CompositeList(s),D._TypeArguments=t.CompositeList(s),D._Decorators=t.CompositeList(s),O._TypeArguments=t.CompositeList(s),O._Decorators=t.CompositeList(s),k._TypeArguments=t.CompositeList(s),k._Decorators=t.CompositeList(s),k._Types=t.CompositeList(O),A._TypeArguments=t.CompositeList(s),A._Decorators=t.CompositeList(s),j._TypeArguments=t.CompositeList(s),j._Decorators=t.CompositeList(s),L._TypeArguments=t.CompositeList(s),L._Decorators=t.CompositeList(s),R._TypeArguments=t.CompositeList(s),R._Decorators=t.CompositeList(s),R._Types=t.CompositeList(s),U._Types=t.CompositeList(H),exports.ReflectionVisibility=n;
@@ -1,24 +1,5 @@
1
- import { a as BabelResolvedConfig, c as UserConfig, i as PluginContext, n as SecretsInterface, o as ResolvedConfig, s as BabelUserConfig, t as EnvInterface } from "./runtime-Do9xjHUb.mjs";
2
- import { Children } from "@alloy-js/core/jsx-runtime";
3
- import { Config } from "automd";
4
- import { DotenvParseOutput } from "@stryke/env/types";
5
1
  import * as $ from "@stryke/capnp";
6
- import { PrintTreeOptions } from "@alloy-js/core";
7
- import "@alloy-js/typescript";
8
- import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
9
- import { PluginOptions } from "babel-plugin-react-compiler";
10
2
 
11
- //#region ../plugin-babel/src/types/plugin.d.ts
12
- type BabelPluginOptions = Partial<BabelUserConfig>;
13
- type BabelPluginUserConfig = UserConfig;
14
- interface BabelPluginResolvedConfig extends ResolvedConfig {
15
- transform: {
16
- babel: BabelResolvedConfig;
17
- };
18
- }
19
- type BabelPluginContext<TResolvedConfig extends BabelPluginResolvedConfig = BabelPluginResolvedConfig> = PluginContext<TResolvedConfig>;
20
- import * as import___deepkit_type from "@deepkit/type";
21
- //#endregion
22
3
  //#region ../deepkit/schemas/reflection.d.ts
23
4
  declare const ReflectionKind: {
24
5
  readonly NEVER: 0;
@@ -1576,305 +1557,4 @@ declare class SerializedTypes extends $.Struct {
1576
1557
  toString(): string;
1577
1558
  }
1578
1559
  //#endregion
1579
- //#region ../deepkit/src/types.d.ts
1580
- type Reflection<T extends Record<string, any> = Record<string, any>> = type_d_exports.ReflectionClass<T> & {
1581
- dataBuffer?: ArrayBuffer;
1582
- messageRoot?: SerializedTypes;
1583
- };
1584
- //#endregion
1585
- //#region ../plugin-alloy/src/types/plugin.d.ts
1586
- type AlloyPluginOptions = Partial<PrintTreeOptions> & {
1587
- /**
1588
- * If true, the Alloy framework is used to generate Typescript output files.
1589
- *
1590
- * @defaultValue true
1591
- */
1592
- typescript?: boolean;
1593
- /**
1594
- * If true, the Alloy framework is used to generate JSON output files.
1595
- *
1596
- * @defaultValue false
1597
- */
1598
- json?: boolean;
1599
- /**
1600
- * If true, the Alloy framework is used to generate Markdown output files.
1601
- *
1602
- * @defaultValue false
1603
- */
1604
- markdown?: boolean;
1605
- };
1606
- type AlloyPluginResolvedConfig = ResolvedConfig & {
1607
- alloy: AlloyPluginOptions;
1608
- };
1609
- type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
1610
- render: <TContext extends AlloyPluginContext>(this: TContext, children: Children) => Promise<void>;
1611
- };
1612
- //#endregion
1613
- //#region ../plugin-automd/src/types/toc.d.ts
1614
- interface TOCOptions {
1615
- /**
1616
- * A slugify function to generate slugs for the headings.
1617
- */
1618
- slugify?: (str: string) => string;
1619
- /**
1620
- * The maximum depth of headings to include in the TOC.
1621
- *
1622
- * @defaultValue 6
1623
- */
1624
- maxDepth?: number;
1625
- /**
1626
- * Whether to include the first H1 heading in the TOC.
1627
- */
1628
- firstH1?: boolean;
1629
- /**
1630
- * The bullet character to use for list items in the TOC.
1631
- *
1632
- * @defaultValue "-"
1633
- */
1634
- bullets?: string;
1635
- /**
1636
- * A prefix to add to each heading in the TOC.
1637
- */
1638
- prefix?: string;
1639
- /**
1640
- * A filter function to determine which headings to include in the TOC.
1641
- */
1642
- filter?: (str: string, level: number) => boolean;
1643
- }
1644
- //#endregion
1645
- //#region ../plugin-automd/src/types/plugin.d.ts
1646
- type AutoMDPluginOptions = Omit<Config, "dir" | "watch" | "onWatch" | "prefix"> & {
1647
- /**
1648
- * Path to the AutoMD configuration file.
1649
- *
1650
- * @remarks
1651
- * If not provided, the plugin will use the default AutoMD configuration resolution mechanism.
1652
- */
1653
- configFile?: string;
1654
- /**
1655
- * An indicator specifying whether or not issues found by AutoMD during the prepare task are considered fatal.
1656
- *
1657
- * @defaultValue true
1658
- */
1659
- allowIssues?: boolean;
1660
- /**
1661
- * Alternate prefix strings to use for finding generators
1662
- *
1663
- * @remarks
1664
- * By default, AutoMD looks for generators with the "automd" prefix, so that any `<!-- automd:generator [...args] --> ... <!-- /automd -->` comments will be picked up. If you want to use different prefixes (for example, to avoid conflicts with other tools), you would provide a value like "myPrefix" and AutoMD would also look for `<!-- myPrefix:generator [...args] --> ... <!-- /myPrefix -->` comments.
1665
- *
1666
- * @defaultValue ["automd", "powerlines", "\{framework\}"]
1667
- */
1668
- prefix?: string | string[];
1669
- /**
1670
- * Table of Contents generator options
1671
- *
1672
- * @remarks
1673
- * If set to `false`, the built-in Table of Contents generator will be disabled.
1674
- */
1675
- toc?: false | TOCOptions;
1676
- };
1677
- //#endregion
1678
- //#region ../plugin-env/src/types/plugin.d.ts
1679
- type EnvPluginOptions = Omit<DotenvConfiguration, "types"> & {
1680
- /**
1681
- * A path to the type definition for the expected env configuration parameters. This value can include both a path to the typescript file and the name of the type definition to use separated by a `":"` or `"#"` character. For example: `"./src/types/env.ts#ConfigConfiguration"`.
1682
- */
1683
- types?: TypeDefinitionParameter;
1684
- /**
1685
- * A path to the type definition for the expected env secret parameters. This value can include both a path to the typescript file and the name of the type definition to use separated by a `":"` or `"#"` character. For example: `"./src/types/env.ts#ConfigSecrets"`.
1686
- */
1687
- secrets?: TypeDefinitionParameter;
1688
- /**
1689
- * An additional prefix (or list of additional prefixes) to apply to the environment variables
1690
- *
1691
- * @remarks
1692
- * By default, the plugin will use the `POWERLINES_` prefix. This option is useful for avoiding conflicts with other environment variables.
1693
- */
1694
- prefix?: string | string[];
1695
- /**
1696
- * Should the plugin inject the env variables in the source code with their values?
1697
- *
1698
- * @remarks
1699
- * This option is set to `true` when building an application project.
1700
- *
1701
- * @defaultValue false
1702
- */
1703
- inject?: boolean;
1704
- /**
1705
- * The default configuration to use when loading environment variables.
1706
- *
1707
- * @remarks
1708
- * This configuration is used as the base configuration when loading environment variables, and will be overridden by any values found in the `.env` file or the process environment.
1709
- */
1710
- defaultConfig?: Children;
1711
- /**
1712
- * Babel configuration options to use when injecting environment variables into the source code.
1713
- *
1714
- * @remarks
1715
- * This option allows you to customize the Babel transformation process used to inject environment variables into the source code. If not provided, the plugin will use default Babel settings.
1716
- */
1717
- babel?: BabelPluginOptions;
1718
- /**
1719
- * AutoMD configuration options to allow injecting environment variables documentation into a markdown file such as a README.md.
1720
- *
1721
- * @remarks
1722
- * The README.md file should contain the `<!-- automd:env --><!-- /automd -->` comment block where the documentation will be injected.
1723
- */
1724
- automd?: AutoMDPluginOptions;
1725
- };
1726
- type EnvPluginUserConfig = BabelPluginUserConfig & {
1727
- env: EnvPluginOptions;
1728
- };
1729
- type EnvPluginResolvedConfig = BabelPluginResolvedConfig & {
1730
- env: Required<Pick<DotenvConfiguration, "additionalFiles">> & Required<Pick<EnvPluginOptions, "defaultConfig">> & {
1731
- /**
1732
- * The type definition for the expected env variable parameters
1733
- *
1734
- * @remarks
1735
- * This value is parsed from the {@link EnvPluginOptions.types} option.
1736
- */
1737
- types: TypeDefinition;
1738
- /**
1739
- * The type definition for the expected env secret parameters
1740
- *
1741
- * @remarks
1742
- * This value is parsed from the {@link EnvPluginOptions.secrets} option.
1743
- */
1744
- secrets: TypeDefinition;
1745
- /**
1746
- * Should the plugin inject the env variables in the source code with their values?
1747
- *
1748
- * @remarks
1749
- * This value is the result of reflecting the {@link EnvPluginOptions.inject} option.
1750
- */
1751
- inject: EnvPluginOptions["inject"];
1752
- /**
1753
- * The prefix used for environment variables
1754
- *
1755
- * @remarks
1756
- * This value is used to filter environment variables that are loaded from the .env file and the process environment.
1757
- */
1758
- prefix: string[];
1759
- };
1760
- };
1761
- interface EnvPluginContext<TResolvedConfig extends EnvPluginResolvedConfig = EnvPluginResolvedConfig> extends BabelPluginContext<TResolvedConfig>, AlloyPluginContext<TResolvedConfig> {
1762
- env: {
1763
- /**
1764
- * The type definitions reflection for the env variables and secrets
1765
- *
1766
- * @remarks
1767
- * These reflections contains the structure of the expected environment variables and secrets as defined by the type definitions provided in the plugin configuration.
1768
- */
1769
- types: {
1770
- /**
1771
- * The type definitions for the expected env variables
1772
- */
1773
- env: Reflection;
1774
- /**
1775
- * The type definitions for the expected env secrets
1776
- */
1777
- secrets: Reflection;
1778
- };
1779
- /**
1780
- * The current **used** environment variables and secrets reflection
1781
- *
1782
- * @remarks
1783
- * This reflection contains the structure of the current environment variables and secrets as defined during the plugin initialization by extracting the values from the source code.
1784
- */
1785
- used: {
1786
- /**
1787
- * The current env variables reflection
1788
- */
1789
- env: Reflection<EnvInterface>;
1790
- /**
1791
- * The current env secrets reflection
1792
- */
1793
- secrets: Reflection<SecretsInterface>;
1794
- };
1795
- /**
1796
- * The parsed .env configuration object
1797
- *
1798
- * @remarks
1799
- * This value is the result of loading the .env configuration file found in the project root directory and merging it with the values provided at {@link EnvPluginOptions.values}
1800
- */
1801
- parsed: DotenvParseOutput;
1802
- /**
1803
- * The injected environment variables and secrets reflection
1804
- *
1805
- * @remarks
1806
- * This reflection contains the structure of the injected environment variables and secrets that were injected into the source code during the build process.
1807
- */
1808
- injected: Reflection;
1809
- };
1810
- }
1811
- //#endregion
1812
- //#region src/types/plugin.d.ts
1813
- type ReactCompilerOptions = Omit<PluginOptions, "logger">;
1814
- interface ReactPluginOptions {
1815
- /**
1816
- * Control where the JSX factory is imported from.
1817
- *
1818
- * @see https://esbuild.github.io/api/#jsx-import-source
1819
- *
1820
- * @defaultValue "react"
1821
- */
1822
- jsxImportSource?: string;
1823
- /**
1824
- * Control how JSX is transformed.
1825
- *
1826
- * @remarks
1827
- * Skipping React import with classic runtime is not supported from v4
1828
- *
1829
- * @defaultValue "automatic"
1830
- */
1831
- jsxRuntime?: "classic" | "automatic";
1832
- /**
1833
- * Options provided to the [React Compiler](https://npmjs.com/package/babel-plugin-react-compiler).
1834
- *
1835
- * @see https://github.com/facebook/react/blob/main/compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts#L55
1836
- * @see https://react.dev/blog/2025/04/21/react-compiler-rc
1837
- *
1838
- * @remarks
1839
- * Set to `false` to disable the React Compiler. By default, the React Compiler is enabled and target is set to React 19.
1840
- */
1841
- compiler?: ReactCompilerOptions | false;
1842
- /**
1843
- * React Fast Refresh runtime URL prefix.
1844
- *
1845
- * @remarks
1846
- * Useful in a module federation context to enable HMR by specifying the host application URL in the Vite config of a remote application.
1847
- *
1848
- * @example
1849
- * reactRefreshHost: 'http://localhost:3000'
1850
- */
1851
- reactRefreshHost?: string;
1852
- /**
1853
- * Options to pass to the [Babel plugin](https://npmjs.com/package/\@powerlines/plugin-babel).
1854
- */
1855
- babel?: Partial<BabelPluginOptions>;
1856
- /**
1857
- * Options to pass to the [Env plugin](https://npmjs.com/package/\@powerlines/plugin-env).
1858
- */
1859
- env?: Partial<Omit<EnvPluginOptions, "babel">>;
1860
- }
1861
- type ReactPluginUserConfig = EnvPluginUserConfig & {
1862
- /**
1863
- * Options for the React plugin.
1864
- */
1865
- react?: ReactPluginOptions;
1866
- };
1867
- type ReactPluginResolvedConfig = EnvPluginResolvedConfig & {
1868
- /**
1869
- * Options for the React plugin.
1870
- */
1871
- react: ReactPluginOptions;
1872
- };
1873
- interface ReactPluginContext<TResolvedConfig extends ReactPluginResolvedConfig = ReactPluginResolvedConfig> extends EnvPluginContext<TResolvedConfig> {}
1874
- declare type __ΩReactCompilerOptions = any[];
1875
- declare type __ΩReactPluginOptions = any[];
1876
- declare type __ΩReactPluginUserConfig = any[];
1877
- declare type __ΩReactPluginResolvedConfig = any[];
1878
- declare type __ΩReactPluginContext = any[];
1879
- //#endregion
1880
- export { ReactPluginUserConfig as a, __ΩReactPluginOptions as c, ReactPluginResolvedConfig as i, __ΩReactPluginResolvedConfig as l, ReactPluginContext as n, __ΩReactCompilerOptions as o, ReactPluginOptions as r, __ΩReactPluginContext as s, ReactCompilerOptions as t, __ΩReactPluginUserConfig as u };
1560
+ export { SerializedTypes };