@powerlines/plugin-env 0.14.6 → 0.14.8

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.
@@ -1 +1 @@
1
- require(`../create-reflection-resource-CdrQyUuT.cjs`);const e=require(`../docs-DWXbRrEK.cjs`);exports.EnvDocs=e.t;
1
+ require(`../create-reflection-resource-BEDScc6f.cjs`);const e=require(`../docs--ddXDQBx.cjs`);exports.EnvDocs=e.t;
@@ -1 +1 @@
1
- import"../create-reflection-resource-BtYlphp1.mjs";import{t as e}from"../docs-CMoOO30q.mjs";export{e as EnvDocs};
1
+ import"../create-reflection-resource-B9d8LEWF.mjs";import{t as e}from"../docs-DwPacakH.mjs";export{e as EnvDocs};
@@ -1 +1 @@
1
- require(`../create-reflection-resource-CdrQyUuT.cjs`);const e=require(`../env-mhFQyGk4.cjs`);exports.EnvBuiltin=e.t,exports.EnvTypeDefinition=e.n;
1
+ require(`../create-reflection-resource-BEDScc6f.cjs`);const e=require(`../env-k_8Sz-kF.cjs`);exports.EnvBuiltin=e.t,exports.EnvTypeDefinition=e.n;
@@ -1 +1 @@
1
- import"../create-reflection-resource-BtYlphp1.mjs";import{n as e,t}from"../env-Bwys2dqb.mjs";export{t as EnvBuiltin,e as EnvTypeDefinition};
1
+ import"../create-reflection-resource-B9d8LEWF.mjs";import{n as e,t}from"../env-CdR46Bis.mjs";export{t as EnvBuiltin,e as EnvTypeDefinition};
@@ -1 +1 @@
1
- require(`../create-reflection-resource-CdrQyUuT.cjs`);const e=require(`../env-mhFQyGk4.cjs`),t=require(`../docs-DWXbRrEK.cjs`);require(`../components-C9bYrQVK.cjs`),exports.EnvBuiltin=e.t,exports.EnvDocs=t.t,exports.EnvTypeDefinition=e.n;
1
+ require(`../create-reflection-resource-BEDScc6f.cjs`);const e=require(`../env-k_8Sz-kF.cjs`),t=require(`../docs--ddXDQBx.cjs`);require(`../components-C9bYrQVK.cjs`),exports.EnvBuiltin=e.t,exports.EnvDocs=t.t,exports.EnvTypeDefinition=e.n;
@@ -1 +1 @@
1
- import"../create-reflection-resource-BtYlphp1.mjs";import{n as e,t}from"../env-Bwys2dqb.mjs";import{t as n}from"../docs-CMoOO30q.mjs";import"../components-ByVHjWXF.mjs";export{t as EnvBuiltin,n as EnvDocs,e as EnvTypeDefinition};
1
+ import"../create-reflection-resource-B9d8LEWF.mjs";import{n as e,t}from"../env-CdR46Bis.mjs";import{t as n}from"../docs-DwPacakH.mjs";import"../components-ByVHjWXF.mjs";export{t as EnvBuiltin,n as EnvDocs,e as EnvTypeDefinition};
@@ -0,0 +1,17 @@
1
+ import{t as e}from"./chunk-D1UamjDs.mjs";import{toArray as t}from"@stryke/convert/to-array";import"@stryke/fs/is-file";import{listFiles as n}from"@stryke/fs/list-files";import{appendPath as r}from"@stryke/path/append";import{joinPaths as i}from"@stryke/path/join-paths";import{replacePath as a}from"@stryke/path/replace";import{loadConfig as ee}from"c12";import o from"defu";import{LogLevelLabel as te}from"@storm-software/config-tools/types";import{isParentPath as ne}from"@stryke/path/is-parent-path";import{isSetObject as re}from"@stryke/type-checks/is-set-object";import{isSetString as ie}from"@stryke/type-checks/is-set-string";import{kebabCase as ae}from"@stryke/string-format/kebab-case";import{titleCase as s}from"@stryke/string-format/title-case";import{isString as oe}from"@stryke/type-checks/is-string";import{parseTypeDefinition as se}from"@stryke/convert/parse-type-definition";import{ENV_PREFIXES as ce}from"@stryke/env/types";import{isInteger as le,isSetObject as ue,isString as de,isUndefined as fe}from"@stryke/type-checks";import*as c from"@stryke/capnp";import{getUniqueBy as pe}from"@stryke/helpers/get-unique";import{readFileBuffer as me,writeFileBuffer as he,writeFileBufferSync as ge}from"@stryke/fs/buffer";import{existsSync as _e}from"node:fs";import{resolvePackage as ve}from"@stryke/fs/resolve";import{isEmptyObject as ye}from"@stryke/type-checks/is-empty-object";import{build as be}from"esbuild";import{omit as xe}from"@stryke/helpers/omit";import{camelCase as l}from"@stryke/string-format/camel-case";import"@stryke/hash/murmurhash";import Se,{DiagnosticCategory as Ce}from"typescript";import{computed as we,createResource as Te}from"@alloy-js/core";import{loadEnv as Ee,loadEnvFile as De}from"@stryke/env/load-env";var u={};import*as Oe from"@deepkit/type";e(u,Oe);const d={PUBLIC:0,PROTECTED:1,PRIVATE:2};var f=class extends c.Struct{static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new c.ObjectSize(8,4)};_adoptAlias(e){c.utils.adopt(e,c.utils.getPointer(0,this))}_disownAlias(){return c.utils.disown(this.alias)}get alias(){return c.utils.getList(0,c.TextList,this)}_hasAlias(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initAlias(e){return c.utils.initList(0,c.TextList,e,this)}set alias(e){c.utils.copyFrom(e,c.utils.getPointer(0,this))}get title(){return c.utils.getText(1,this)}set title(e){c.utils.setText(1,e,this)}get hidden(){return c.utils.getBit(0,this)}set hidden(e){c.utils.setBit(0,e,this)}get readonly(){return c.utils.getBit(1,this)}set readonly(e){c.utils.setBit(1,e,this)}get ignore(){return c.utils.getBit(2,this)}set ignore(e){c.utils.setBit(2,e,this)}get internal(){return c.utils.getBit(3,this)}set internal(e){c.utils.setBit(3,e,this)}_adoptPermission(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownPermission(){return c.utils.disown(this.permission)}get permission(){return c.utils.getList(2,c.TextList,this)}_hasPermission(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initPermission(e){return c.utils.initList(2,c.TextList,e,this)}set permission(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}get domain(){return c.utils.getText(3,this)}set domain(e){c.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}};const p={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4};var ke=class extends c.Struct{static UNDEFINED=p.UNDEFINED;static BOOLEAN=p.BOOLEAN;static INTEGER=p.INTEGER;static FLOAT=p.FLOAT;static STRING=p.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new c.ObjectSize(16,1)};get _isUndefined(){return c.utils.getUint16(0,this)===0}set undefined(e){c.utils.setUint16(0,0,this)}get boolean(){return c.utils.testWhich(`boolean`,c.utils.getUint16(0,this),1,this),c.utils.getBit(16,this)}get _isBoolean(){return c.utils.getUint16(0,this)===1}set boolean(e){c.utils.setUint16(0,1,this),c.utils.setBit(16,e,this)}get integer(){return c.utils.testWhich(`integer`,c.utils.getUint16(0,this),2,this),c.utils.getInt32(4,this)}get _isInteger(){return c.utils.getUint16(0,this)===2}set integer(e){c.utils.setUint16(0,2,this),c.utils.setInt32(4,e,this)}get float(){return c.utils.testWhich(`float`,c.utils.getUint16(0,this),3,this),c.utils.getFloat64(8,this)}get _isFloat(){return c.utils.getUint16(0,this)===3}set float(e){c.utils.setUint16(0,3,this),c.utils.setFloat64(8,e,this)}get string(){return c.utils.testWhich(`string`,c.utils.getUint16(0,this),4,this),c.utils.getText(0,this)}get _isString(){return c.utils.getUint16(0,this)===4}set string(e){c.utils.setUint16(0,4,this),c.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return c.utils.getUint16(0,this)}},m=class extends c.Struct{static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new c.ObjectSize(16,1)};get value(){return c.utils.getAs(ke,this)}_initValue(){return c.utils.getAs(ke,this)}toString(){return`DefaultValueReflection_`+super.toString()}},h=class extends c.Struct{static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new c.ObjectSize(8,0)};get id(){return c.utils.getUint32(0,this)}set id(e){c.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},g=class extends c.Struct{static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new c.ObjectSize(0,2)};_adoptContainer(e){c.utils.adopt(e,c.utils.getPointer(0,this))}_disownContainer(){return c.utils.disown(this.container)}get container(){return c.utils.getStruct(0,h,this)}_hasContainer(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initContainer(){return c.utils.initStructAt(0,h,this)}set container(e){c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptIndex(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownIndex(){return c.utils.disown(this.index)}get index(){return c.utils.getStruct(1,h,this)}_hasIndex(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initIndex(){return c.utils.initStructAt(1,h,this)}set index(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},Ae=class extends c.Struct{static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new c.ObjectSize(0,2)};_adoptNames(e){c.utils.adopt(e,c.utils.getPointer(0,this))}_disownNames(){return c.utils.disown(this.names)}get names(){return c.utils.getList(0,c.TextList,this)}_hasNames(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initNames(e){return c.utils.initList(0,c.TextList,e,this)}set names(e){c.utils.copyFrom(e,c.utils.getPointer(0,this))}get options(){return c.utils.getText(1,this)}set options(e){c.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},je=class e extends c.Struct{static EntityIndexOptions=Ae;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new c.ObjectSize(8,5)};get name(){return c.utils.getText(0,this)}set name(e){c.utils.setText(0,e,this)}get description(){return c.utils.getText(1,this)}set description(e){c.utils.setText(1,e,this)}get collection(){return c.utils.getText(2,this)}set collection(e){c.utils.setText(2,e,this)}get database(){return c.utils.getText(3,this)}set database(e){c.utils.setText(3,e,this)}get singleTableInheritance(){return c.utils.getBit(0,this)}set singleTableInheritance(e){c.utils.setBit(0,e,this)}_adoptIndexes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownIndexes(){return c.utils.disown(this.indexes)}get indexes(){return c.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initIndexes(t){return c.utils.initList(4,e._Indexes,t,this)}set indexes(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},_=class e extends c.Struct{static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new c.ObjectSize(8,6)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(4,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTypes(t){return c.utils.initList(4,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(5,f,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initTags(){return c.utils.initStructAt(5,f,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},v=class e extends c.Struct{static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new c.ObjectSize(8,11)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get name(){return c.utils.getText(4,this)}set name(e){c.utils.setText(4,e,this)}get globalObject(){return c.utils.getBit(16,this)}set globalObject(e){c.utils.setBit(16,e,this)}get classType(){return c.utils.getText(5,this)}set classType(e){c.utils.setText(5,e,this)}_adoptExtendsArguments(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownExtendsArguments(){return c.utils.disown(this.extendsArguments)}get extendsArguments(){return c.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initExtendsArguments(t){return c.utils.initList(6,e._ExtendsArguments,t,this)}set extendsArguments(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptArguments(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownArguments(){return c.utils.disown(this.arguments)}get arguments(){return c.utils.getList(7,e._Arguments,this)}_hasArguments(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initArguments(t){return c.utils.initList(7,e._Arguments,t,this)}set arguments(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}_adoptSuperClass(e){c.utils.adopt(e,c.utils.getPointer(8,this))}_disownSuperClass(){return c.utils.disown(this.superClass)}get superClass(){return c.utils.getStruct(8,h,this)}_hasSuperClass(){return!c.utils.isNull(c.utils.getPointer(8,this))}_initSuperClass(){return c.utils.initStructAt(8,h,this)}set superClass(e){c.utils.copyFrom(e,c.utils.getPointer(8,this))}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(9,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(9,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(9,this))}_initTypes(t){return c.utils.initList(9,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(9,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(10,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(10,f,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(10,this))}_initTags(){return c.utils.initStructAt(10,f,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},y=class e extends c.Struct{static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new c.ObjectSize(8,8)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get name(){return c.utils.getText(4,this)}set name(e){c.utils.setText(4,e,this)}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(5,h,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initType(){return c.utils.initStructAt(5,h,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}get visibility(){return c.utils.getUint16(2,this)}set visibility(e){c.utils.setUint16(2,e,this)}get readonly(){return c.utils.getBit(32,this)}set readonly(e){c.utils.setBit(32,e,this)}get optional(){return c.utils.getBit(33,this)}set optional(e){c.utils.setBit(33,e,this)}_adoptDefault(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownDefault(){return c.utils.disown(this.default)}get default(){return c.utils.getStruct(6,m,this)}_hasDefault(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initDefault(){return c.utils.initStructAt(6,m,this)}set default(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(7,f,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initTags(){return c.utils.initStructAt(7,f,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},b=class e extends c.Struct{static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new c.ObjectSize(8,8)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get visibility(){return c.utils.getUint16(0,this)}set visibility(e){c.utils.setUint16(0,e,this)}get abstract(){return c.utils.getBit(16,this)}set abstract(e){c.utils.setBit(16,e,this)}get optional(){return c.utils.getBit(17,this)}set optional(e){c.utils.setBit(17,e,this)}get readonly(){return c.utils.getBit(18,this)}set readonly(e){c.utils.setBit(18,e,this)}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(4,f,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTags(){return c.utils.initStructAt(4,f,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}get kind(){return c.utils.getUint16(4,this)}set kind(e){c.utils.setUint16(4,e,this)}get name(){return c.utils.getText(5,this)}set name(e){c.utils.setText(5,e,this)}_adoptParameters(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownParameters(){return c.utils.disown(this.parameters)}get parameters(){return c.utils.getList(6,e._Parameters,this)}_hasParameters(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initParameters(t){return c.utils.initList(6,e._Parameters,t,this)}set parameters(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptReturn(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownReturn(){return c.utils.disown(this.return)}get return(){return c.utils.getStruct(7,h,this)}_hasReturn(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initReturn(){return c.utils.initStructAt(7,h,this)}set return(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},Me=class e extends c.Struct{static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new c.ObjectSize(8,9)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get visibility(){return c.utils.getUint16(0,this)}set visibility(e){c.utils.setUint16(0,e,this)}get abstract(){return c.utils.getBit(16,this)}set abstract(e){c.utils.setBit(16,e,this)}get optional(){return c.utils.getBit(17,this)}set optional(e){c.utils.setBit(17,e,this)}get readonly(){return c.utils.getBit(18,this)}set readonly(e){c.utils.setBit(18,e,this)}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(4,f,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTags(){return c.utils.initStructAt(4,f,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}get kind(){return c.utils.getUint16(4,this)}set kind(e){c.utils.setUint16(4,e,this)}get name(){return c.utils.getText(5,this)}set name(e){c.utils.setText(5,e,this)}get description(){return c.utils.getText(6,this)}set description(e){c.utils.setText(6,e,this)}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(7,h,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initType(){return c.utils.initStructAt(7,h,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}_adoptDefault(e){c.utils.adopt(e,c.utils.getPointer(8,this))}_disownDefault(){return c.utils.disown(this.default)}get default(){return c.utils.getStruct(8,m,this)}_hasDefault(){return!c.utils.isNull(c.utils.getPointer(8,this))}_initDefault(){return c.utils.initStructAt(8,m,this)}set default(e){c.utils.copyFrom(e,c.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},x=class e extends c.Struct{static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new c.ObjectSize(8,8)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get visibility(){return c.utils.getUint16(0,this)}set visibility(e){c.utils.setUint16(0,e,this)}get abstract(){return c.utils.getBit(16,this)}set abstract(e){c.utils.setBit(16,e,this)}get optional(){return c.utils.getBit(17,this)}set optional(e){c.utils.setBit(17,e,this)}get readonly(){return c.utils.getBit(18,this)}set readonly(e){c.utils.setBit(18,e,this)}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(4,f,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTags(){return c.utils.initStructAt(4,f,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}get kind(){return c.utils.getUint16(4,this)}set kind(e){c.utils.setUint16(4,e,this)}get name(){return c.utils.getText(5,this)}set name(e){c.utils.setText(5,e,this)}_adoptParameters(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownParameters(){return c.utils.disown(this.parameters)}get parameters(){return c.utils.getList(6,e._Parameters,this)}_hasParameters(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initParameters(t){return c.utils.initList(6,e._Parameters,t,this)}set parameters(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptReturn(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownReturn(){return c.utils.disown(this.return)}get return(){return c.utils.getStruct(7,h,this)}_hasReturn(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initReturn(){return c.utils.initStructAt(7,h,this)}set return(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},Ne=class e extends c.Struct{static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new c.ObjectSize(8,4)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get visibility(){return c.utils.getUint16(0,this)}set visibility(e){c.utils.setUint16(0,e,this)}get abstract(){return c.utils.getBit(16,this)}set abstract(e){c.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},Pe=class extends c.Struct{static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new c.ObjectSize(0,2)};get name(){return c.utils.getText(0,this)}set name(e){c.utils.setText(0,e,this)}get value(){return c.utils.getText(1,this)}set value(e){c.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},S=class e extends c.Struct{static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new c.ObjectSize(8,8)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptEnumEntries(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownEnumEntries(){return c.utils.disown(this.enumEntries)}get enumEntries(){return c.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initEnumEntries(t){return c.utils.initList(4,e._EnumEntries,t,this)}set enumEntries(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}_adoptValues(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownValues(){return c.utils.disown(this.values)}get values(){return c.utils.getList(5,c.TextList,this)}_hasValues(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initValues(e){return c.utils.initList(5,c.TextList,e,this)}set values(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}_adoptIndexType(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownIndexType(){return c.utils.disown(this.indexType)}get indexType(){return c.utils.getStruct(6,h,this)}_hasIndexType(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initIndexType(){return c.utils.initStructAt(6,h,this)}set indexType(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(7,f,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initTags(){return c.utils.initStructAt(7,f,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},C=class e extends c.Struct{static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new c.ObjectSize(8,5)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(4,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTypes(t){return c.utils.initList(4,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},w=class e extends c.Struct{static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new c.ObjectSize(8,5)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(4,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTypes(t){return c.utils.initList(4,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},Fe=class e extends c.Struct{static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new c.ObjectSize(8,6)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(4,h,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initType(){return c.utils.initStructAt(4,h,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(5,f,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initTags(){return c.utils.initStructAt(5,f,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},Ie=class e extends c.Struct{static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new c.ObjectSize(8,6)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptIndex(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownIndex(){return c.utils.disown(this.index)}get index(){return c.utils.getStruct(4,h,this)}_hasIndex(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initIndex(){return c.utils.initStructAt(4,h,this)}set index(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(5,h,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initType(){return c.utils.initStructAt(5,h,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},Le=class e extends c.Struct{static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new c.ObjectSize(8,9)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get name(){return c.utils.getText(4,this)}set name(e){c.utils.setText(4,e,this)}get optional(){return c.utils.getBit(16,this)}set optional(e){c.utils.setBit(16,e,this)}get readonly(){return c.utils.getBit(17,this)}set readonly(e){c.utils.setBit(17,e,this)}get description(){return c.utils.getText(5,this)}set description(e){c.utils.setText(5,e,this)}_adoptDefault(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownDefault(){return c.utils.disown(this.default)}get default(){return c.utils.getStruct(6,m,this)}_hasDefault(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initDefault(){return c.utils.initStructAt(6,m,this)}set default(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(7,h,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initType(){return c.utils.initStructAt(7,h,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(8,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(8,f,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(8,this))}_initTags(){return c.utils.initStructAt(8,f,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},Re=class e extends c.Struct{static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new c.ObjectSize(8,8)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get name(){return c.utils.getText(4,this)}set name(e){c.utils.setText(4,e,this)}get optional(){return c.utils.getBit(16,this)}set optional(e){c.utils.setBit(16,e,this)}_adoptParameters(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownParameters(){return c.utils.disown(this.parameters)}get parameters(){return c.utils.getList(5,e._Parameters,this)}_hasParameters(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initParameters(t){return c.utils.initList(5,e._Parameters,t,this)}set parameters(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}_adoptReturn(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownReturn(){return c.utils.disown(this.return)}get return(){return c.utils.getStruct(6,h,this)}_hasReturn(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initReturn(){return c.utils.initStructAt(6,h,this)}set return(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(7,f,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initTags(){return c.utils.initStructAt(7,f,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},ze=class e extends c.Struct{static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new c.ObjectSize(8,5)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get name(){return c.utils.getText(4,this)}set name(e){c.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},Be=class e extends c.Struct{static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new c.ObjectSize(8,4)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},Ve=class e extends c.Struct{static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new c.ObjectSize(8,6)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(4,h,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initType(){return c.utils.initStructAt(4,h,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}get optional(){return c.utils.getBit(16,this)}set optional(e){c.utils.setBit(16,e,this)}get name(){return c.utils.getText(5,this)}set name(e){c.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},He=class e extends c.Struct{static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new c.ObjectSize(8,5)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(4,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTypes(t){return c.utils.initList(4,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},Ue=class e extends c.Struct{static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new c.ObjectSize(8,5)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(4,h,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initType(){return c.utils.initStructAt(4,h,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},We=class e extends c.Struct{static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new c.ObjectSize(8,5)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptOrigin(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownOrigin(){return c.utils.disown(this.origin)}get origin(){return c.utils.getStruct(4,h,this)}_hasOrigin(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initOrigin(){return c.utils.initStructAt(4,h,this)}set origin(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},Ge=class extends c.Struct{static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new c.ObjectSize(0,2)};get type(){return c.utils.getText(0,this)}set type(e){c.utils.setText(0,e,this)}get name(){return c.utils.getText(1,this)}set name(e){c.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},Ke=class extends c.Struct{static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new c.ObjectSize(0,2)};get type(){return c.utils.getText(0,this)}set type(e){c.utils.setText(0,e,this)}get value(){return c.utils.getText(1,this)}set value(e){c.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},qe=class extends c.Struct{static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new c.ObjectSize(0,2)};get type(){return c.utils.getText(0,this)}set type(e){c.utils.setText(0,e,this)}get regex(){return c.utils.getText(1,this)}set regex(e){c.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}};const T={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5};var Je=class extends c.Struct{static SYMBOL=T.SYMBOL;static STRING=T.STRING;static NUMBER=T.NUMBER;static BOOLEAN=T.BOOLEAN;static BIGINT=T.BIGINT;static REGEX=T.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new c.ObjectSize(16,5)};_adoptSymbol(e){c.utils.setUint16(2,0,this),c.utils.adopt(e,c.utils.getPointer(4,this))}_disownSymbol(){return c.utils.disown(this.symbol)}get symbol(){return c.utils.testWhich(`symbol`,c.utils.getUint16(2,this),0,this),c.utils.getStruct(4,Ge,this)}_hasSymbol(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initSymbol(){return c.utils.setUint16(2,0,this),c.utils.initStructAt(4,Ge,this)}get _isSymbol(){return c.utils.getUint16(2,this)===0}set symbol(e){c.utils.setUint16(2,0,this),c.utils.copyFrom(e,c.utils.getPointer(4,this))}get string(){return c.utils.testWhich(`string`,c.utils.getUint16(2,this),1,this),c.utils.getText(4,this)}get _isString(){return c.utils.getUint16(2,this)===1}set string(e){c.utils.setUint16(2,1,this),c.utils.setText(4,e,this)}get number(){return c.utils.testWhich(`number`,c.utils.getUint16(2,this),2,this),c.utils.getFloat64(8,this)}get _isNumber(){return c.utils.getUint16(2,this)===2}set number(e){c.utils.setUint16(2,2,this),c.utils.setFloat64(8,e,this)}get boolean(){return c.utils.testWhich(`boolean`,c.utils.getUint16(2,this),3,this),c.utils.getBit(64,this)}get _isBoolean(){return c.utils.getUint16(2,this)===3}set boolean(e){c.utils.setUint16(2,3,this),c.utils.setBit(64,e,this)}_adoptBigint(e){c.utils.setUint16(2,4,this),c.utils.adopt(e,c.utils.getPointer(4,this))}_disownBigint(){return c.utils.disown(this.bigint)}get bigint(){return c.utils.testWhich(`bigint`,c.utils.getUint16(2,this),4,this),c.utils.getStruct(4,Ke,this)}_hasBigint(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initBigint(){return c.utils.setUint16(2,4,this),c.utils.initStructAt(4,Ke,this)}get _isBigint(){return c.utils.getUint16(2,this)===4}set bigint(e){c.utils.setUint16(2,4,this),c.utils.copyFrom(e,c.utils.getPointer(4,this))}_adoptRegex(e){c.utils.setUint16(2,5,this),c.utils.adopt(e,c.utils.getPointer(4,this))}_disownRegex(){return c.utils.disown(this.regex)}get regex(){return c.utils.testWhich(`regex`,c.utils.getUint16(2,this),5,this),c.utils.getStruct(4,qe,this)}_hasRegex(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initRegex(){return c.utils.setUint16(2,5,this),c.utils.initStructAt(4,qe,this)}get _isRegex(){return c.utils.getUint16(2,this)===5}set regex(e){c.utils.setUint16(2,5,this),c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return c.utils.getUint16(2,this)}},Ye=class e extends c.Struct{static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new c.ObjectSize(16,5)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get literal(){return c.utils.getAs(Je,this)}_initLiteral(){return c.utils.getAs(Je,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},E=class e extends c.Struct{static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new c.ObjectSize(8,5)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,g,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,g,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(4,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTypes(t){return c.utils.initList(4,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},Xe=class extends c.Struct{static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new c.ObjectSize(8,1)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}};const D={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 Ze=class extends c.Struct{static SIMPLE=D.SIMPLE;static LITERAL=D.LITERAL;static TEMPLATE_LITERAL=D.TEMPLATE_LITERAL;static PARAMETER=D.PARAMETER;static FUNCTION=D.FUNCTION;static METHOD=D.METHOD;static PROPERTY=D.PROPERTY;static PROMISE=D.PROMISE;static CLASS_TYPE=D.CLASS_TYPE;static ENUM=D.ENUM;static UNION=D.UNION;static INTERSECTION=D.INTERSECTION;static ARRAY=D.ARRAY;static OBJECT_LITERAL=D.OBJECT_LITERAL;static INDEX_SIGNATURE=D.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=D.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=D.METHOD_SIGNATURE;static TYPE_PARAMETER=D.TYPE_PARAMETER;static INFER=D.INFER;static TUPLE=D.TUPLE;static TUPLE_MEMBER=D.TUPLE_MEMBER;static REST=D.REST;static OTHER=D.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new c.ObjectSize(8,1)};_adoptSimple(e){c.utils.setUint16(0,0,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownSimple(){return c.utils.disown(this.simple)}get simple(){return c.utils.testWhich(`simple`,c.utils.getUint16(0,this),0,this),c.utils.getStruct(0,We,this)}_hasSimple(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initSimple(){return c.utils.setUint16(0,0,this),c.utils.initStructAt(0,We,this)}get _isSimple(){return c.utils.getUint16(0,this)===0}set simple(e){c.utils.setUint16(0,0,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptLiteral(e){c.utils.setUint16(0,1,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownLiteral(){return c.utils.disown(this.literal)}get literal(){return c.utils.testWhich(`literal`,c.utils.getUint16(0,this),1,this),c.utils.getStruct(0,Ye,this)}_hasLiteral(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initLiteral(){return c.utils.setUint16(0,1,this),c.utils.initStructAt(0,Ye,this)}get _isLiteral(){return c.utils.getUint16(0,this)===1}set literal(e){c.utils.setUint16(0,1,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptTemplateLiteral(e){c.utils.setUint16(0,2,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownTemplateLiteral(){return c.utils.disown(this.templateLiteral)}get templateLiteral(){return c.utils.testWhich(`templateLiteral`,c.utils.getUint16(0,this),2,this),c.utils.getStruct(0,E,this)}_hasTemplateLiteral(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initTemplateLiteral(){return c.utils.setUint16(0,2,this),c.utils.initStructAt(0,E,this)}get _isTemplateLiteral(){return c.utils.getUint16(0,this)===2}set templateLiteral(e){c.utils.setUint16(0,2,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptParameter(e){c.utils.setUint16(0,3,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownParameter(){return c.utils.disown(this.parameter)}get parameter(){return c.utils.testWhich(`parameter`,c.utils.getUint16(0,this),3,this),c.utils.getStruct(0,y,this)}_hasParameter(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initParameter(){return c.utils.setUint16(0,3,this),c.utils.initStructAt(0,y,this)}get _isParameter(){return c.utils.getUint16(0,this)===3}set parameter(e){c.utils.setUint16(0,3,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptFunction(e){c.utils.setUint16(0,4,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownFunction(){return c.utils.disown(this.function)}get function(){return c.utils.testWhich(`function`,c.utils.getUint16(0,this),4,this),c.utils.getStruct(0,x,this)}_hasFunction(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initFunction(){return c.utils.setUint16(0,4,this),c.utils.initStructAt(0,x,this)}get _isFunction(){return c.utils.getUint16(0,this)===4}set function(e){c.utils.setUint16(0,4,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptMethod(e){c.utils.setUint16(0,5,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownMethod(){return c.utils.disown(this.method)}get method(){return c.utils.testWhich(`method`,c.utils.getUint16(0,this),5,this),c.utils.getStruct(0,b,this)}_hasMethod(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initMethod(){return c.utils.setUint16(0,5,this),c.utils.initStructAt(0,b,this)}get _isMethod(){return c.utils.getUint16(0,this)===5}set method(e){c.utils.setUint16(0,5,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptProperty(e){c.utils.setUint16(0,6,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownProperty(){return c.utils.disown(this.property)}get property(){return c.utils.testWhich(`property`,c.utils.getUint16(0,this),6,this),c.utils.getStruct(0,Me,this)}_hasProperty(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initProperty(){return c.utils.setUint16(0,6,this),c.utils.initStructAt(0,Me,this)}get _isProperty(){return c.utils.getUint16(0,this)===6}set property(e){c.utils.setUint16(0,6,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptPromise(e){c.utils.setUint16(0,7,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownPromise(){return c.utils.disown(this.promise)}get promise(){return c.utils.testWhich(`promise`,c.utils.getUint16(0,this),7,this),c.utils.getStruct(0,Ne,this)}_hasPromise(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initPromise(){return c.utils.setUint16(0,7,this),c.utils.initStructAt(0,Ne,this)}get _isPromise(){return c.utils.getUint16(0,this)===7}set promise(e){c.utils.setUint16(0,7,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptClassType(e){c.utils.setUint16(0,8,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownClassType(){return c.utils.disown(this.classType)}get classType(){return c.utils.testWhich(`classType`,c.utils.getUint16(0,this),8,this),c.utils.getStruct(0,v,this)}_hasClassType(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initClassType(){return c.utils.setUint16(0,8,this),c.utils.initStructAt(0,v,this)}get _isClassType(){return c.utils.getUint16(0,this)===8}set classType(e){c.utils.setUint16(0,8,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptEnum(e){c.utils.setUint16(0,9,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownEnum(){return c.utils.disown(this.enum)}get enum(){return c.utils.testWhich(`enum`,c.utils.getUint16(0,this),9,this),c.utils.getStruct(0,S,this)}_hasEnum(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initEnum(){return c.utils.setUint16(0,9,this),c.utils.initStructAt(0,S,this)}get _isEnum(){return c.utils.getUint16(0,this)===9}set enum(e){c.utils.setUint16(0,9,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptUnion(e){c.utils.setUint16(0,10,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownUnion(){return c.utils.disown(this.union)}get union(){return c.utils.testWhich(`union`,c.utils.getUint16(0,this),10,this),c.utils.getStruct(0,C,this)}_hasUnion(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initUnion(){return c.utils.setUint16(0,10,this),c.utils.initStructAt(0,C,this)}get _isUnion(){return c.utils.getUint16(0,this)===10}set union(e){c.utils.setUint16(0,10,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptIntersection(e){c.utils.setUint16(0,11,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownIntersection(){return c.utils.disown(this.intersection)}get intersection(){return c.utils.testWhich(`intersection`,c.utils.getUint16(0,this),11,this),c.utils.getStruct(0,w,this)}_hasIntersection(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initIntersection(){return c.utils.setUint16(0,11,this),c.utils.initStructAt(0,w,this)}get _isIntersection(){return c.utils.getUint16(0,this)===11}set intersection(e){c.utils.setUint16(0,11,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptArray(e){c.utils.setUint16(0,12,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownArray(){return c.utils.disown(this.array)}get array(){return c.utils.testWhich(`array`,c.utils.getUint16(0,this),12,this),c.utils.getStruct(0,Fe,this)}_hasArray(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initArray(){return c.utils.setUint16(0,12,this),c.utils.initStructAt(0,Fe,this)}get _isArray(){return c.utils.getUint16(0,this)===12}set array(e){c.utils.setUint16(0,12,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptObjectLiteral(e){c.utils.setUint16(0,13,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownObjectLiteral(){return c.utils.disown(this.objectLiteral)}get objectLiteral(){return c.utils.testWhich(`objectLiteral`,c.utils.getUint16(0,this),13,this),c.utils.getStruct(0,_,this)}_hasObjectLiteral(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initObjectLiteral(){return c.utils.setUint16(0,13,this),c.utils.initStructAt(0,_,this)}get _isObjectLiteral(){return c.utils.getUint16(0,this)===13}set objectLiteral(e){c.utils.setUint16(0,13,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptIndexSignature(e){c.utils.setUint16(0,14,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownIndexSignature(){return c.utils.disown(this.indexSignature)}get indexSignature(){return c.utils.testWhich(`indexSignature`,c.utils.getUint16(0,this),14,this),c.utils.getStruct(0,Ie,this)}_hasIndexSignature(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initIndexSignature(){return c.utils.setUint16(0,14,this),c.utils.initStructAt(0,Ie,this)}get _isIndexSignature(){return c.utils.getUint16(0,this)===14}set indexSignature(e){c.utils.setUint16(0,14,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptPropertySignature(e){c.utils.setUint16(0,15,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownPropertySignature(){return c.utils.disown(this.propertySignature)}get propertySignature(){return c.utils.testWhich(`propertySignature`,c.utils.getUint16(0,this),15,this),c.utils.getStruct(0,Le,this)}_hasPropertySignature(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initPropertySignature(){return c.utils.setUint16(0,15,this),c.utils.initStructAt(0,Le,this)}get _isPropertySignature(){return c.utils.getUint16(0,this)===15}set propertySignature(e){c.utils.setUint16(0,15,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptMethodSignature(e){c.utils.setUint16(0,16,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownMethodSignature(){return c.utils.disown(this.methodSignature)}get methodSignature(){return c.utils.testWhich(`methodSignature`,c.utils.getUint16(0,this),16,this),c.utils.getStruct(0,Re,this)}_hasMethodSignature(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initMethodSignature(){return c.utils.setUint16(0,16,this),c.utils.initStructAt(0,Re,this)}get _isMethodSignature(){return c.utils.getUint16(0,this)===16}set methodSignature(e){c.utils.setUint16(0,16,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptTypeParameter(e){c.utils.setUint16(0,17,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownTypeParameter(){return c.utils.disown(this.typeParameter)}get typeParameter(){return c.utils.testWhich(`typeParameter`,c.utils.getUint16(0,this),17,this),c.utils.getStruct(0,ze,this)}_hasTypeParameter(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initTypeParameter(){return c.utils.setUint16(0,17,this),c.utils.initStructAt(0,ze,this)}get _isTypeParameter(){return c.utils.getUint16(0,this)===17}set typeParameter(e){c.utils.setUint16(0,17,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptInfer(e){c.utils.setUint16(0,18,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownInfer(){return c.utils.disown(this.infer)}get infer(){return c.utils.testWhich(`infer`,c.utils.getUint16(0,this),18,this),c.utils.getStruct(0,Be,this)}_hasInfer(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initInfer(){return c.utils.setUint16(0,18,this),c.utils.initStructAt(0,Be,this)}get _isInfer(){return c.utils.getUint16(0,this)===18}set infer(e){c.utils.setUint16(0,18,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptTuple(e){c.utils.setUint16(0,19,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownTuple(){return c.utils.disown(this.tuple)}get tuple(){return c.utils.testWhich(`tuple`,c.utils.getUint16(0,this),19,this),c.utils.getStruct(0,He,this)}_hasTuple(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initTuple(){return c.utils.setUint16(0,19,this),c.utils.initStructAt(0,He,this)}get _isTuple(){return c.utils.getUint16(0,this)===19}set tuple(e){c.utils.setUint16(0,19,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptTupleMember(e){c.utils.setUint16(0,20,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownTupleMember(){return c.utils.disown(this.tupleMember)}get tupleMember(){return c.utils.testWhich(`tupleMember`,c.utils.getUint16(0,this),20,this),c.utils.getStruct(0,Ve,this)}_hasTupleMember(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initTupleMember(){return c.utils.setUint16(0,20,this),c.utils.initStructAt(0,Ve,this)}get _isTupleMember(){return c.utils.getUint16(0,this)===20}set tupleMember(e){c.utils.setUint16(0,20,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptRest(e){c.utils.setUint16(0,21,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownRest(){return c.utils.disown(this.rest)}get rest(){return c.utils.testWhich(`rest`,c.utils.getUint16(0,this),21,this),c.utils.getStruct(0,Ue,this)}_hasRest(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initRest(){return c.utils.setUint16(0,21,this),c.utils.initStructAt(0,Ue,this)}get _isRest(){return c.utils.getUint16(0,this)===21}set rest(e){c.utils.setUint16(0,21,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptOther(e){c.utils.setUint16(0,22,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownOther(){return c.utils.disown(this.other)}get other(){return c.utils.testWhich(`other`,c.utils.getUint16(0,this),22,this),c.utils.getStruct(0,Xe,this)}_hasOther(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initOther(){return c.utils.setUint16(0,22,this),c.utils.initStructAt(0,Xe,this)}get _isOther(){return c.utils.getUint16(0,this)===22}set other(e){c.utils.setUint16(0,22,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return c.utils.getUint16(0,this)}},Qe=class extends c.Struct{static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new c.ObjectSize(8,1)};get type(){return c.utils.getAs(Ze,this)}_initType(){return c.utils.getAs(Ze,this)}toString(){return`SerializedType_`+super.toString()}},$e=class e extends c.Struct{static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new c.ObjectSize(0,1)};_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(0,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(0,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initTypes(t){return c.utils.initList(0,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};je._Indexes=c.CompositeList(Ae),_._TypeArguments=c.CompositeList(h),_._Decorators=c.CompositeList(h),_._Types=c.CompositeList(h),v._TypeArguments=c.CompositeList(h),v._Decorators=c.CompositeList(h),v._ExtendsArguments=c.CompositeList(h),v._Arguments=c.CompositeList(h),v._Types=c.CompositeList(h),y._TypeArguments=c.CompositeList(h),y._Decorators=c.CompositeList(h),b._TypeArguments=c.CompositeList(h),b._Decorators=c.CompositeList(h),b._Parameters=c.CompositeList(y),Me._TypeArguments=c.CompositeList(h),Me._Decorators=c.CompositeList(h),x._TypeArguments=c.CompositeList(h),x._Decorators=c.CompositeList(h),x._Parameters=c.CompositeList(y),Ne._TypeArguments=c.CompositeList(h),Ne._Decorators=c.CompositeList(h),S._TypeArguments=c.CompositeList(h),S._Decorators=c.CompositeList(h),S._EnumEntries=c.CompositeList(Pe),C._TypeArguments=c.CompositeList(h),C._Decorators=c.CompositeList(h),C._Types=c.CompositeList(h),w._TypeArguments=c.CompositeList(h),w._Decorators=c.CompositeList(h),w._Types=c.CompositeList(h),Fe._TypeArguments=c.CompositeList(h),Fe._Decorators=c.CompositeList(h),Ie._TypeArguments=c.CompositeList(h),Ie._Decorators=c.CompositeList(h),Le._TypeArguments=c.CompositeList(h),Le._Decorators=c.CompositeList(h),Re._TypeArguments=c.CompositeList(h),Re._Decorators=c.CompositeList(h),Re._Parameters=c.CompositeList(y),ze._TypeArguments=c.CompositeList(h),ze._Decorators=c.CompositeList(h),Be._TypeArguments=c.CompositeList(h),Be._Decorators=c.CompositeList(h),Ve._TypeArguments=c.CompositeList(h),Ve._Decorators=c.CompositeList(h),He._TypeArguments=c.CompositeList(h),He._Decorators=c.CompositeList(h),He._Types=c.CompositeList(Ve),Ue._TypeArguments=c.CompositeList(h),Ue._Decorators=c.CompositeList(h),We._TypeArguments=c.CompositeList(h),We._Decorators=c.CompositeList(h),Ye._TypeArguments=c.CompositeList(h),Ye._Decorators=c.CompositeList(h),E._TypeArguments=c.CompositeList(h),E._Decorators=c.CompositeList(h),E._Types=c.CompositeList(h),$e._Types=c.CompositeList(Qe);function et(e,t){if(!e||!Array.isArray(e)||e.length===0)throw Error(`Invalid serialized type provided for conversion.`);if(e.length!==t.length)throw Error(`Mismatch in length of serialized types: expected ${t.length}, got ${e.length}.`);return e.filter(e=>ue(e)&&!fe(e.kind)).forEach((e,n)=>{nt(e,t.get(n)._initType())}),t}function tt(e){if(!e)throw Error(`Invalid serialized type provided for conversion.`);let t=[];return e.forEach(e=>{let n=rt(e.type);t.push(n)}),t}function O(e,t){if(t?.alias?.length){let n=e._initAlias(t.alias.length);t.alias.forEach((e,t)=>{n.set(t,e)})}if(e.hidden=t?.hidden??!1,e.ignore=t?.ignore??!1,e.internal=t?.internal??!1,e.readonly=t?.readonly??!1,t?.title&&(e.title=t?.title),t?.domain&&(e.domain=t?.domain),t?.permission?.length){let n=e._initPermission(t.permission.length);t.permission?.forEach((e,t)=>{n.set(t,e)})}return e}function k(e){return e._hasTags()?{alias:e.tags?.alias?.length?e.tags?.alias.map(e=>e):void 0,hidden:e.tags?.hidden,domain:e.tags?.domain?e.tags.domain:void 0,title:e.tags?.title?e.tags.title:void 0,ignore:e.tags?.ignore,internal:e.tags?.internal,readonly:e.tags?.readonly,permission:e.tags?.permission?.length?e.tags?.permission?.map(e=>e):void 0}:void 0}function A(e,t){let n=e._initIndex();n.id=t?.index??0;let r=e._initContainer();return r.id=t?.container??0,e}function j(e){return e._hasIndexAccessOrigin()?{container:Number(e.indexAccessOrigin?.container.id),index:Number(e.indexAccessOrigin?.index.id)}:void 0}function nt(e,t){return e.kind===u.ReflectionKind.objectLiteral?Rt(e,t._initObjectLiteral()):e.kind===u.ReflectionKind.class?It(e,t._initClassType()):e.kind===u.ReflectionKind.parameter?Bt(e,t._initParameter()):e.kind===u.ReflectionKind.function?Mt(e,t._initFunction()):e.kind===u.ReflectionKind.method?Nt(e,t._initMethod()):e.kind===u.ReflectionKind.infer?At(e,t._initInfer()):e.kind===u.ReflectionKind.union?Ot(e,t._initUnion()):e.kind===u.ReflectionKind.array?Et(e,t._initArray()):e.kind===u.ReflectionKind.intersection?wt(e,t._initIntersection()):e.kind===u.ReflectionKind.enum?St(e,t._initEnum()):e.kind===u.ReflectionKind.property?bt(e,t._initProperty()):e.kind===u.ReflectionKind.tuple?vt(e,t._initTuple()):e.kind===u.ReflectionKind.tupleMember?gt(e,t._initTupleMember()):e.kind===u.ReflectionKind.propertySignature?ht(e,t._initPropertySignature()):e.kind===u.ReflectionKind.methodSignature?dt(e,t._initMethodSignature()):e.kind===u.ReflectionKind.literal?lt(e,t._initLiteral()):e.kind===u.ReflectionKind.never||e.kind===u.ReflectionKind.any||e.kind===u.ReflectionKind.unknown||e.kind===u.ReflectionKind.void||e.kind===u.ReflectionKind.object||e.kind===u.ReflectionKind.string||e.kind===u.ReflectionKind.number||e.kind===u.ReflectionKind.boolean||e.kind===u.ReflectionKind.symbol||e.kind===u.ReflectionKind.bigint||e.kind===u.ReflectionKind.null||e.kind===u.ReflectionKind.undefined||e.kind===u.ReflectionKind.regexp?st(e,t._initSimple()):ot(e,t._initOther()),t}function rt(e){if(e._isObjectLiteral)return zt(e.objectLiteral);if(e._isClassType)return Lt(e.classType);if(e._isParameter)return Vt(e.parameter);if(e._isFunction)return Pt(e.function);if(e._isInfer)return jt(e.infer);if(e._isMethod)return Ft(e.method);if(e._isUnion)return kt(e.union);if(e._isArray)return Dt(e.array);if(e._isIntersection)return Tt(e.intersection);if(e._isEnum)return Ct(e.enum);if(e._isProperty)return xt(e.property);if(e._isTuple)return yt(e.tuple);if(e._isTupleMember)return _t(e.tupleMember);if(e._isPropertySignature)return ft(e.propertySignature);if(e._isMethodSignature)return ut(e.methodSignature);if(e._isLiteral)return ct(e.literal);if(e._isSimple)return at(e.simple);if(e._isOther)return it(e.other);throw Error(`Unsupported serialized type kind: ${e.toString()}`)}function it(e){return{kind:e.kind,typeName:e.typeName||void 0}}function at(e){let t={kind:e.kind,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e)};return e._hasOrigin()&&(t.origin=Number(e.origin.id)),t}function ot(e,t){return t.kind=e.kind,t.typeName=e.typeName||``,t}function st(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,e.origin&&(t._initOrigin(),t.origin.id=e.origin??0),e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function ct(e){return{kind:u.ReflectionKind.literal,literal:e.literal._isString?e.literal.string:e.literal._isNumber?e.literal.number:e.literal._isBoolean?e.literal.boolean:e.literal._isBigint?{type:`bigint`,value:e.literal.bigint.value}:e.literal._isSymbol?{type:`symbol`,name:e.literal.symbol.name}:{type:`regex`,regex:e.literal.regex.regex},typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e)}}function lt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initLiteral();if(typeof e.literal==`boolean`)n.boolean=e.literal;else if(typeof e.literal==`number`)n.number=e.literal;else if(typeof e.literal==`string`)n.string=e.literal;else if(e.literal.type===`bigint`){let t=n._initBigint();t.type=`bigint`,t.value=e.literal.value}else if(e.literal.type===`symbol`){let t=n._initSymbol();t.type=`symbol`,t.name=e.literal.name.toString().slice(7,-1)}else if(e.literal.type===`regex`){let t=n._initRegex();t.type=`regex`,t.regex=e.literal.regex}if(e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function ut(e){return{kind:u.ReflectionKind.methodSignature,name:e.name,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,parameters:e._hasParameters()?e.parameters.map(e=>Vt(e)):[],return:e.return.id,tags:k(e)}}function dt(e,t){if(t.kind=e.kind,t.name=String(e.name),t.typeName=e.typeName||``,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&O(t._initTags(),e.tags),t}function ft(e){return{kind:u.ReflectionKind.propertySignature,name:e.name,typeName:e.typeName||void 0,description:e.description,default:mt(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e),tags:k(e)}}function pt(e,t){e!==void 0&&e!==``&&(t._initValue(),typeof e==`string`?t.value.string=e:typeof e==`number`?le(e)?t.value.integer=e:t.value.float=e:typeof e==`boolean`&&(t.value.boolean=e))}function mt(e){if(e.value!==void 0){if(e.value._isBoolean)return e.value.boolean;if(e.value._isInteger)return e.value.integer;if(e.value._isFloat)return e.value.float;if(e.value._isString)return e.value.string}}function ht(e,t){if(t.kind=e.kind,t.name=String(e.name)||``,t.typeName=e.typeName||``,t.description=e.description||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,e.default!==void 0){let n=t._initDefault();pt(e.default,n)}let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&O(t._initTags(),e.tags),t}function gt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function _t(e){return{kind:u.ReflectionKind.tupleMember,type:e.type.id,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e)}}function vt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types.length);if(e.types.forEach((e,t)=>{gt(e,n.get(t))}),e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function yt(e){return{kind:u.ReflectionKind.tuple,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>_t(e)):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e)}}function bt(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.description=e.description||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,t.visibility=e.visibility===u.ReflectionVisibility.public?d.PUBLIC:e.visibility===u.ReflectionVisibility.protected?d.PROTECTED:d.PRIVATE,t.abstract=e.abstract??!1,t.name=String(e.name)||``,e.default!==void 0){let n=t._initDefault();pt(e.default,n)}let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&O(t._initTags(),e.tags),t}function xt(e){return{kind:u.ReflectionKind.property,typeName:e.typeName||void 0,description:e.description,default:mt(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,visibility:e.visibility===d.PUBLIC?u.ReflectionVisibility.public:e.visibility===d.PROTECTED?u.ReflectionVisibility.protected:u.ReflectionVisibility.private,abstract:e.abstract?!0:void 0,name:e.name,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e),tags:k(e)}}function St(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initIndexType();if(n.id=e.indexType,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.values?.length){let n=t._initValues(e.values?.length);e.values.forEach((e,t)=>{n.set(t,String(e))})}let r=t._initEnumEntries(Object.keys(e.enum).length??0);return Object.entries(e.enum).forEach(([e,t],n)=>{let i=r.get(n);i.name=e,i.value=String(t)}),e.tags&&O(t._initTags(),e.tags),t}function Ct(e){return{kind:u.ReflectionKind.enum,typeName:e.typeName||void 0,indexType:e.indexType.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,values:e._hasValues()?e.values.map(e=>e):[],enum:e._hasEnumEntries()?Object.entries(e.enumEntries).reduce((e,[t,n])=>(e[t]=n.value,e),{}):{},indexAccessOrigin:j(e),tags:k(e)}}function wt(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types?.length??0);if(e.types?.forEach((e,t)=>{let r=n.get(t);r.id=e}),e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function Tt(e){return{kind:u.ReflectionKind.intersection,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e)}}function Et(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&O(t._initTags(),e.tags),t}function Dt(e){return{kind:u.ReflectionKind.array,typeName:e.typeName||void 0,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e),tags:k(e)}}function Ot(e,t){t.kind=e.kind,t.typeName=e.typeName||``;let n=t._initTypes(e.types?.length??0);if(e.types?.forEach((e,t)=>{let r=n.get(t);r.id=e}),e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function kt(e){return{kind:u.ReflectionKind.union,typeName:e.typeName||void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e)}}function At(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators?.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments?.length??0);e.typeArguments?.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),t}function jt(e){return{kind:u.ReflectionKind.infer,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e)}}function Mt(e,t){if(t.name=String(e.name)||``,t.kind=e.kind,t.typeName=e.typeName||``,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.parameters?.length){let n=t._initParameters(e.parameters.length);e.parameters.forEach((e,t)=>{Bt(e,n.get(t))})}let n=t._initReturn();return n.id=e.return,e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&O(t._initTags(),e.tags),t}function Nt(e,t){if(t.name=String(e.name)||``,t.kind=e.kind,t.typeName=e.typeName||``,t.abstract=e.abstract??!1,t.visibility=e.visibility===u.ReflectionVisibility.public?d.PUBLIC:e.visibility===u.ReflectionVisibility.protected?d.PROTECTED:d.PRIVATE,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.parameters?.length){let n=t._initParameters(e.parameters.length);e.parameters.forEach((e,t)=>{Bt(e,n.get(t))})}let n=t._initReturn();return n.id=e.return,e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&O(t._initTags(),e.tags),t}function Pt(e){return{kind:u.ReflectionKind.function,name:e.name,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,parameters:e._hasParameters()?e.parameters.map(e=>Vt(e)):[],return:e.return.id,indexAccessOrigin:j(e),tags:k(e)}}function Ft(e){return{kind:u.ReflectionKind.method,name:e.name,typeName:e.typeName||void 0,abstract:e.abstract?!0:void 0,return:e.return.id,visibility:e.visibility===d.PUBLIC?u.ReflectionVisibility.public:e.visibility===d.PROTECTED?u.ReflectionVisibility.protected:u.ReflectionVisibility.private,parameters:e._hasParameters()?e.parameters.map(e=>Vt(e)):[]}}function It(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.classType=e.classType||``,t.globalObject=e.globalObject??!1,e.arguments?.length){let n=t._initArguments(e.arguments.length);e.arguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.extendsArguments?.length){let n=t._initArguments(e.extendsArguments.length);e.extendsArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.superClass){let n=t._initSuperClass();n.id=e.superClass}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&O(t._initTags(),e.tags),t}function Lt(e){return{kind:u.ReflectionKind.class,typeName:e.typeName||void 0,classType:e.classType,globalObject:e.globalObject?!0:void 0,arguments:e._hasArguments()?e.arguments.map(e=>e.id):void 0,extendsArguments:e._hasExtendsArguments()?e.extendsArguments.map(e=>e.id):void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,superClass:e._hasSuperClass()?e.superClass.id:void 0,indexAccessOrigin:j(e),tags:k(e)}}function Rt(e,t){if(e.decorators?.length){let n=t._initDecorators(e.decorators?.length??0);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.types?.length){let n=t._initTypes(e.types.length);e.types.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&O(t._initTags(),e.tags),t}function zt(e){return{kind:u.ReflectionKind.objectLiteral,typeName:e.typeName||void 0,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,types:e._hasTypes()?e.types.map(e=>e.id):[],typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e),tags:k(e)}}function Bt(e,t){if(t.kind=e.kind,t.typeName=e.typeName||``,t.name=e.name||``,t.optional=e.optional??!1,t.readonly=e.readonly??!1,t.visibility=e.visibility===u.ReflectionVisibility.public?d.PUBLIC:e.visibility===u.ReflectionVisibility.protected?d.PROTECTED:d.PRIVATE,e.default!==void 0){let n=t._initDefault();pt(e.default,n)}let n=t._initType();if(n.id=e.type,e.decorators?.length){let n=t._initDecorators(e.decorators.length);e.decorators.forEach((e,t)=>{let r=n.get(t);r.id=e})}if(e.typeArguments?.length){let n=t._initTypeArguments(e.typeArguments.length);e.typeArguments.forEach((e,t)=>{let r=n.get(t);r.id=e})}return e.indexAccessOrigin&&A(t._initIndexAccessOrigin(),e.indexAccessOrigin),e.tags&&O(t._initTags(),e.tags),t}function Vt(e){return{kind:u.ReflectionKind.parameter,typeName:e.typeName||void 0,name:e.name,default:mt(e.default),optional:e.optional?!0:void 0,readonly:e.readonly?!0:void 0,visibility:e.visibility===d.PUBLIC?u.ReflectionVisibility.public:e.visibility===d.PROTECTED?u.ReflectionVisibility.protected:u.ReflectionVisibility.private,type:e.type.id,decorators:e._hasDecorators()?e.decorators.map(e=>e.id):void 0,typeArguments:e._hasTypeArguments()?e.typeArguments.map(e=>e.id):void 0,indexAccessOrigin:j(e),tags:k(e)}}var Ht=Object.defineProperty,M=(e,t)=>Ht(e,`name`,{value:t,configurable:!0}),N=class extends c.Struct{static{M(this,`TagsReflection`)}static _capnp={displayName:`TagsReflection`,id:`ab7e31d6b834bbf8`,size:new c.ObjectSize(8,4)};_adoptAlias(e){c.utils.adopt(e,c.utils.getPointer(0,this))}_disownAlias(){return c.utils.disown(this.alias)}get alias(){return c.utils.getList(0,c.TextList,this)}_hasAlias(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initAlias(e){return c.utils.initList(0,c.TextList,e,this)}set alias(e){c.utils.copyFrom(e,c.utils.getPointer(0,this))}get title(){return c.utils.getText(1,this)}set title(e){c.utils.setText(1,e,this)}get hidden(){return c.utils.getBit(0,this)}set hidden(e){c.utils.setBit(0,e,this)}get readonly(){return c.utils.getBit(1,this)}set readonly(e){c.utils.setBit(1,e,this)}get ignore(){return c.utils.getBit(2,this)}set ignore(e){c.utils.setBit(2,e,this)}get internal(){return c.utils.getBit(3,this)}set internal(e){c.utils.setBit(3,e,this)}_adoptPermission(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownPermission(){return c.utils.disown(this.permission)}get permission(){return c.utils.getList(2,c.TextList,this)}_hasPermission(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initPermission(e){return c.utils.initList(2,c.TextList,e,this)}set permission(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}get domain(){return c.utils.getText(3,this)}set domain(e){c.utils.setText(3,e,this)}toString(){return`TagsReflection_`+super.toString()}},P={UNDEFINED:0,BOOLEAN:1,INTEGER:2,FLOAT:3,STRING:4},Ut=class extends c.Struct{static{M(this,`DefaultValueReflection_Value`)}static UNDEFINED=P.UNDEFINED;static BOOLEAN=P.BOOLEAN;static INTEGER=P.INTEGER;static FLOAT=P.FLOAT;static STRING=P.STRING;static _capnp={displayName:`value`,id:`8748135e0497fe81`,size:new c.ObjectSize(16,1)};get _isUndefined(){return c.utils.getUint16(0,this)===0}set undefined(e){c.utils.setUint16(0,0,this)}get boolean(){return c.utils.testWhich(`boolean`,c.utils.getUint16(0,this),1,this),c.utils.getBit(16,this)}get _isBoolean(){return c.utils.getUint16(0,this)===1}set boolean(e){c.utils.setUint16(0,1,this),c.utils.setBit(16,e,this)}get integer(){return c.utils.testWhich(`integer`,c.utils.getUint16(0,this),2,this),c.utils.getInt32(4,this)}get _isInteger(){return c.utils.getUint16(0,this)===2}set integer(e){c.utils.setUint16(0,2,this),c.utils.setInt32(4,e,this)}get float(){return c.utils.testWhich(`float`,c.utils.getUint16(0,this),3,this),c.utils.getFloat64(8,this)}get _isFloat(){return c.utils.getUint16(0,this)===3}set float(e){c.utils.setUint16(0,3,this),c.utils.setFloat64(8,e,this)}get string(){return c.utils.testWhich(`string`,c.utils.getUint16(0,this),4,this),c.utils.getText(0,this)}get _isString(){return c.utils.getUint16(0,this)===4}set string(e){c.utils.setUint16(0,4,this),c.utils.setText(0,e,this)}toString(){return`DefaultValueReflection_Value_`+super.toString()}which(){return c.utils.getUint16(0,this)}},F=class extends c.Struct{static{M(this,`DefaultValueReflection`)}static _capnp={displayName:`DefaultValueReflection`,id:`96fe6f07954197c9`,size:new c.ObjectSize(16,1)};get value(){return c.utils.getAs(Ut,this)}_initValue(){return c.utils.getAs(Ut,this)}toString(){return`DefaultValueReflection_`+super.toString()}},I=class extends c.Struct{static{M(this,`SerializedTypeReference`)}static _capnp={displayName:`SerializedTypeReference`,id:`a83d8a28b5e80f3a`,size:new c.ObjectSize(8,0)};get id(){return c.utils.getUint32(0,this)}set id(e){c.utils.setUint32(0,e,this)}toString(){return`SerializedTypeReference_`+super.toString()}},L=class extends c.Struct{static{M(this,`IndexAccessOrigin`)}static _capnp={displayName:`IndexAccessOrigin`,id:`ca50b18186c87afe`,size:new c.ObjectSize(0,2)};_adoptContainer(e){c.utils.adopt(e,c.utils.getPointer(0,this))}_disownContainer(){return c.utils.disown(this.container)}get container(){return c.utils.getStruct(0,I,this)}_hasContainer(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initContainer(){return c.utils.initStructAt(0,I,this)}set container(e){c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptIndex(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownIndex(){return c.utils.disown(this.index)}get index(){return c.utils.getStruct(1,I,this)}_hasIndex(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initIndex(){return c.utils.initStructAt(1,I,this)}set index(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}toString(){return`IndexAccessOrigin_`+super.toString()}},Wt=class extends c.Struct{static{M(this,`EntityOptions_EntityIndexOptions`)}static _capnp={displayName:`EntityIndexOptions`,id:`de584ad10b7c5004`,size:new c.ObjectSize(0,2)};_adoptNames(e){c.utils.adopt(e,c.utils.getPointer(0,this))}_disownNames(){return c.utils.disown(this.names)}get names(){return c.utils.getList(0,c.TextList,this)}_hasNames(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initNames(e){return c.utils.initList(0,c.TextList,e,this)}set names(e){c.utils.copyFrom(e,c.utils.getPointer(0,this))}get options(){return c.utils.getText(1,this)}set options(e){c.utils.setText(1,e,this)}toString(){return`EntityOptions_EntityIndexOptions_`+super.toString()}},Gt=class e extends c.Struct{static{M(this,`EntityOptions`)}static EntityIndexOptions=Wt;static _capnp={displayName:`EntityOptions`,id:`948d2d02cf676d60`,size:new c.ObjectSize(8,5)};static _Indexes;get name(){return c.utils.getText(0,this)}set name(e){c.utils.setText(0,e,this)}get description(){return c.utils.getText(1,this)}set description(e){c.utils.setText(1,e,this)}get collection(){return c.utils.getText(2,this)}set collection(e){c.utils.setText(2,e,this)}get database(){return c.utils.getText(3,this)}set database(e){c.utils.setText(3,e,this)}get singleTableInheritance(){return c.utils.getBit(0,this)}set singleTableInheritance(e){c.utils.setBit(0,e,this)}_adoptIndexes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownIndexes(){return c.utils.disown(this.indexes)}get indexes(){return c.utils.getList(4,e._Indexes,this)}_hasIndexes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initIndexes(t){return c.utils.initList(4,e._Indexes,t,this)}set indexes(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`EntityOptions_`+super.toString()}},R=class e extends c.Struct{static{M(this,`SerializedTypeObjectLiteral`)}static _capnp={displayName:`SerializedTypeObjectLiteral`,id:`8b56235ad9bcb2b1`,size:new c.ObjectSize(8,6)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(4,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTypes(t){return c.utils.initList(4,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(5,N,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initTags(){return c.utils.initStructAt(5,N,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}toString(){return`SerializedTypeObjectLiteral_`+super.toString()}},z=class e extends c.Struct{static{M(this,`SerializedTypeClassType`)}static _capnp={displayName:`SerializedTypeClassType`,id:`9855392bf9c48b25`,size:new c.ObjectSize(8,11)};static _TypeArguments;static _Decorators;static _ExtendsArguments;static _Arguments;static _Types;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get name(){return c.utils.getText(4,this)}set name(e){c.utils.setText(4,e,this)}get globalObject(){return c.utils.getBit(16,this)}set globalObject(e){c.utils.setBit(16,e,this)}get classType(){return c.utils.getText(5,this)}set classType(e){c.utils.setText(5,e,this)}_adoptExtendsArguments(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownExtendsArguments(){return c.utils.disown(this.extendsArguments)}get extendsArguments(){return c.utils.getList(6,e._ExtendsArguments,this)}_hasExtendsArguments(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initExtendsArguments(t){return c.utils.initList(6,e._ExtendsArguments,t,this)}set extendsArguments(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptArguments(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownArguments(){return c.utils.disown(this.arguments)}get arguments(){return c.utils.getList(7,e._Arguments,this)}_hasArguments(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initArguments(t){return c.utils.initList(7,e._Arguments,t,this)}set arguments(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}_adoptSuperClass(e){c.utils.adopt(e,c.utils.getPointer(8,this))}_disownSuperClass(){return c.utils.disown(this.superClass)}get superClass(){return c.utils.getStruct(8,I,this)}_hasSuperClass(){return!c.utils.isNull(c.utils.getPointer(8,this))}_initSuperClass(){return c.utils.initStructAt(8,I,this)}set superClass(e){c.utils.copyFrom(e,c.utils.getPointer(8,this))}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(9,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(9,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(9,this))}_initTypes(t){return c.utils.initList(9,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(9,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(10,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(10,N,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(10,this))}_initTags(){return c.utils.initStructAt(10,N,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(10,this))}toString(){return`SerializedTypeClassType_`+super.toString()}},B=class e extends c.Struct{static{M(this,`SerializedTypeParameter`)}static _capnp={displayName:`SerializedTypeParameter`,id:`fcbaa08bb97b8b1a`,size:new c.ObjectSize(8,8)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get name(){return c.utils.getText(4,this)}set name(e){c.utils.setText(4,e,this)}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(5,I,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initType(){return c.utils.initStructAt(5,I,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}get visibility(){return c.utils.getUint16(2,this)}set visibility(e){c.utils.setUint16(2,e,this)}get readonly(){return c.utils.getBit(32,this)}set readonly(e){c.utils.setBit(32,e,this)}get optional(){return c.utils.getBit(33,this)}set optional(e){c.utils.setBit(33,e,this)}_adoptDefault(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownDefault(){return c.utils.disown(this.default)}get default(){return c.utils.getStruct(6,F,this)}_hasDefault(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initDefault(){return c.utils.initStructAt(6,F,this)}set default(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(7,N,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initTags(){return c.utils.initStructAt(7,N,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}toString(){return`SerializedTypeParameter_`+super.toString()}},V=class e extends c.Struct{static{M(this,`SerializedTypeMethod`)}static _capnp={displayName:`SerializedTypeMethod`,id:`8b5eff6d9ec2fb06`,size:new c.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get visibility(){return c.utils.getUint16(0,this)}set visibility(e){c.utils.setUint16(0,e,this)}get abstract(){return c.utils.getBit(16,this)}set abstract(e){c.utils.setBit(16,e,this)}get optional(){return c.utils.getBit(17,this)}set optional(e){c.utils.setBit(17,e,this)}get readonly(){return c.utils.getBit(18,this)}set readonly(e){c.utils.setBit(18,e,this)}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(4,N,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTags(){return c.utils.initStructAt(4,N,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}get kind(){return c.utils.getUint16(4,this)}set kind(e){c.utils.setUint16(4,e,this)}get name(){return c.utils.getText(5,this)}set name(e){c.utils.setText(5,e,this)}_adoptParameters(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownParameters(){return c.utils.disown(this.parameters)}get parameters(){return c.utils.getList(6,e._Parameters,this)}_hasParameters(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initParameters(t){return c.utils.initList(6,e._Parameters,t,this)}set parameters(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptReturn(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownReturn(){return c.utils.disown(this.return)}get return(){return c.utils.getStruct(7,I,this)}_hasReturn(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initReturn(){return c.utils.initStructAt(7,I,this)}set return(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}toString(){return`SerializedTypeMethod_`+super.toString()}},Kt=class e extends c.Struct{static{M(this,`SerializedTypeProperty`)}static _capnp={displayName:`SerializedTypeProperty`,id:`91d9dbea2037f78b`,size:new c.ObjectSize(8,9)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get visibility(){return c.utils.getUint16(0,this)}set visibility(e){c.utils.setUint16(0,e,this)}get abstract(){return c.utils.getBit(16,this)}set abstract(e){c.utils.setBit(16,e,this)}get optional(){return c.utils.getBit(17,this)}set optional(e){c.utils.setBit(17,e,this)}get readonly(){return c.utils.getBit(18,this)}set readonly(e){c.utils.setBit(18,e,this)}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(4,N,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTags(){return c.utils.initStructAt(4,N,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}get kind(){return c.utils.getUint16(4,this)}set kind(e){c.utils.setUint16(4,e,this)}get name(){return c.utils.getText(5,this)}set name(e){c.utils.setText(5,e,this)}get description(){return c.utils.getText(6,this)}set description(e){c.utils.setText(6,e,this)}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(7,I,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initType(){return c.utils.initStructAt(7,I,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}_adoptDefault(e){c.utils.adopt(e,c.utils.getPointer(8,this))}_disownDefault(){return c.utils.disown(this.default)}get default(){return c.utils.getStruct(8,F,this)}_hasDefault(){return!c.utils.isNull(c.utils.getPointer(8,this))}_initDefault(){return c.utils.initStructAt(8,F,this)}set default(e){c.utils.copyFrom(e,c.utils.getPointer(8,this))}toString(){return`SerializedTypeProperty_`+super.toString()}},H=class e extends c.Struct{static{M(this,`SerializedTypeFunction`)}static _capnp={displayName:`SerializedTypeFunction`,id:`9130bccd82dfcfd4`,size:new c.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get visibility(){return c.utils.getUint16(0,this)}set visibility(e){c.utils.setUint16(0,e,this)}get abstract(){return c.utils.getBit(16,this)}set abstract(e){c.utils.setBit(16,e,this)}get optional(){return c.utils.getBit(17,this)}set optional(e){c.utils.setBit(17,e,this)}get readonly(){return c.utils.getBit(18,this)}set readonly(e){c.utils.setBit(18,e,this)}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(4,N,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTags(){return c.utils.initStructAt(4,N,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}get kind(){return c.utils.getUint16(4,this)}set kind(e){c.utils.setUint16(4,e,this)}get name(){return c.utils.getText(5,this)}set name(e){c.utils.setText(5,e,this)}_adoptParameters(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownParameters(){return c.utils.disown(this.parameters)}get parameters(){return c.utils.getList(6,e._Parameters,this)}_hasParameters(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initParameters(t){return c.utils.initList(6,e._Parameters,t,this)}set parameters(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptReturn(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownReturn(){return c.utils.disown(this.return)}get return(){return c.utils.getStruct(7,I,this)}_hasReturn(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initReturn(){return c.utils.initStructAt(7,I,this)}set return(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}toString(){return`SerializedTypeFunction_`+super.toString()}},qt=class e extends c.Struct{static{M(this,`SerializedTypePromise`)}static _capnp={displayName:`SerializedTypePromise`,id:`e9b0cbe936a42398`,size:new c.ObjectSize(8,4)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get visibility(){return c.utils.getUint16(0,this)}set visibility(e){c.utils.setUint16(0,e,this)}get abstract(){return c.utils.getBit(16,this)}set abstract(e){c.utils.setBit(16,e,this)}toString(){return`SerializedTypePromise_`+super.toString()}},Jt=class extends c.Struct{static{M(this,`SerializedTypeEnumEntry`)}static _capnp={displayName:`SerializedTypeEnumEntry`,id:`d5bcb8b7c49ba556`,size:new c.ObjectSize(0,2)};get name(){return c.utils.getText(0,this)}set name(e){c.utils.setText(0,e,this)}get value(){return c.utils.getText(1,this)}set value(e){c.utils.setText(1,e,this)}toString(){return`SerializedTypeEnumEntry_`+super.toString()}},U=class e extends c.Struct{static{M(this,`SerializedTypeEnum`)}static _capnp={displayName:`SerializedTypeEnum`,id:`d7d36f0ae79e3841`,size:new c.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _EnumEntries;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptEnumEntries(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownEnumEntries(){return c.utils.disown(this.enumEntries)}get enumEntries(){return c.utils.getList(4,e._EnumEntries,this)}_hasEnumEntries(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initEnumEntries(t){return c.utils.initList(4,e._EnumEntries,t,this)}set enumEntries(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}_adoptValues(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownValues(){return c.utils.disown(this.values)}get values(){return c.utils.getList(5,c.TextList,this)}_hasValues(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initValues(e){return c.utils.initList(5,c.TextList,e,this)}set values(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}_adoptIndexType(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownIndexType(){return c.utils.disown(this.indexType)}get indexType(){return c.utils.getStruct(6,I,this)}_hasIndexType(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initIndexType(){return c.utils.initStructAt(6,I,this)}set indexType(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(7,N,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initTags(){return c.utils.initStructAt(7,N,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}toString(){return`SerializedTypeEnum_`+super.toString()}},W=class e extends c.Struct{static{M(this,`SerializedTypeUnion`)}static _capnp={displayName:`SerializedTypeUnion`,id:`a9ae4c95e41ff4ab`,size:new c.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(4,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTypes(t){return c.utils.initList(4,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeUnion_`+super.toString()}},G=class e extends c.Struct{static{M(this,`SerializedTypeIntersection`)}static _capnp={displayName:`SerializedTypeIntersection`,id:`9ae42bd17511c09b`,size:new c.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(4,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTypes(t){return c.utils.initList(4,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeIntersection_`+super.toString()}},Yt=class e extends c.Struct{static{M(this,`SerializedTypeArray`)}static _capnp={displayName:`SerializedTypeArray`,id:`97d1d75240151501`,size:new c.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(4,I,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initType(){return c.utils.initStructAt(4,I,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(5,N,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initTags(){return c.utils.initStructAt(5,N,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}toString(){return`SerializedTypeArray_`+super.toString()}},Xt=class e extends c.Struct{static{M(this,`SerializedTypeIndexSignature`)}static _capnp={displayName:`SerializedTypeIndexSignature`,id:`93e335e2756821d8`,size:new c.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptIndex(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownIndex(){return c.utils.disown(this.index)}get index(){return c.utils.getStruct(4,I,this)}_hasIndex(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initIndex(){return c.utils.initStructAt(4,I,this)}set index(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(5,I,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initType(){return c.utils.initStructAt(5,I,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}toString(){return`SerializedTypeIndexSignature_`+super.toString()}},Zt=class e extends c.Struct{static{M(this,`SerializedTypePropertySignature`)}static _capnp={displayName:`SerializedTypePropertySignature`,id:`9bc1cebd2ca1569a`,size:new c.ObjectSize(8,9)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get name(){return c.utils.getText(4,this)}set name(e){c.utils.setText(4,e,this)}get optional(){return c.utils.getBit(16,this)}set optional(e){c.utils.setBit(16,e,this)}get readonly(){return c.utils.getBit(17,this)}set readonly(e){c.utils.setBit(17,e,this)}get description(){return c.utils.getText(5,this)}set description(e){c.utils.setText(5,e,this)}_adoptDefault(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownDefault(){return c.utils.disown(this.default)}get default(){return c.utils.getStruct(6,F,this)}_hasDefault(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initDefault(){return c.utils.initStructAt(6,F,this)}set default(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(7,I,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initType(){return c.utils.initStructAt(7,I,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(8,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(8,N,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(8,this))}_initTags(){return c.utils.initStructAt(8,N,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(8,this))}toString(){return`SerializedTypePropertySignature_`+super.toString()}},K=class e extends c.Struct{static{M(this,`SerializedTypeMethodSignature`)}static _capnp={displayName:`SerializedTypeMethodSignature`,id:`e25a2cc39d5930c8`,size:new c.ObjectSize(8,8)};static _TypeArguments;static _Decorators;static _Parameters;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get name(){return c.utils.getText(4,this)}set name(e){c.utils.setText(4,e,this)}get optional(){return c.utils.getBit(16,this)}set optional(e){c.utils.setBit(16,e,this)}_adoptParameters(e){c.utils.adopt(e,c.utils.getPointer(5,this))}_disownParameters(){return c.utils.disown(this.parameters)}get parameters(){return c.utils.getList(5,e._Parameters,this)}_hasParameters(){return!c.utils.isNull(c.utils.getPointer(5,this))}_initParameters(t){return c.utils.initList(5,e._Parameters,t,this)}set parameters(e){c.utils.copyFrom(e,c.utils.getPointer(5,this))}_adoptReturn(e){c.utils.adopt(e,c.utils.getPointer(6,this))}_disownReturn(){return c.utils.disown(this.return)}get return(){return c.utils.getStruct(6,I,this)}_hasReturn(){return!c.utils.isNull(c.utils.getPointer(6,this))}_initReturn(){return c.utils.initStructAt(6,I,this)}set return(e){c.utils.copyFrom(e,c.utils.getPointer(6,this))}_adoptTags(e){c.utils.adopt(e,c.utils.getPointer(7,this))}_disownTags(){return c.utils.disown(this.tags)}get tags(){return c.utils.getStruct(7,N,this)}_hasTags(){return!c.utils.isNull(c.utils.getPointer(7,this))}_initTags(){return c.utils.initStructAt(7,N,this)}set tags(e){c.utils.copyFrom(e,c.utils.getPointer(7,this))}toString(){return`SerializedTypeMethodSignature_`+super.toString()}},Qt=class e extends c.Struct{static{M(this,`SerializedTypeTypeParameter`)}static _capnp={displayName:`SerializedTypeTypeParameter`,id:`81210361a54d5d71`,size:new c.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get name(){return c.utils.getText(4,this)}set name(e){c.utils.setText(4,e,this)}toString(){return`SerializedTypeTypeParameter_`+super.toString()}},$t=class e extends c.Struct{static{M(this,`SerializedTypeInfer`)}static _capnp={displayName:`SerializedTypeInfer`,id:`91c6dd1e13f2b14d`,size:new c.ObjectSize(8,4)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}toString(){return`SerializedTypeInfer_`+super.toString()}},q=class e extends c.Struct{static{M(this,`SerializedTypeTupleMember`)}static _capnp={displayName:`SerializedTypeTupleMember`,id:`e21c2a18d0d56fdf`,size:new c.ObjectSize(8,6)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(4,I,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initType(){return c.utils.initStructAt(4,I,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}get optional(){return c.utils.getBit(16,this)}set optional(e){c.utils.setBit(16,e,this)}get name(){return c.utils.getText(5,this)}set name(e){c.utils.setText(5,e,this)}toString(){return`SerializedTypeTupleMember_`+super.toString()}},J=class e extends c.Struct{static{M(this,`SerializedTypeTuple`)}static _capnp={displayName:`SerializedTypeTuple`,id:`eb7501eb1ee4fb6d`,size:new c.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(4,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTypes(t){return c.utils.initList(4,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeTuple_`+super.toString()}},en=class e extends c.Struct{static{M(this,`SerializedTypeRest`)}static _capnp={displayName:`SerializedTypeRest`,id:`f9e684a435cce5d1`,size:new c.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptType(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownType(){return c.utils.disown(this.type)}get type(){return c.utils.getStruct(4,I,this)}_hasType(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initType(){return c.utils.initStructAt(4,I,this)}set type(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeRest_`+super.toString()}},tn=class e extends c.Struct{static{M(this,`SimpleSerializedType`)}static _capnp={displayName:`SimpleSerializedType`,id:`80f983e4b811c3ca`,size:new c.ObjectSize(8,5)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptOrigin(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownOrigin(){return c.utils.disown(this.origin)}get origin(){return c.utils.getStruct(4,I,this)}_hasOrigin(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initOrigin(){return c.utils.initStructAt(4,I,this)}set origin(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SimpleSerializedType_`+super.toString()}},nn=class extends c.Struct{static{M(this,`SerializedTypeLiteralSymbol`)}static _capnp={displayName:`SerializedTypeLiteralSymbol`,id:`f3dd6a3c6054bd55`,size:new c.ObjectSize(0,2)};get type(){return c.utils.getText(0,this)}set type(e){c.utils.setText(0,e,this)}get name(){return c.utils.getText(1,this)}set name(e){c.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralSymbol_`+super.toString()}},rn=class extends c.Struct{static{M(this,`SerializedTypeLiteralBigInt`)}static _capnp={displayName:`SerializedTypeLiteralBigInt`,id:`821a872d8be30bb2`,size:new c.ObjectSize(0,2)};get type(){return c.utils.getText(0,this)}set type(e){c.utils.setText(0,e,this)}get value(){return c.utils.getText(1,this)}set value(e){c.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralBigInt_`+super.toString()}},an=class extends c.Struct{static{M(this,`SerializedTypeLiteralRegex`)}static _capnp={displayName:`SerializedTypeLiteralRegex`,id:`cc89f97b47927d99`,size:new c.ObjectSize(0,2)};get type(){return c.utils.getText(0,this)}set type(e){c.utils.setText(0,e,this)}get regex(){return c.utils.getText(1,this)}set regex(e){c.utils.setText(1,e,this)}toString(){return`SerializedTypeLiteralRegex_`+super.toString()}},Y={SYMBOL:0,STRING:1,NUMBER:2,BOOLEAN:3,BIGINT:4,REGEX:5},on=class extends c.Struct{static{M(this,`SerializedTypeLiteral_Literal`)}static SYMBOL=Y.SYMBOL;static STRING=Y.STRING;static NUMBER=Y.NUMBER;static BOOLEAN=Y.BOOLEAN;static BIGINT=Y.BIGINT;static REGEX=Y.REGEX;static _capnp={displayName:`literal`,id:`e4f0538973f3909f`,size:new c.ObjectSize(16,5)};_adoptSymbol(e){c.utils.setUint16(2,0,this),c.utils.adopt(e,c.utils.getPointer(4,this))}_disownSymbol(){return c.utils.disown(this.symbol)}get symbol(){return c.utils.testWhich(`symbol`,c.utils.getUint16(2,this),0,this),c.utils.getStruct(4,nn,this)}_hasSymbol(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initSymbol(){return c.utils.setUint16(2,0,this),c.utils.initStructAt(4,nn,this)}get _isSymbol(){return c.utils.getUint16(2,this)===0}set symbol(e){c.utils.setUint16(2,0,this),c.utils.copyFrom(e,c.utils.getPointer(4,this))}get string(){return c.utils.testWhich(`string`,c.utils.getUint16(2,this),1,this),c.utils.getText(4,this)}get _isString(){return c.utils.getUint16(2,this)===1}set string(e){c.utils.setUint16(2,1,this),c.utils.setText(4,e,this)}get number(){return c.utils.testWhich(`number`,c.utils.getUint16(2,this),2,this),c.utils.getFloat64(8,this)}get _isNumber(){return c.utils.getUint16(2,this)===2}set number(e){c.utils.setUint16(2,2,this),c.utils.setFloat64(8,e,this)}get boolean(){return c.utils.testWhich(`boolean`,c.utils.getUint16(2,this),3,this),c.utils.getBit(64,this)}get _isBoolean(){return c.utils.getUint16(2,this)===3}set boolean(e){c.utils.setUint16(2,3,this),c.utils.setBit(64,e,this)}_adoptBigint(e){c.utils.setUint16(2,4,this),c.utils.adopt(e,c.utils.getPointer(4,this))}_disownBigint(){return c.utils.disown(this.bigint)}get bigint(){return c.utils.testWhich(`bigint`,c.utils.getUint16(2,this),4,this),c.utils.getStruct(4,rn,this)}_hasBigint(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initBigint(){return c.utils.setUint16(2,4,this),c.utils.initStructAt(4,rn,this)}get _isBigint(){return c.utils.getUint16(2,this)===4}set bigint(e){c.utils.setUint16(2,4,this),c.utils.copyFrom(e,c.utils.getPointer(4,this))}_adoptRegex(e){c.utils.setUint16(2,5,this),c.utils.adopt(e,c.utils.getPointer(4,this))}_disownRegex(){return c.utils.disown(this.regex)}get regex(){return c.utils.testWhich(`regex`,c.utils.getUint16(2,this),5,this),c.utils.getStruct(4,an,this)}_hasRegex(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initRegex(){return c.utils.setUint16(2,5,this),c.utils.initStructAt(4,an,this)}get _isRegex(){return c.utils.getUint16(2,this)===5}set regex(e){c.utils.setUint16(2,5,this),c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeLiteral_Literal_`+super.toString()}which(){return c.utils.getUint16(2,this)}},sn=class e extends c.Struct{static{M(this,`SerializedTypeLiteral`)}static _capnp={displayName:`SerializedTypeLiteral`,id:`b876ba24d27d88c8`,size:new c.ObjectSize(16,5)};static _TypeArguments;static _Decorators;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}get literal(){return c.utils.getAs(on,this)}_initLiteral(){return c.utils.getAs(on,this)}toString(){return`SerializedTypeLiteral_`+super.toString()}},cn=class e extends c.Struct{static{M(this,`SerializedTypeTemplateLiteral`)}static _capnp={displayName:`SerializedTypeTemplateLiteral`,id:`8dd6c284d46cc265`,size:new c.ObjectSize(8,5)};static _TypeArguments;static _Decorators;static _Types;get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}_adoptTypeArguments(e){c.utils.adopt(e,c.utils.getPointer(1,this))}_disownTypeArguments(){return c.utils.disown(this.typeArguments)}get typeArguments(){return c.utils.getList(1,e._TypeArguments,this)}_hasTypeArguments(){return!c.utils.isNull(c.utils.getPointer(1,this))}_initTypeArguments(t){return c.utils.initList(1,e._TypeArguments,t,this)}set typeArguments(e){c.utils.copyFrom(e,c.utils.getPointer(1,this))}_adoptIndexAccessOrigin(e){c.utils.adopt(e,c.utils.getPointer(2,this))}_disownIndexAccessOrigin(){return c.utils.disown(this.indexAccessOrigin)}get indexAccessOrigin(){return c.utils.getStruct(2,L,this)}_hasIndexAccessOrigin(){return!c.utils.isNull(c.utils.getPointer(2,this))}_initIndexAccessOrigin(){return c.utils.initStructAt(2,L,this)}set indexAccessOrigin(e){c.utils.copyFrom(e,c.utils.getPointer(2,this))}_adoptDecorators(e){c.utils.adopt(e,c.utils.getPointer(3,this))}_disownDecorators(){return c.utils.disown(this.decorators)}get decorators(){return c.utils.getList(3,e._Decorators,this)}_hasDecorators(){return!c.utils.isNull(c.utils.getPointer(3,this))}_initDecorators(t){return c.utils.initList(3,e._Decorators,t,this)}set decorators(e){c.utils.copyFrom(e,c.utils.getPointer(3,this))}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(4,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(4,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(4,this))}_initTypes(t){return c.utils.initList(4,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(4,this))}toString(){return`SerializedTypeTemplateLiteral_`+super.toString()}},ln=class extends c.Struct{static{M(this,`SerializedTypeOther`)}static _capnp={displayName:`SerializedTypeOther`,id:`9e1048a692ff49ce`,size:new c.ObjectSize(8,1)};get typeName(){return c.utils.getText(0,this)}set typeName(e){c.utils.setText(0,e,this)}get kind(){return c.utils.getUint16(0,this)}set kind(e){c.utils.setUint16(0,e,this)}toString(){return`SerializedTypeOther_`+super.toString()}},X={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},un=class extends c.Struct{static{M(this,`SerializedType_Type`)}static SIMPLE=X.SIMPLE;static LITERAL=X.LITERAL;static TEMPLATE_LITERAL=X.TEMPLATE_LITERAL;static PARAMETER=X.PARAMETER;static FUNCTION=X.FUNCTION;static METHOD=X.METHOD;static PROPERTY=X.PROPERTY;static PROMISE=X.PROMISE;static CLASS_TYPE=X.CLASS_TYPE;static ENUM=X.ENUM;static UNION=X.UNION;static INTERSECTION=X.INTERSECTION;static ARRAY=X.ARRAY;static OBJECT_LITERAL=X.OBJECT_LITERAL;static INDEX_SIGNATURE=X.INDEX_SIGNATURE;static PROPERTY_SIGNATURE=X.PROPERTY_SIGNATURE;static METHOD_SIGNATURE=X.METHOD_SIGNATURE;static TYPE_PARAMETER=X.TYPE_PARAMETER;static INFER=X.INFER;static TUPLE=X.TUPLE;static TUPLE_MEMBER=X.TUPLE_MEMBER;static REST=X.REST;static OTHER=X.OTHER;static _capnp={displayName:`type`,id:`c677d7ed4a496eab`,size:new c.ObjectSize(8,1)};_adoptSimple(e){c.utils.setUint16(0,0,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownSimple(){return c.utils.disown(this.simple)}get simple(){return c.utils.testWhich(`simple`,c.utils.getUint16(0,this),0,this),c.utils.getStruct(0,tn,this)}_hasSimple(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initSimple(){return c.utils.setUint16(0,0,this),c.utils.initStructAt(0,tn,this)}get _isSimple(){return c.utils.getUint16(0,this)===0}set simple(e){c.utils.setUint16(0,0,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptLiteral(e){c.utils.setUint16(0,1,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownLiteral(){return c.utils.disown(this.literal)}get literal(){return c.utils.testWhich(`literal`,c.utils.getUint16(0,this),1,this),c.utils.getStruct(0,sn,this)}_hasLiteral(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initLiteral(){return c.utils.setUint16(0,1,this),c.utils.initStructAt(0,sn,this)}get _isLiteral(){return c.utils.getUint16(0,this)===1}set literal(e){c.utils.setUint16(0,1,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptTemplateLiteral(e){c.utils.setUint16(0,2,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownTemplateLiteral(){return c.utils.disown(this.templateLiteral)}get templateLiteral(){return c.utils.testWhich(`templateLiteral`,c.utils.getUint16(0,this),2,this),c.utils.getStruct(0,cn,this)}_hasTemplateLiteral(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initTemplateLiteral(){return c.utils.setUint16(0,2,this),c.utils.initStructAt(0,cn,this)}get _isTemplateLiteral(){return c.utils.getUint16(0,this)===2}set templateLiteral(e){c.utils.setUint16(0,2,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptParameter(e){c.utils.setUint16(0,3,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownParameter(){return c.utils.disown(this.parameter)}get parameter(){return c.utils.testWhich(`parameter`,c.utils.getUint16(0,this),3,this),c.utils.getStruct(0,B,this)}_hasParameter(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initParameter(){return c.utils.setUint16(0,3,this),c.utils.initStructAt(0,B,this)}get _isParameter(){return c.utils.getUint16(0,this)===3}set parameter(e){c.utils.setUint16(0,3,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptFunction(e){c.utils.setUint16(0,4,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownFunction(){return c.utils.disown(this.function)}get function(){return c.utils.testWhich(`function`,c.utils.getUint16(0,this),4,this),c.utils.getStruct(0,H,this)}_hasFunction(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initFunction(){return c.utils.setUint16(0,4,this),c.utils.initStructAt(0,H,this)}get _isFunction(){return c.utils.getUint16(0,this)===4}set function(e){c.utils.setUint16(0,4,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptMethod(e){c.utils.setUint16(0,5,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownMethod(){return c.utils.disown(this.method)}get method(){return c.utils.testWhich(`method`,c.utils.getUint16(0,this),5,this),c.utils.getStruct(0,V,this)}_hasMethod(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initMethod(){return c.utils.setUint16(0,5,this),c.utils.initStructAt(0,V,this)}get _isMethod(){return c.utils.getUint16(0,this)===5}set method(e){c.utils.setUint16(0,5,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptProperty(e){c.utils.setUint16(0,6,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownProperty(){return c.utils.disown(this.property)}get property(){return c.utils.testWhich(`property`,c.utils.getUint16(0,this),6,this),c.utils.getStruct(0,Kt,this)}_hasProperty(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initProperty(){return c.utils.setUint16(0,6,this),c.utils.initStructAt(0,Kt,this)}get _isProperty(){return c.utils.getUint16(0,this)===6}set property(e){c.utils.setUint16(0,6,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptPromise(e){c.utils.setUint16(0,7,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownPromise(){return c.utils.disown(this.promise)}get promise(){return c.utils.testWhich(`promise`,c.utils.getUint16(0,this),7,this),c.utils.getStruct(0,qt,this)}_hasPromise(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initPromise(){return c.utils.setUint16(0,7,this),c.utils.initStructAt(0,qt,this)}get _isPromise(){return c.utils.getUint16(0,this)===7}set promise(e){c.utils.setUint16(0,7,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptClassType(e){c.utils.setUint16(0,8,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownClassType(){return c.utils.disown(this.classType)}get classType(){return c.utils.testWhich(`classType`,c.utils.getUint16(0,this),8,this),c.utils.getStruct(0,z,this)}_hasClassType(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initClassType(){return c.utils.setUint16(0,8,this),c.utils.initStructAt(0,z,this)}get _isClassType(){return c.utils.getUint16(0,this)===8}set classType(e){c.utils.setUint16(0,8,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptEnum(e){c.utils.setUint16(0,9,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownEnum(){return c.utils.disown(this.enum)}get enum(){return c.utils.testWhich(`enum`,c.utils.getUint16(0,this),9,this),c.utils.getStruct(0,U,this)}_hasEnum(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initEnum(){return c.utils.setUint16(0,9,this),c.utils.initStructAt(0,U,this)}get _isEnum(){return c.utils.getUint16(0,this)===9}set enum(e){c.utils.setUint16(0,9,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptUnion(e){c.utils.setUint16(0,10,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownUnion(){return c.utils.disown(this.union)}get union(){return c.utils.testWhich(`union`,c.utils.getUint16(0,this),10,this),c.utils.getStruct(0,W,this)}_hasUnion(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initUnion(){return c.utils.setUint16(0,10,this),c.utils.initStructAt(0,W,this)}get _isUnion(){return c.utils.getUint16(0,this)===10}set union(e){c.utils.setUint16(0,10,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptIntersection(e){c.utils.setUint16(0,11,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownIntersection(){return c.utils.disown(this.intersection)}get intersection(){return c.utils.testWhich(`intersection`,c.utils.getUint16(0,this),11,this),c.utils.getStruct(0,G,this)}_hasIntersection(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initIntersection(){return c.utils.setUint16(0,11,this),c.utils.initStructAt(0,G,this)}get _isIntersection(){return c.utils.getUint16(0,this)===11}set intersection(e){c.utils.setUint16(0,11,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptArray(e){c.utils.setUint16(0,12,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownArray(){return c.utils.disown(this.array)}get array(){return c.utils.testWhich(`array`,c.utils.getUint16(0,this),12,this),c.utils.getStruct(0,Yt,this)}_hasArray(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initArray(){return c.utils.setUint16(0,12,this),c.utils.initStructAt(0,Yt,this)}get _isArray(){return c.utils.getUint16(0,this)===12}set array(e){c.utils.setUint16(0,12,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptObjectLiteral(e){c.utils.setUint16(0,13,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownObjectLiteral(){return c.utils.disown(this.objectLiteral)}get objectLiteral(){return c.utils.testWhich(`objectLiteral`,c.utils.getUint16(0,this),13,this),c.utils.getStruct(0,R,this)}_hasObjectLiteral(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initObjectLiteral(){return c.utils.setUint16(0,13,this),c.utils.initStructAt(0,R,this)}get _isObjectLiteral(){return c.utils.getUint16(0,this)===13}set objectLiteral(e){c.utils.setUint16(0,13,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptIndexSignature(e){c.utils.setUint16(0,14,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownIndexSignature(){return c.utils.disown(this.indexSignature)}get indexSignature(){return c.utils.testWhich(`indexSignature`,c.utils.getUint16(0,this),14,this),c.utils.getStruct(0,Xt,this)}_hasIndexSignature(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initIndexSignature(){return c.utils.setUint16(0,14,this),c.utils.initStructAt(0,Xt,this)}get _isIndexSignature(){return c.utils.getUint16(0,this)===14}set indexSignature(e){c.utils.setUint16(0,14,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptPropertySignature(e){c.utils.setUint16(0,15,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownPropertySignature(){return c.utils.disown(this.propertySignature)}get propertySignature(){return c.utils.testWhich(`propertySignature`,c.utils.getUint16(0,this),15,this),c.utils.getStruct(0,Zt,this)}_hasPropertySignature(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initPropertySignature(){return c.utils.setUint16(0,15,this),c.utils.initStructAt(0,Zt,this)}get _isPropertySignature(){return c.utils.getUint16(0,this)===15}set propertySignature(e){c.utils.setUint16(0,15,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptMethodSignature(e){c.utils.setUint16(0,16,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownMethodSignature(){return c.utils.disown(this.methodSignature)}get methodSignature(){return c.utils.testWhich(`methodSignature`,c.utils.getUint16(0,this),16,this),c.utils.getStruct(0,K,this)}_hasMethodSignature(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initMethodSignature(){return c.utils.setUint16(0,16,this),c.utils.initStructAt(0,K,this)}get _isMethodSignature(){return c.utils.getUint16(0,this)===16}set methodSignature(e){c.utils.setUint16(0,16,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptTypeParameter(e){c.utils.setUint16(0,17,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownTypeParameter(){return c.utils.disown(this.typeParameter)}get typeParameter(){return c.utils.testWhich(`typeParameter`,c.utils.getUint16(0,this),17,this),c.utils.getStruct(0,Qt,this)}_hasTypeParameter(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initTypeParameter(){return c.utils.setUint16(0,17,this),c.utils.initStructAt(0,Qt,this)}get _isTypeParameter(){return c.utils.getUint16(0,this)===17}set typeParameter(e){c.utils.setUint16(0,17,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptInfer(e){c.utils.setUint16(0,18,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownInfer(){return c.utils.disown(this.infer)}get infer(){return c.utils.testWhich(`infer`,c.utils.getUint16(0,this),18,this),c.utils.getStruct(0,$t,this)}_hasInfer(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initInfer(){return c.utils.setUint16(0,18,this),c.utils.initStructAt(0,$t,this)}get _isInfer(){return c.utils.getUint16(0,this)===18}set infer(e){c.utils.setUint16(0,18,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptTuple(e){c.utils.setUint16(0,19,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownTuple(){return c.utils.disown(this.tuple)}get tuple(){return c.utils.testWhich(`tuple`,c.utils.getUint16(0,this),19,this),c.utils.getStruct(0,J,this)}_hasTuple(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initTuple(){return c.utils.setUint16(0,19,this),c.utils.initStructAt(0,J,this)}get _isTuple(){return c.utils.getUint16(0,this)===19}set tuple(e){c.utils.setUint16(0,19,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptTupleMember(e){c.utils.setUint16(0,20,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownTupleMember(){return c.utils.disown(this.tupleMember)}get tupleMember(){return c.utils.testWhich(`tupleMember`,c.utils.getUint16(0,this),20,this),c.utils.getStruct(0,q,this)}_hasTupleMember(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initTupleMember(){return c.utils.setUint16(0,20,this),c.utils.initStructAt(0,q,this)}get _isTupleMember(){return c.utils.getUint16(0,this)===20}set tupleMember(e){c.utils.setUint16(0,20,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptRest(e){c.utils.setUint16(0,21,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownRest(){return c.utils.disown(this.rest)}get rest(){return c.utils.testWhich(`rest`,c.utils.getUint16(0,this),21,this),c.utils.getStruct(0,en,this)}_hasRest(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initRest(){return c.utils.setUint16(0,21,this),c.utils.initStructAt(0,en,this)}get _isRest(){return c.utils.getUint16(0,this)===21}set rest(e){c.utils.setUint16(0,21,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}_adoptOther(e){c.utils.setUint16(0,22,this),c.utils.adopt(e,c.utils.getPointer(0,this))}_disownOther(){return c.utils.disown(this.other)}get other(){return c.utils.testWhich(`other`,c.utils.getUint16(0,this),22,this),c.utils.getStruct(0,ln,this)}_hasOther(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initOther(){return c.utils.setUint16(0,22,this),c.utils.initStructAt(0,ln,this)}get _isOther(){return c.utils.getUint16(0,this)===22}set other(e){c.utils.setUint16(0,22,this),c.utils.copyFrom(e,c.utils.getPointer(0,this))}toString(){return`SerializedType_Type_`+super.toString()}which(){return c.utils.getUint16(0,this)}},dn=class extends c.Struct{static{M(this,`SerializedType`)}static _capnp={displayName:`SerializedType`,id:`96856dcc2dd3d58f`,size:new c.ObjectSize(8,1)};get type(){return c.utils.getAs(un,this)}_initType(){return c.utils.getAs(un,this)}toString(){return`SerializedType_`+super.toString()}},Z=class e extends c.Struct{static{M(this,`SerializedTypes`)}static _capnp={displayName:`SerializedTypes`,id:`ac55398ab0ef4958`,size:new c.ObjectSize(0,1)};static _Types;_adoptTypes(e){c.utils.adopt(e,c.utils.getPointer(0,this))}_disownTypes(){return c.utils.disown(this.types)}get types(){return c.utils.getList(0,e._Types,this)}_hasTypes(){return!c.utils.isNull(c.utils.getPointer(0,this))}_initTypes(t){return c.utils.initList(0,e._Types,t,this)}set types(e){c.utils.copyFrom(e,c.utils.getPointer(0,this))}toString(){return`SerializedTypes_`+super.toString()}};Gt._Indexes=c.CompositeList(Wt),R._TypeArguments=c.CompositeList(I),R._Decorators=c.CompositeList(I),R._Types=c.CompositeList(I),z._TypeArguments=c.CompositeList(I),z._Decorators=c.CompositeList(I),z._ExtendsArguments=c.CompositeList(I),z._Arguments=c.CompositeList(I),z._Types=c.CompositeList(I),B._TypeArguments=c.CompositeList(I),B._Decorators=c.CompositeList(I),V._TypeArguments=c.CompositeList(I),V._Decorators=c.CompositeList(I),V._Parameters=c.CompositeList(B),Kt._TypeArguments=c.CompositeList(I),Kt._Decorators=c.CompositeList(I),H._TypeArguments=c.CompositeList(I),H._Decorators=c.CompositeList(I),H._Parameters=c.CompositeList(B),qt._TypeArguments=c.CompositeList(I),qt._Decorators=c.CompositeList(I),U._TypeArguments=c.CompositeList(I),U._Decorators=c.CompositeList(I),U._EnumEntries=c.CompositeList(Jt),W._TypeArguments=c.CompositeList(I),W._Decorators=c.CompositeList(I),W._Types=c.CompositeList(I),G._TypeArguments=c.CompositeList(I),G._Decorators=c.CompositeList(I),G._Types=c.CompositeList(I),Yt._TypeArguments=c.CompositeList(I),Yt._Decorators=c.CompositeList(I),Xt._TypeArguments=c.CompositeList(I),Xt._Decorators=c.CompositeList(I),Zt._TypeArguments=c.CompositeList(I),Zt._Decorators=c.CompositeList(I),K._TypeArguments=c.CompositeList(I),K._Decorators=c.CompositeList(I),K._Parameters=c.CompositeList(B),Qt._TypeArguments=c.CompositeList(I),Qt._Decorators=c.CompositeList(I),$t._TypeArguments=c.CompositeList(I),$t._Decorators=c.CompositeList(I),q._TypeArguments=c.CompositeList(I),q._Decorators=c.CompositeList(I),J._TypeArguments=c.CompositeList(I),J._Decorators=c.CompositeList(I),J._Types=c.CompositeList(q),en._TypeArguments=c.CompositeList(I),en._Decorators=c.CompositeList(I),tn._TypeArguments=c.CompositeList(I),tn._Decorators=c.CompositeList(I),sn._TypeArguments=c.CompositeList(I),sn._Decorators=c.CompositeList(I),cn._TypeArguments=c.CompositeList(I),cn._Decorators=c.CompositeList(I),cn._Types=c.CompositeList(I),Z._Types=c.CompositeList(dn);function fn(e){return i(e.dataPath,`reflections`)}const pn={target:`esnext`,platform:`neutral`,format:`esm`,write:!0,minify:!0,sourcemap:!1,bundle:!0,treeShaking:!0,keepNames:!0,splitting:!0,logLevel:`silent`};function mn(e){let t=e.config.build.override.inject??e.config.build.inject;return t&&Object.keys(t).length>0&&e.fs.writeSync(i(e.workspaceConfig.workspaceRoot,e.config.projectRoot,e.artifactsPath,`inject-shim.js`),Object.entries(t).map(([e,t])=>{if(t)if(Array.isArray(t)){if(l(e)!==e){if(t.length===1)return`
2
+ import ${l(e)} from "${t[0]}";
3
+ export { ${l(e)} as "${e}" }`;if(t.length>1)return`
4
+ import ${t[1]===`*`?`* as ${l(e)}`:`{ ${t[1]} as ${l(e)} }`} from "${t[0]}";
5
+ export { ${l(e)} as "${e}" }`}else if(t.length===1)return`
6
+ import ${e} from "${t[0]}";
7
+ export { ${e} };`;else if(t.length>1)return`
8
+ import ${t[1]===`*`?`* as ${e}`:`{ ${t[1]} as ${e} }`} from "${t[0]}";
9
+ export { ${e} };`}else if(l(e)!==e)return`
10
+ import ${l(e)} from "${t[0]}";
11
+ export { ${l(e)} as "${e}" }`;else return`
12
+ import ${e} from "${t}";
13
+ export { ${e} };`;return``}).join(`
14
+ `)),o({alias:e.builtins.reduce((t,n)=>{if(!t[n]){let r=e.fs.ids[n];r&&(t[n]=r)}return t},e.config.build.alias?Array.isArray(e.config.build.alias)?e.config.build.alias.reduce((e,t)=>(e[t.find.toString()]||(e[t.find.toString()]=t.replacement),e),{}):e.config.build.alias:{}),inject:t&&Object.keys(t).length>0?[i(e.workspaceConfig.workspaceRoot,e.config.projectRoot,e.artifactsPath,`inject-shim.js`)]:void 0},e.config.build.variant===`esbuild`?xe(e.config.build.override,[`alias`,`inject`,`external`,`noExternal`,`skipNodeModulesBundle`,`extensions`]):{},e.config.build.variant===`esbuild`?xe(e.config.build,[`alias`,`inject`,`external`,`noExternal`,`skipNodeModulesBundle`,`extensions`,`variant`,`override`]):{},{mainFields:e.config.build.mainFields,conditions:e.config.build.conditions,define:e.config.build.define,resolveExtensions:e.config.build.extensions,packages:e.config.build.skipNodeModulesBundle?`external`:e.config.build.variant===`esbuild`?e.config.build.packages:void 0,format:Array.isArray(e.config.output.format)?e.config.output.format[0]:e.config.output.format,platform:e.config.build.platform,treeShaking:!!e.config.build?.treeshake||e.config.build?.treeShaking,outdir:e.config.output.buildPath,tsconfig:e.tsconfig.tsconfigFilePath,minify:e.config.mode!==`development`,metafile:e.config.mode===`development`,sourcemap:e.config.mode===`development`},pn)}async function hn(e,t,n={}){let r=await e.fs.resolve(t);if(!r||!e.fs.existsSync(r))throw Error(`Module not found: "${t}". Please check the path and try again.`);let i=await be({...mn(e),entryPoints:[r],write:!1,sourcemap:!1,splitting:!1,treeShaking:!1,bundle:!0,...n});if(i.errors.length>0)throw Error(`Failed to transpile ${t}: ${i.errors.map(e=>e.text).join(`, `)}`);if(i.warnings.length>0&&e.log(te.WARN,`Warnings while transpiling ${t}: ${i.warnings.map(e=>e.text).join(`, `)}`),!i.outputFiles||i.outputFiles.filter(Boolean).length===0)throw Error(`No output files generated for ${t}. Please check the configuration and try again.`);return i.outputFiles.filter(Boolean)[0]}async function gn(e,t,n={}){let r;r=ie(t)?se(t):t;let i=await hn(e,r.file,n),a=await e.resolver.evalModule(i.text,{filename:i.path,forceTranspile:!0}),ee=r.name;return ee||=`default`,a[ee]??a[`__Ω${ee}`]}var Q={};import*as _n from"@deepkit/type-compiler";e(Q,_n);import*as vn from"@deepkit/type-compiler/compiler";e(Q,vn);import*as yn from"@deepkit/type-compiler/config";e(Q,yn);let bn=!1;const xn=new Q.Cache;function Sn(e,t={}){return function(n){return bn||=!0,xn.tick(),new Q.ReflectionTransformer(n,xn).withReflection(o(t,{reflection:e.tsconfig.tsconfigJson.compilerOptions?.reflection||e.tsconfig.tsconfigJson.reflection,reflectionLevel:e.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel||e.tsconfig.tsconfigJson.reflectionLevel},{exclude:[],reflection:`default`,reflectionLevel:`minimal`}))}}function Cn(e,t={}){return function(n){return new Q.DeclarationTransformer(n,xn).withReflection(o(t,{reflection:e.tsconfig.tsconfigJson.compilerOptions?.reflection||e.tsconfig.tsconfigJson.reflection,reflectionLevel:e.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel||e.tsconfig.tsconfigJson.reflectionLevel},{exclude:[],reflection:`default`,reflectionLevel:`minimal`}))}}function wn(e,t,n){let r=Sn(e),i=Cn(e);return Se.transpileModule(t,{compilerOptions:{...e.tsconfig.options},fileName:n,transformers:{before:[r],after:[i]}})}const Tn=(e,t={})=>({name:`powerlines:deepkit`,setup(n){n.onLoad({filter:/\.(m|c)?tsx?$/,...t},async t=>{let n=await e.fs.read(t.path);if(!n)return null;if(t.pluginData?.isReflected)return{contents:n,loader:`ts`,pluginData:{isReflected:!0}};let r=wn(e,n,t.path);if(r.diagnostics&&r.diagnostics.length>0)if(r.diagnostics.some(e=>e.category===Ce.Error)){let n=`Deepkit Type reflection transpilation errors: ${t.path} \n ${r.diagnostics.filter(e=>e.category===Ce.Error).map(e=>`-${e.file?`${e.file.fileName}:`:``} ${de(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
15
+ `)}`;throw e.error(n),Error(n)}else r.diagnostics.some(e=>e.category===Ce.Warning)?e.warn(`Deepkit Type reflection transpilation warnings: ${t.path} \n ${r.diagnostics.filter(e=>e.category===Ce.Warning).map(e=>`-${e.file?`${e.file.fileName}:`:``} ${de(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
16
+ `)}`):e.debug(`Deepkit Type reflection transpilation diagnostics: ${t.path} \n ${r.diagnostics.map(e=>`-${e.file?`${e.file.fileName}:`:``} ${de(e.messageText)?e.messageText:e.messageText.messageText} (at ${e.start}:${e.length})`).join(`
17
+ `)}`);return{contents:r.outputText,loader:`ts`,pluginData:{isReflected:!0}}})}});async function En(e,t,n={}){return(0,u.reflect)(await gn(e,t,o(n,{plugins:[Tn(e)]})))}function Dn(e,t){return jn(e,{type:(0,u.merge)(t.map(e=>e.type))})}function On(e,t){return Mn(e,{type:(0,u.merge)(t.map(e=>e.type))})}var kn=class{PLATFORM=`neutral`;MODE=`production`;DEBUG=!1;TEST=!1;MINIMAL=!1;NO_COLOR=!1;FORCE_COLOR=!1;FORCE_HYPERLINK=!1;STACKTRACE=!1;INCLUDE_ERROR_DATA=!1;CI=!1},An=class{};function jn(e,t={}){let n=t.superReflection??new u.ReflectionClass({kind:u.ReflectionKind.class,description:`The base environment configuration definition for the ${s(e.config.name)} project.`,classType:kn,types:[],implements:[{kind:u.ReflectionKind.objectLiteral,typeName:`EnvInterface`,description:`The environment configuration interface definition for the ${s(e.config.name)} project.`,types:[]}]});n.name=`Env`;let r=new u.ReflectionClass(t.type??{kind:u.ReflectionKind.objectLiteral,typeName:`Env`,description:`A schema describing the list of available environment variables that can be used by the ${e.config.name?`${s(e.config.name)} application`:`application`}.`,types:[]},n);return r.name=`Env`,r}function Mn(e,t={}){let n=t.superReflection??new u.ReflectionClass({kind:u.ReflectionKind.class,description:`The base secrets configuration definition for the ${s(e.config.name)} project.`,classType:An,types:[],implements:[{kind:u.ReflectionKind.objectLiteral,typeName:`SecretsInterface`,description:`The secrets configuration interface definition for the ${s(e.config.name)} project.`,types:[]}]});n.name=`Secrets`;let r=new u.ReflectionClass(t.type??{kind:u.ReflectionKind.objectLiteral,typeName:`Secrets`,description:`A schema describing the list of available environment secrets that can be used by the ${e.config.name?`${s(e.config.name)} application`:`application`}.`,types:[]},n);return r.name=`Secrets`,r}async function Nn(e,t,n){let r;t&&(r=(0,u.resolveClassType)(await En(e,{file:ne(t,e.workspaceConfig.workspaceRoot)?t:i(e.workspaceConfig.workspaceRoot,t),name:n},{skipNodeModulesBundle:!0})));let a=await En(e,await In(e));return Dn(e,[await zn(e,`env`),r,(0,u.resolveClassType)(a)].filter(Boolean))}async function Pn(e,t,n){let r;t&&(r=(0,u.resolveClassType)(await En(e,{file:ne(t,e.workspaceConfig.workspaceRoot)?t:i(e.workspaceConfig.workspaceRoot,t),name:n},{skipNodeModulesBundle:!0})));let a=await En(e,await Ln(e));return On(e,[await Hn(e),r,(0,u.resolveClassType)(a)].filter(Boolean))}async function Fn(e){return ve(`@powerlines/plugin-env/types/runtime`,{paths:[e.workspaceConfig.workspaceRoot,i(e.workspaceConfig.workspaceRoot,e.config.projectRoot)]})}async function In(e){return{file:await Fn(e),name:`EnvInterface`}}async function Ln(e){return{file:await Fn(e),name:`SecretsInterface`}}function Rn(e,t=`env`){return i(fn(e),`env`,`${t}-types.bin`)}async function zn(e,t=`env`){let n=Rn(e,t);if(!_e(n)){if(!e.env.types.env||ye(e.env.types.env)){let n=jn(e),r=new c.Message;n.messageRoot=r.initRoot(Z),n.dataBuffer=r.toArrayBuffer(),e.env.types.env=n,await Bn(e,e.env.types.env,t)}return e.env.types.env}let r=await me(n),i=new c.Message(r,!1).getRoot(Z),a=(0,u.resolveClassType)((0,u.deserializeType)(tt(i.types)));return e.env.types[t]=a,e.env.types[t].messageRoot=i,e.env.types[t].dataBuffer=r,a}async function Bn(e,t,n=`env`){let r=t.serializeType(),i=new c.Message;et(r,i.initRoot(Z)._initTypes(r.length)),await he(Rn(e,n),i.toArrayBuffer())}function $(e,t){return i(fn(e),`env`,`${t}.bin`)}async function Vn(e){let t=$(e,`env`);if(!_e(t)){if(e.env.types.env||(e.env.types.env=await zn(e,`env`)),!e.env.used.env||ye(e.env.used.env)){let t=jn(e,{type:{kind:u.ReflectionKind.objectLiteral,typeName:`Env`,description:`An object containing the environment configuration parameters that are used (at least once) by the ${e.config.name?`${e.config.name} application`:`application`}.`,types:[]},superReflection:e.env.types.env});t.name=`Env`;let n=new c.Message;t.messageRoot=n.initRoot(Z),t.dataBuffer=n.toArrayBuffer(),e.env.used.env=t,await Un(e,e.env.used.env,`env`)}return e.env.used.env}let n=await me(t),r=new c.Message(n,!1).getRoot(Z),i=(0,u.resolveClassType)((0,u.deserializeType)(tt(r.types)));return e.env.used.env=i,e.env.used.env.messageRoot=r,e.env.used.env.dataBuffer=n,i}async function Hn(e){let t=$(e,`secrets`);if(!_e(t)){if(e.env.types.secrets||(e.env.types.secrets=await zn(e,`secrets`)),!e.env.used.secrets||ye(e.env.used.secrets)){let t=jn(e,{type:{kind:u.ReflectionKind.objectLiteral,typeName:`Secrets`,description:`An object containing the secret configuration parameters that are used (at least once) by the ${e.config.name?`${e.config.name} application`:`application`}.`,types:[]},superReflection:e.env.types.secrets});t.name=`Secrets`;let n=new c.Message;t.messageRoot=n.initRoot(Z),t.dataBuffer=n.toArrayBuffer(),e.env.used.secrets=t,await Un(e,e.env.used.secrets,`secrets`)}return e.env.used.secrets}let n=await me(t),r=new c.Message(n,!1).getRoot(Z),i=(0,u.resolveClassType)((0,u.deserializeType)(tt(r.types)));return e.env.used.secrets=i,e.env.used.secrets.messageRoot=r,e.env.used.secrets.dataBuffer=n,i}async function Un(e,t,n=`env`){let r=t.serializeType(),i=new c.Message;et(r,i.initRoot(Z)._initTypes(r.length)),await he($(e,n),i.toArrayBuffer())}function Wn(e,t,n=`env`){let r=t.serializeType(),i=new c.Message;et(r,i.initRoot(Z)._initTypes(r.length)),ge($(e,n),i.toArrayBuffer())}function Gn(e){if(oe(e)){let t=ce.reduce((e,t)=>(e.startsWith(t)&&(e=e.slice(t.length)),e),e.toUpperCase());for(;t.startsWith(`_`);)t=t.slice(1);return t}return Object.keys(e).reduce((t,n)=>{let r=Gn(n);return r&&(t[r]=e[n]),t},{})}function Kn(e){return l(Gn(e))}async function qn(e,t,n){let r=await Ee(n,t);if(e.additionalFiles&&e.additionalFiles?.length>0){let t=await Promise.all(e.additionalFiles.map(async e=>De(e,n)));for(let e of t)r=o(e,r)}return Gn(r)}async function Jn(e,t,n,r,a,te){let[ne,re]=await Promise.all([qn(e,n,t),ee({cwd:t,name:`storm`,envName:n,defaults:{NAME:a.name?.replace(`@${te.namespace}/`,``),MODE:n,ORG:te.organization},globalRc:!0,packageJson:!0,dotenv:!0,jitiOptions:{fsCache:i(r,`jiti`),moduleCache:!0}})]);return o(ne,re.config,te)}function Yn(e,t){return o({APP_NAME:ae(e.config.name||e.packageJson.name?.replace(`/${e.workspaceConfig.namespace}`,``)),APP_VERSION:e.packageJson.version,BUILD_ID:e.meta.buildId,BUILD_TIMESTAMP:new Date(e.meta.timestamp).toISOString(),BUILD_CHECKSUM:e.meta.checksum,RELEASE_ID:e.meta.releaseId,RELEASE_TAG:`${ae(e.config.name)}@${e.packageJson.version}`,DEFAULT_LOCALE:e.workspaceConfig.locale,DEFAULT_TIMEZONE:e.workspaceConfig.timezone,LOG_LEVEL:e.config.logLevel,ERROR_URL:e.workspaceConfig.error?.url,ORGANIZATION:ie(e.workspaceConfig.organization)?e.workspaceConfig.organization:e.workspaceConfig.organization?.name,PLATFORM:e.config.build.platform,MODE:e.workspaceConfig.mode,DEBUG:e.workspaceConfig.mode===`development`,STACKTRACE:e.workspaceConfig.mode===`development`,ENVIRONMENT:e.environment},re(e?.env?.types?.env)?e.env.types.env?.getProperties().reduce((e,n)=>(e[n.name]=t[n.name]??n.getDefaultValue(),e),{}):{})}async function Xn(e,t){let[n,r,i]=await Promise.all([Jn(t,e.config.projectRoot,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig),Jn(t,e.workspaceConfig.workspaceRoot,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig),Jn(t,e.envPaths.config,e.config.mode,e.cachePath,e.packageJson,e.workspaceConfig)]);return o(Yn(e,process.env),n,r,i)}function Zn(e){let t=we(()=>e&&Yn(e,process.env));return Te(async()=>{if(!e)return new u.ReflectionClass({kind:u.ReflectionKind.objectLiteral,description:`The initial environment configuration state for the Powerlines project.`,types:[]});let n=await zn(e,`env`);return n.getProperties().forEach(e=>{e.getAlias().filter(Boolean).forEach(t=>{n.addProperty({name:t,optional:e.isOptional()?!0:void 0,readonly:e.isReadonly()?!0:void 0,description:e.getDescription(),visibility:e.getVisibility(),type:e.getType(),default:e.getDefaultValue(),tags:{hidden:e.isHidden(),ignore:e.isIgnored(),internal:e.isInternal(),alias:e.getAlias().filter(e=>e!==t).concat(e.name),title:e.getTitle()||s(e.name),readonly:e.isReadonly(),permission:e.getPermission(),domain:e.getDomain()}})})}),n.getProperties().forEach(e=>{e.setDefaultValue(t.value?.[e.getNameAsString()]??e.getAlias().reduce((e,n)=>e??t.value?.[n],void 0)??e.getDefaultValue())}),n})}export{Nn as C,u as D,tt as E,On as S,Z as T,kn as _,Gn as a,Mn as b,Rn as c,zn as d,Hn as f,Bn as g,Wn as h,Kn as i,Ln as l,Un as m,Xn as n,In as o,Fn as p,Yn as r,$ as s,Zn as t,Vn as u,An as v,Pn as w,Dn as x,jn as y};