@stryke/capnp 0.12.33 → 0.12.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/README.md +18 -9
  2. package/bin/capnpc.cjs +9 -8305
  3. package/bin/capnpc.d.cts +4 -2
  4. package/bin/capnpc.d.cts.map +1 -0
  5. package/bin/capnpc.d.mts +8 -0
  6. package/bin/capnpc.d.mts.map +1 -0
  7. package/bin/capnpc.mjs +11 -0
  8. package/bin/capnpc.mjs.map +1 -0
  9. package/dist/compile-DN7i0G3X.d.mts +40 -0
  10. package/dist/compile-DN7i0G3X.d.mts.map +1 -0
  11. package/dist/compile-DOMgXQRn.cjs +1 -0
  12. package/dist/compile-DccxA7WZ.d.cts +40 -0
  13. package/dist/compile-DccxA7WZ.d.cts.map +1 -0
  14. package/dist/compile-cQ918Wl_.mjs +2 -0
  15. package/dist/compile-cQ918Wl_.mjs.map +1 -0
  16. package/dist/compile.cjs +1 -11
  17. package/dist/compile.d.cts +3 -39
  18. package/dist/compile.d.mts +3 -0
  19. package/dist/compile.mjs +1 -0
  20. package/dist/dist-BzGdCkHS.cjs +1 -0
  21. package/dist/dist-CvDcvswe.mjs +2 -0
  22. package/dist/dist-CvDcvswe.mjs.map +1 -0
  23. package/dist/helpers-BIiGufva.cjs +6 -0
  24. package/dist/helpers-BYBeqv2d.mjs +7 -0
  25. package/dist/helpers-BYBeqv2d.mjs.map +1 -0
  26. package/dist/helpers.cjs +1 -7
  27. package/dist/helpers.d.cts +5 -4
  28. package/dist/helpers.d.cts.map +1 -0
  29. package/dist/{helpers.d.ts → helpers.d.mts} +5 -4
  30. package/dist/helpers.d.mts.map +1 -0
  31. package/dist/helpers.mjs +1 -0
  32. package/dist/index.cjs +1 -134
  33. package/dist/index.d.cts +4 -6
  34. package/dist/index.d.mts +4 -0
  35. package/dist/index.mjs +1 -0
  36. package/dist/rpc.cjs +1 -139
  37. package/dist/rpc.d.cts +62 -59
  38. package/dist/rpc.d.cts.map +1 -0
  39. package/dist/rpc.d.mts +74 -0
  40. package/dist/rpc.d.mts.map +1 -0
  41. package/dist/rpc.mjs +2 -0
  42. package/dist/rpc.mjs.map +1 -0
  43. package/dist/types-B2gKzfwi.cjs +1 -0
  44. package/dist/types-D52qMMoK.d.cts +55 -0
  45. package/dist/types-D52qMMoK.d.cts.map +1 -0
  46. package/dist/types-DBd3Wi0H.d.mts +55 -0
  47. package/dist/types-DBd3Wi0H.d.mts.map +1 -0
  48. package/dist/types-y_yfxLs5.mjs +2 -0
  49. package/dist/types-y_yfxLs5.mjs.map +1 -0
  50. package/dist/types.cjs +1 -7
  51. package/dist/types.d.cts +2 -53
  52. package/dist/types.d.mts +2 -0
  53. package/dist/types.mjs +1 -0
  54. package/package.json +42 -69
  55. package/schemas/cpp.cjs +1 -7
  56. package/schemas/cpp.d.cts +3 -1
  57. package/schemas/cpp.d.cts.map +1 -0
  58. package/schemas/cpp.d.mts +5 -0
  59. package/schemas/cpp.d.mts.map +1 -0
  60. package/schemas/cpp.mjs +2 -0
  61. package/schemas/cpp.mjs.map +1 -0
  62. package/schemas/index-CDymg4xL.d.mts +96 -0
  63. package/schemas/index-CDymg4xL.d.mts.map +1 -0
  64. package/schemas/index-b7dam4EA.d.cts +96 -0
  65. package/schemas/index-b7dam4EA.d.cts.map +1 -0
  66. package/schemas/persistent.cjs +1 -171
  67. package/schemas/persistent.d.cts +55 -55
  68. package/schemas/persistent.d.cts.map +1 -0
  69. package/schemas/{persistent.d.ts → persistent.d.mts} +55 -55
  70. package/schemas/persistent.d.mts.map +1 -0
  71. package/schemas/persistent.mjs +2 -0
  72. package/schemas/persistent.mjs.map +1 -0
  73. package/schemas/rpc-twoparty.cjs +1 -209
  74. package/schemas/rpc-twoparty.d.cts +76 -74
  75. package/schemas/rpc-twoparty.d.cts.map +1 -0
  76. package/schemas/{rpc-twoparty.d.ts → rpc-twoparty.d.mts} +76 -74
  77. package/schemas/rpc-twoparty.d.mts.map +1 -0
  78. package/schemas/rpc-twoparty.mjs +2 -0
  79. package/schemas/rpc-twoparty.mjs.map +1 -0
  80. package/schemas/rpc.cjs +1 -2563
  81. package/schemas/rpc.d.cts +749 -747
  82. package/schemas/rpc.d.cts.map +1 -0
  83. package/schemas/{rpc.d.ts → rpc.d.mts} +749 -747
  84. package/schemas/rpc.d.mts.map +1 -0
  85. package/schemas/rpc.mjs +2 -0
  86. package/schemas/rpc.mjs.map +1 -0
  87. package/schemas/schema.cjs +1 -2718
  88. package/schemas/schema.d.cts +984 -982
  89. package/schemas/schema.d.cts.map +1 -0
  90. package/schemas/schema.d.mts +1456 -0
  91. package/schemas/schema.d.mts.map +1 -0
  92. package/schemas/schema.mjs +2 -0
  93. package/schemas/schema.mjs.map +1 -0
  94. package/schemas/src-CtkguuVd.mjs +7 -0
  95. package/schemas/src-CtkguuVd.mjs.map +1 -0
  96. package/schemas/src-DqnIPdOg.cjs +6 -0
  97. package/schemas/ts.cjs +1 -7
  98. package/schemas/ts.d.cts +3 -1
  99. package/schemas/ts.d.cts.map +1 -0
  100. package/schemas/ts.d.mts +5 -0
  101. package/schemas/ts.d.mts.map +1 -0
  102. package/schemas/ts.mjs +2 -0
  103. package/schemas/ts.mjs.map +1 -0
  104. package/bin/capnpc.d.ts +0 -6
  105. package/bin/capnpc.js +0 -8274
  106. package/dist/chunk-CCU32X36.js +0 -15
  107. package/dist/chunk-CR6KAGBK.cjs +0 -1083
  108. package/dist/chunk-GI42NGKQ.js +0 -3305
  109. package/dist/chunk-KMCJ5MIQ.cjs +0 -3305
  110. package/dist/chunk-KZJ47RES.cjs +0 -4107
  111. package/dist/chunk-LFP6TIPQ.cjs +0 -4760
  112. package/dist/chunk-PLGAFYIA.js +0 -4107
  113. package/dist/chunk-R2JXWA7Q.cjs +0 -15
  114. package/dist/chunk-SHUYVCID.js +0 -6
  115. package/dist/chunk-UGPSEAIJ.js +0 -1083
  116. package/dist/chunk-USNT2KNT.cjs +0 -6
  117. package/dist/chunk-ZIENMW4V.js +0 -4760
  118. package/dist/compile.d.ts +0 -39
  119. package/dist/compile.js +0 -11
  120. package/dist/helpers.js +0 -7
  121. package/dist/index.d.ts +0 -6
  122. package/dist/index.js +0 -134
  123. package/dist/rpc.d.ts +0 -71
  124. package/dist/rpc.js +0 -139
  125. package/dist/types.d.ts +0 -53
  126. package/dist/types.js +0 -7
  127. package/schemas/chunk-RNSYVJGA.cjs +0 -4700
  128. package/schemas/chunk-SHUYVCID.js +0 -6
  129. package/schemas/chunk-SW2MRW3B.js +0 -4700
  130. package/schemas/chunk-USNT2KNT.cjs +0 -6
  131. package/schemas/cpp.d.ts +0 -3
  132. package/schemas/cpp.js +0 -7
  133. package/schemas/persistent.js +0 -171
  134. package/schemas/rpc-twoparty.js +0 -209
  135. package/schemas/rpc.js +0 -2563
  136. package/schemas/schema.d.ts +0 -1454
  137. package/schemas/schema.js +0 -2718
  138. package/schemas/ts.d.ts +0 -3
  139. package/schemas/ts.js +0 -7
@@ -1,56 +1,57 @@
1
- import { Struct, ObjectSize, ListCtor, Orphan, List, Data, Pointer } from 'capnp-es';
1
+ import { t as index_d_exports } from "./index-b7dam4EA.cjs";
2
2
 
3
+ //#region schemas/schema.d.ts
3
4
  declare const _capnpFileId: bigint;
4
5
  /**
5
6
  * Information about one of the node's parameters.
6
7
  *
7
8
  */
8
- declare class Node_Parameter extends Struct {
9
- static readonly _capnp: {
10
- displayName: string;
11
- id: string;
12
- size: ObjectSize;
13
- };
14
- get name(): string;
15
- set name(value: string);
16
- toString(): string;
9
+ declare class Node_Parameter extends index_d_exports.Struct {
10
+ static readonly _capnp: {
11
+ displayName: string;
12
+ id: string;
13
+ size: index_d_exports.ObjectSize;
14
+ };
15
+ get name(): string;
16
+ set name(value: string);
17
+ toString(): string;
17
18
  }
18
- declare class Node_NestedNode extends Struct {
19
- static readonly _capnp: {
20
- displayName: string;
21
- id: string;
22
- size: ObjectSize;
23
- };
24
- /**
19
+ declare class Node_NestedNode extends index_d_exports.Struct {
20
+ static readonly _capnp: {
21
+ displayName: string;
22
+ id: string;
23
+ size: index_d_exports.ObjectSize;
24
+ };
25
+ /**
25
26
  * Unqualified symbol name. Unlike Node.displayName, this *can* be used programmatically.
26
27
  *
27
28
  * (On Zooko's triangle, this is the node's petname according to its parent scope.)
28
29
  *
29
30
  */
30
- get name(): string;
31
- set name(value: string);
32
- /**
31
+ get name(): string;
32
+ set name(value: string);
33
+ /**
33
34
  * ID of the nested node. Typically, the target node's scopeId points back to this node, but
34
35
  * robust code should avoid relying on this.
35
36
  *
36
37
  */
37
- get id(): bigint;
38
- set id(value: bigint);
39
- toString(): string;
38
+ get id(): bigint;
39
+ set id(value: bigint);
40
+ toString(): string;
40
41
  }
41
- declare class Node_SourceInfo_Member extends Struct {
42
- static readonly _capnp: {
43
- displayName: string;
44
- id: string;
45
- size: ObjectSize;
46
- };
47
- /**
42
+ declare class Node_SourceInfo_Member extends index_d_exports.Struct {
43
+ static readonly _capnp: {
44
+ displayName: string;
45
+ id: string;
46
+ size: index_d_exports.ObjectSize;
47
+ };
48
+ /**
48
49
  * Doc comment on the member.
49
50
  *
50
51
  */
51
- get docComment(): string;
52
- set docComment(value: string);
53
- toString(): string;
52
+ get docComment(): string;
53
+ set docComment(value: string);
54
+ toString(): string;
54
55
  }
55
56
  /**
56
57
  * Additional information about a node which is not needed at runtime, but may be useful for
@@ -59,29 +60,29 @@ declare class Node_SourceInfo_Member extends Struct {
59
60
  * `CodeGeneratorRequest` includes this information in a separate array.
60
61
  *
61
62
  */
62
- declare class Node_SourceInfo extends Struct {
63
- static readonly Member: typeof Node_SourceInfo_Member;
64
- static readonly _capnp: {
65
- displayName: string;
66
- id: string;
67
- size: ObjectSize;
68
- };
69
- static _Members: ListCtor<Node_SourceInfo_Member>;
70
- /**
63
+ declare class Node_SourceInfo extends index_d_exports.Struct {
64
+ static readonly Member: typeof Node_SourceInfo_Member;
65
+ static readonly _capnp: {
66
+ displayName: string;
67
+ id: string;
68
+ size: index_d_exports.ObjectSize;
69
+ };
70
+ static _Members: index_d_exports.ListCtor<Node_SourceInfo_Member>;
71
+ /**
71
72
  * ID of the Node which this info describes.
72
73
  *
73
74
  */
74
- get id(): bigint;
75
- set id(value: bigint);
76
- /**
75
+ get id(): bigint;
76
+ set id(value: bigint);
77
+ /**
77
78
  * The top-level doc comment for the Node.
78
79
  *
79
80
  */
80
- get docComment(): string;
81
- set docComment(value: string);
82
- _adoptMembers(value: Orphan<List<Node_SourceInfo_Member>>): void;
83
- _disownMembers(): Orphan<List<Node_SourceInfo_Member>>;
84
- /**
81
+ get docComment(): string;
82
+ set docComment(value: string);
83
+ _adoptMembers(value: index_d_exports.Orphan<index_d_exports.List<Node_SourceInfo_Member>>): void;
84
+ _disownMembers(): index_d_exports.Orphan<index_d_exports.List<Node_SourceInfo_Member>>;
85
+ /**
85
86
  * Information about each member -- i.e. fields (for structs), enumerants (for enums), or
86
87
  * methods (for interfaces).
87
88
  *
@@ -89,40 +90,40 @@ declare class Node_SourceInfo extends Struct {
89
90
  * Node.struct.fields, Node.enum.enumerants, or Node.interface.methods.
90
91
  *
91
92
  */
92
- get members(): List<Node_SourceInfo_Member>;
93
- _hasMembers(): boolean;
94
- _initMembers(length: number): List<Node_SourceInfo_Member>;
95
- set members(value: List<Node_SourceInfo_Member>);
96
- toString(): string;
93
+ get members(): index_d_exports.List<Node_SourceInfo_Member>;
94
+ _hasMembers(): boolean;
95
+ _initMembers(length: number): index_d_exports.List<Node_SourceInfo_Member>;
96
+ set members(value: index_d_exports.List<Node_SourceInfo_Member>);
97
+ toString(): string;
97
98
  }
98
- declare class Node_Struct extends Struct {
99
- static readonly _capnp: {
100
- displayName: string;
101
- id: string;
102
- size: ObjectSize;
103
- };
104
- static _Fields: ListCtor<Field>;
105
- /**
99
+ declare class Node_Struct extends index_d_exports.Struct {
100
+ static readonly _capnp: {
101
+ displayName: string;
102
+ id: string;
103
+ size: index_d_exports.ObjectSize;
104
+ };
105
+ static _Fields: index_d_exports.ListCtor<Field>;
106
+ /**
106
107
  * Size of the data section, in words.
107
108
  *
108
109
  */
109
- get dataWordCount(): number;
110
- set dataWordCount(value: number);
111
- /**
110
+ get dataWordCount(): number;
111
+ set dataWordCount(value: number);
112
+ /**
112
113
  * Size of the pointer section, in pointers (which are one word each).
113
114
  *
114
115
  */
115
- get pointerCount(): number;
116
- set pointerCount(value: number);
117
- /**
116
+ get pointerCount(): number;
117
+ set pointerCount(value: number);
118
+ /**
118
119
  * The preferred element size to use when encoding a list of this struct. If this is anything
119
120
  * other than `inlineComposite` then the struct is one word or less in size and is a candidate
120
121
  * for list packing optimization.
121
122
  *
122
123
  */
123
- get preferredListEncoding(): ElementSize;
124
- set preferredListEncoding(value: ElementSize);
125
- /**
124
+ get preferredListEncoding(): ElementSize;
125
+ set preferredListEncoding(value: ElementSize);
126
+ /**
126
127
  * If true, then this "struct" node is actually not an independent node, but merely represents
127
128
  * some named union or group within a particular parent struct. This node's scopeId refers
128
129
  * to the parent struct, which may itself be a union/group in yet another struct.
@@ -135,9 +136,9 @@ declare class Node_Struct extends Struct {
135
136
  * is exactly equivalent to a group that contains nothing but an unnamed union.
136
137
  *
137
138
  */
138
- get isGroup(): boolean;
139
- set isGroup(value: boolean);
140
- /**
139
+ get isGroup(): boolean;
140
+ set isGroup(value: boolean);
141
+ /**
141
142
  * Number of fields in this struct which are members of an anonymous union, and thus may
142
143
  * overlap. If this is non-zero, then a 16-bit discriminant is present indicating which
143
144
  * of the overlapping fields is active. This can never be 1 -- if it is non-zero, it must be
@@ -150,18 +151,18 @@ declare class Node_Struct extends Struct {
150
151
  * `isGroup` = true.
151
152
  *
152
153
  */
153
- get discriminantCount(): number;
154
- set discriminantCount(value: number);
155
- /**
154
+ get discriminantCount(): number;
155
+ set discriminantCount(value: number);
156
+ /**
156
157
  * If `discriminantCount` is non-zero, this is the offset of the union discriminant, in
157
158
  * multiples of 16 bits.
158
159
  *
159
160
  */
160
- get discriminantOffset(): number;
161
- set discriminantOffset(value: number);
162
- _adoptFields(value: Orphan<List<Field>>): void;
163
- _disownFields(): Orphan<List<Field>>;
164
- /**
161
+ get discriminantOffset(): number;
162
+ set discriminantOffset(value: number);
163
+ _adoptFields(value: index_d_exports.Orphan<index_d_exports.List<Field>>): void;
164
+ _disownFields(): index_d_exports.Orphan<index_d_exports.List<Field>>;
165
+ /**
165
166
  * Fields defined within this scope (either the struct's top-level fields, or the fields of
166
167
  * a particular group; see `isGroup`).
167
168
  *
@@ -173,136 +174,136 @@ declare class Node_Struct extends Struct {
173
174
  * most sense to use the field's index in this list rather than its ordinal.
174
175
  *
175
176
  */
176
- get fields(): List<Field>;
177
- _hasFields(): boolean;
178
- _initFields(length: number): List<Field>;
179
- set fields(value: List<Field>);
180
- toString(): string;
177
+ get fields(): index_d_exports.List<Field>;
178
+ _hasFields(): boolean;
179
+ _initFields(length: number): index_d_exports.List<Field>;
180
+ set fields(value: index_d_exports.List<Field>);
181
+ toString(): string;
181
182
  }
182
- declare class Node_Enum extends Struct {
183
- static readonly _capnp: {
184
- displayName: string;
185
- id: string;
186
- size: ObjectSize;
187
- };
188
- static _Enumerants: ListCtor<Enumerant>;
189
- _adoptEnumerants(value: Orphan<List<Enumerant>>): void;
190
- _disownEnumerants(): Orphan<List<Enumerant>>;
191
- /**
183
+ declare class Node_Enum extends index_d_exports.Struct {
184
+ static readonly _capnp: {
185
+ displayName: string;
186
+ id: string;
187
+ size: index_d_exports.ObjectSize;
188
+ };
189
+ static _Enumerants: index_d_exports.ListCtor<Enumerant>;
190
+ _adoptEnumerants(value: index_d_exports.Orphan<index_d_exports.List<Enumerant>>): void;
191
+ _disownEnumerants(): index_d_exports.Orphan<index_d_exports.List<Enumerant>>;
192
+ /**
192
193
  * Enumerants ordered by numeric value (ordinal).
193
194
  *
194
195
  */
195
- get enumerants(): List<Enumerant>;
196
- _hasEnumerants(): boolean;
197
- _initEnumerants(length: number): List<Enumerant>;
198
- set enumerants(value: List<Enumerant>);
199
- toString(): string;
196
+ get enumerants(): index_d_exports.List<Enumerant>;
197
+ _hasEnumerants(): boolean;
198
+ _initEnumerants(length: number): index_d_exports.List<Enumerant>;
199
+ set enumerants(value: index_d_exports.List<Enumerant>);
200
+ toString(): string;
200
201
  }
201
- declare class Node_Interface extends Struct {
202
- static readonly _capnp: {
203
- displayName: string;
204
- id: string;
205
- size: ObjectSize;
206
- };
207
- static _Methods: ListCtor<Method>;
208
- static _Superclasses: ListCtor<Superclass>;
209
- _adoptMethods(value: Orphan<List<Method>>): void;
210
- _disownMethods(): Orphan<List<Method>>;
211
- /**
202
+ declare class Node_Interface extends index_d_exports.Struct {
203
+ static readonly _capnp: {
204
+ displayName: string;
205
+ id: string;
206
+ size: index_d_exports.ObjectSize;
207
+ };
208
+ static _Methods: index_d_exports.ListCtor<Method>;
209
+ static _Superclasses: index_d_exports.ListCtor<Superclass>;
210
+ _adoptMethods(value: index_d_exports.Orphan<index_d_exports.List<Method>>): void;
211
+ _disownMethods(): index_d_exports.Orphan<index_d_exports.List<Method>>;
212
+ /**
212
213
  * Methods ordered by ordinal.
213
214
  *
214
215
  */
215
- get methods(): List<Method>;
216
- _hasMethods(): boolean;
217
- _initMethods(length: number): List<Method>;
218
- set methods(value: List<Method>);
219
- _adoptSuperclasses(value: Orphan<List<Superclass>>): void;
220
- _disownSuperclasses(): Orphan<List<Superclass>>;
221
- /**
216
+ get methods(): index_d_exports.List<Method>;
217
+ _hasMethods(): boolean;
218
+ _initMethods(length: number): index_d_exports.List<Method>;
219
+ set methods(value: index_d_exports.List<Method>);
220
+ _adoptSuperclasses(value: index_d_exports.Orphan<index_d_exports.List<Superclass>>): void;
221
+ _disownSuperclasses(): index_d_exports.Orphan<index_d_exports.List<Superclass>>;
222
+ /**
222
223
  * Superclasses of this interface.
223
224
  *
224
225
  */
225
- get superclasses(): List<Superclass>;
226
- _hasSuperclasses(): boolean;
227
- _initSuperclasses(length: number): List<Superclass>;
228
- set superclasses(value: List<Superclass>);
229
- toString(): string;
226
+ get superclasses(): index_d_exports.List<Superclass>;
227
+ _hasSuperclasses(): boolean;
228
+ _initSuperclasses(length: number): index_d_exports.List<Superclass>;
229
+ set superclasses(value: index_d_exports.List<Superclass>);
230
+ toString(): string;
230
231
  }
231
- declare class Node_Const extends Struct {
232
- static readonly _capnp: {
233
- displayName: string;
234
- id: string;
235
- size: ObjectSize;
236
- };
237
- _adoptType(value: Orphan<Type>): void;
238
- _disownType(): Orphan<Type>;
239
- get type(): Type;
240
- _hasType(): boolean;
241
- _initType(): Type;
242
- set type(value: Type);
243
- _adoptValue(value: Orphan<Value>): void;
244
- _disownValue(): Orphan<Value>;
245
- get value(): Value;
246
- _hasValue(): boolean;
247
- _initValue(): Value;
248
- set value(value: Value);
249
- toString(): string;
232
+ declare class Node_Const extends index_d_exports.Struct {
233
+ static readonly _capnp: {
234
+ displayName: string;
235
+ id: string;
236
+ size: index_d_exports.ObjectSize;
237
+ };
238
+ _adoptType(value: index_d_exports.Orphan<Type>): void;
239
+ _disownType(): index_d_exports.Orphan<Type>;
240
+ get type(): Type;
241
+ _hasType(): boolean;
242
+ _initType(): Type;
243
+ set type(value: Type);
244
+ _adoptValue(value: index_d_exports.Orphan<Value>): void;
245
+ _disownValue(): index_d_exports.Orphan<Value>;
246
+ get value(): Value;
247
+ _hasValue(): boolean;
248
+ _initValue(): Value;
249
+ set value(value: Value);
250
+ toString(): string;
250
251
  }
251
- declare class Node_Annotation extends Struct {
252
- static readonly _capnp: {
253
- displayName: string;
254
- id: string;
255
- size: ObjectSize;
256
- };
257
- _adoptType(value: Orphan<Type>): void;
258
- _disownType(): Orphan<Type>;
259
- get type(): Type;
260
- _hasType(): boolean;
261
- _initType(): Type;
262
- set type(value: Type);
263
- get targetsFile(): boolean;
264
- set targetsFile(value: boolean);
265
- get targetsConst(): boolean;
266
- set targetsConst(value: boolean);
267
- get targetsEnum(): boolean;
268
- set targetsEnum(value: boolean);
269
- get targetsEnumerant(): boolean;
270
- set targetsEnumerant(value: boolean);
271
- get targetsStruct(): boolean;
272
- set targetsStruct(value: boolean);
273
- get targetsField(): boolean;
274
- set targetsField(value: boolean);
275
- get targetsUnion(): boolean;
276
- set targetsUnion(value: boolean);
277
- get targetsGroup(): boolean;
278
- set targetsGroup(value: boolean);
279
- get targetsInterface(): boolean;
280
- set targetsInterface(value: boolean);
281
- get targetsMethod(): boolean;
282
- set targetsMethod(value: boolean);
283
- get targetsParam(): boolean;
284
- set targetsParam(value: boolean);
285
- get targetsAnnotation(): boolean;
286
- set targetsAnnotation(value: boolean);
287
- toString(): string;
252
+ declare class Node_Annotation extends index_d_exports.Struct {
253
+ static readonly _capnp: {
254
+ displayName: string;
255
+ id: string;
256
+ size: index_d_exports.ObjectSize;
257
+ };
258
+ _adoptType(value: index_d_exports.Orphan<Type>): void;
259
+ _disownType(): index_d_exports.Orphan<Type>;
260
+ get type(): Type;
261
+ _hasType(): boolean;
262
+ _initType(): Type;
263
+ set type(value: Type);
264
+ get targetsFile(): boolean;
265
+ set targetsFile(value: boolean);
266
+ get targetsConst(): boolean;
267
+ set targetsConst(value: boolean);
268
+ get targetsEnum(): boolean;
269
+ set targetsEnum(value: boolean);
270
+ get targetsEnumerant(): boolean;
271
+ set targetsEnumerant(value: boolean);
272
+ get targetsStruct(): boolean;
273
+ set targetsStruct(value: boolean);
274
+ get targetsField(): boolean;
275
+ set targetsField(value: boolean);
276
+ get targetsUnion(): boolean;
277
+ set targetsUnion(value: boolean);
278
+ get targetsGroup(): boolean;
279
+ set targetsGroup(value: boolean);
280
+ get targetsInterface(): boolean;
281
+ set targetsInterface(value: boolean);
282
+ get targetsMethod(): boolean;
283
+ set targetsMethod(value: boolean);
284
+ get targetsParam(): boolean;
285
+ set targetsParam(value: boolean);
286
+ get targetsAnnotation(): boolean;
287
+ set targetsAnnotation(value: boolean);
288
+ toString(): string;
288
289
  }
289
290
  declare const Node_Which: {
290
- readonly FILE: 0;
291
- /**
291
+ readonly FILE: 0;
292
+ /**
292
293
  * Name to present to humans to identify this Node. You should not attempt to parse this. Its
293
294
  * format could change. It is not guaranteed to be unique.
294
295
  *
295
296
  * (On Zooko's triangle, this is the node's nickname.)
296
297
  *
297
298
  */
298
- readonly STRUCT: 1;
299
- /**
299
+ readonly STRUCT: 1;
300
+ /**
300
301
  * If you want a shorter version of `displayName` (just naming this node, without its surrounding
301
302
  * scope), chop off this many characters from the beginning of `displayName`.
302
303
  *
303
304
  */
304
- readonly ENUM: 2;
305
- /**
305
+ readonly ENUM: 2;
306
+ /**
306
307
  * ID of the lexical parent node. Typically, the scope node will have a NestedNode pointing back
307
308
  * at this node, but robust code should avoid relying on this (and, in fact, group nodes are not
308
309
  * listed in the outer struct's nestedNodes, since they are listed in the fields). `scopeId` is
@@ -310,56 +311,56 @@ declare const Node_Which: {
310
311
  * allowed for any kind of node (in order to make runtime type generation easier).
311
312
  *
312
313
  */
313
- readonly INTERFACE: 3;
314
- /**
314
+ readonly INTERFACE: 3;
315
+ /**
315
316
  * List of nodes nested within this node, along with the names under which they were declared.
316
317
  *
317
318
  */
318
- readonly CONST: 4;
319
- /**
319
+ readonly CONST: 4;
320
+ /**
320
321
  * Annotations applied to this node.
321
322
  *
322
323
  */
323
- readonly ANNOTATION: 5;
324
+ readonly ANNOTATION: 5;
324
325
  };
325
326
  type Node_Which = (typeof Node_Which)[keyof typeof Node_Which];
326
- declare class Node extends Struct {
327
- static readonly FILE: 0;
328
- static readonly STRUCT: 1;
329
- static readonly ENUM: 2;
330
- static readonly INTERFACE: 3;
331
- static readonly CONST: 4;
332
- static readonly ANNOTATION: 5;
333
- static readonly Parameter: typeof Node_Parameter;
334
- static readonly NestedNode: typeof Node_NestedNode;
335
- static readonly SourceInfo: typeof Node_SourceInfo;
336
- static readonly _capnp: {
337
- displayName: string;
338
- id: string;
339
- size: ObjectSize;
340
- };
341
- static _Parameters: ListCtor<Node_Parameter>;
342
- static _NestedNodes: ListCtor<Node_NestedNode>;
343
- static _Annotations: ListCtor<Annotation>;
344
- get id(): bigint;
345
- set id(value: bigint);
346
- /**
327
+ declare class Node extends index_d_exports.Struct {
328
+ static readonly FILE: 0;
329
+ static readonly STRUCT: 1;
330
+ static readonly ENUM: 2;
331
+ static readonly INTERFACE: 3;
332
+ static readonly CONST: 4;
333
+ static readonly ANNOTATION: 5;
334
+ static readonly Parameter: typeof Node_Parameter;
335
+ static readonly NestedNode: typeof Node_NestedNode;
336
+ static readonly SourceInfo: typeof Node_SourceInfo;
337
+ static readonly _capnp: {
338
+ displayName: string;
339
+ id: string;
340
+ size: index_d_exports.ObjectSize;
341
+ };
342
+ static _Parameters: index_d_exports.ListCtor<Node_Parameter>;
343
+ static _NestedNodes: index_d_exports.ListCtor<Node_NestedNode>;
344
+ static _Annotations: index_d_exports.ListCtor<Annotation>;
345
+ get id(): bigint;
346
+ set id(value: bigint);
347
+ /**
347
348
  * Name to present to humans to identify this Node. You should not attempt to parse this. Its
348
349
  * format could change. It is not guaranteed to be unique.
349
350
  *
350
351
  * (On Zooko's triangle, this is the node's nickname.)
351
352
  *
352
353
  */
353
- get displayName(): string;
354
- set displayName(value: string);
355
- /**
354
+ get displayName(): string;
355
+ set displayName(value: string);
356
+ /**
356
357
  * If you want a shorter version of `displayName` (just naming this node, without its surrounding
357
358
  * scope), chop off this many characters from the beginning of `displayName`.
358
359
  *
359
360
  */
360
- get displayNamePrefixLength(): number;
361
- set displayNamePrefixLength(value: number);
362
- /**
361
+ get displayNamePrefixLength(): number;
362
+ set displayNamePrefixLength(value: number);
363
+ /**
363
364
  * ID of the lexical parent node. Typically, the scope node will have a NestedNode pointing back
364
365
  * at this node, but robust code should avoid relying on this (and, in fact, group nodes are not
365
366
  * listed in the outer struct's nestedNodes, since they are listed in the fields). `scopeId` is
@@ -367,167 +368,167 @@ declare class Node extends Struct {
367
368
  * allowed for any kind of node (in order to make runtime type generation easier).
368
369
  *
369
370
  */
370
- get scopeId(): bigint;
371
- set scopeId(value: bigint);
372
- _adoptParameters(value: Orphan<List<Node_Parameter>>): void;
373
- _disownParameters(): Orphan<List<Node_Parameter>>;
374
- /**
371
+ get scopeId(): bigint;
372
+ set scopeId(value: bigint);
373
+ _adoptParameters(value: index_d_exports.Orphan<index_d_exports.List<Node_Parameter>>): void;
374
+ _disownParameters(): index_d_exports.Orphan<index_d_exports.List<Node_Parameter>>;
375
+ /**
375
376
  * If this node is parameterized (generic), the list of parameters. Empty for non-generic types.
376
377
  *
377
378
  */
378
- get parameters(): List<Node_Parameter>;
379
- _hasParameters(): boolean;
380
- _initParameters(length: number): List<Node_Parameter>;
381
- set parameters(value: List<Node_Parameter>);
382
- /**
379
+ get parameters(): index_d_exports.List<Node_Parameter>;
380
+ _hasParameters(): boolean;
381
+ _initParameters(length: number): index_d_exports.List<Node_Parameter>;
382
+ set parameters(value: index_d_exports.List<Node_Parameter>);
383
+ /**
383
384
  * True if this node is generic, meaning that it or one of its parent scopes has a non-empty
384
385
  * `parameters`.
385
386
  *
386
387
  */
387
- get isGeneric(): boolean;
388
- set isGeneric(value: boolean);
389
- _adoptNestedNodes(value: Orphan<List<Node_NestedNode>>): void;
390
- _disownNestedNodes(): Orphan<List<Node_NestedNode>>;
391
- /**
388
+ get isGeneric(): boolean;
389
+ set isGeneric(value: boolean);
390
+ _adoptNestedNodes(value: index_d_exports.Orphan<index_d_exports.List<Node_NestedNode>>): void;
391
+ _disownNestedNodes(): index_d_exports.Orphan<index_d_exports.List<Node_NestedNode>>;
392
+ /**
392
393
  * List of nodes nested within this node, along with the names under which they were declared.
393
394
  *
394
395
  */
395
- get nestedNodes(): List<Node_NestedNode>;
396
- _hasNestedNodes(): boolean;
397
- _initNestedNodes(length: number): List<Node_NestedNode>;
398
- set nestedNodes(value: List<Node_NestedNode>);
399
- _adoptAnnotations(value: Orphan<List<Annotation>>): void;
400
- _disownAnnotations(): Orphan<List<Annotation>>;
401
- /**
396
+ get nestedNodes(): index_d_exports.List<Node_NestedNode>;
397
+ _hasNestedNodes(): boolean;
398
+ _initNestedNodes(length: number): index_d_exports.List<Node_NestedNode>;
399
+ set nestedNodes(value: index_d_exports.List<Node_NestedNode>);
400
+ _adoptAnnotations(value: index_d_exports.Orphan<index_d_exports.List<Annotation>>): void;
401
+ _disownAnnotations(): index_d_exports.Orphan<index_d_exports.List<Annotation>>;
402
+ /**
402
403
  * Annotations applied to this node.
403
404
  *
404
405
  */
405
- get annotations(): List<Annotation>;
406
- _hasAnnotations(): boolean;
407
- _initAnnotations(length: number): List<Annotation>;
408
- set annotations(value: List<Annotation>);
409
- get _isFile(): boolean;
410
- set file(_: true);
411
- get struct(): Node_Struct;
412
- _initStruct(): Node_Struct;
413
- get _isStruct(): boolean;
414
- set struct(_: true);
415
- get enum(): Node_Enum;
416
- _initEnum(): Node_Enum;
417
- get _isEnum(): boolean;
418
- set enum(_: true);
419
- get interface(): Node_Interface;
420
- _initInterface(): Node_Interface;
421
- get _isInterface(): boolean;
422
- set interface(_: true);
423
- get const(): Node_Const;
424
- _initConst(): Node_Const;
425
- get _isConst(): boolean;
426
- set const(_: true);
427
- get annotation(): Node_Annotation;
428
- _initAnnotation(): Node_Annotation;
429
- get _isAnnotation(): boolean;
430
- set annotation(_: true);
431
- toString(): string;
432
- which(): Node_Which;
406
+ get annotations(): index_d_exports.List<Annotation>;
407
+ _hasAnnotations(): boolean;
408
+ _initAnnotations(length: number): index_d_exports.List<Annotation>;
409
+ set annotations(value: index_d_exports.List<Annotation>);
410
+ get _isFile(): boolean;
411
+ set file(_: true);
412
+ get struct(): Node_Struct;
413
+ _initStruct(): Node_Struct;
414
+ get _isStruct(): boolean;
415
+ set struct(_: true);
416
+ get enum(): Node_Enum;
417
+ _initEnum(): Node_Enum;
418
+ get _isEnum(): boolean;
419
+ set enum(_: true);
420
+ get interface(): Node_Interface;
421
+ _initInterface(): Node_Interface;
422
+ get _isInterface(): boolean;
423
+ set interface(_: true);
424
+ get const(): Node_Const;
425
+ _initConst(): Node_Const;
426
+ get _isConst(): boolean;
427
+ set const(_: true);
428
+ get annotation(): Node_Annotation;
429
+ _initAnnotation(): Node_Annotation;
430
+ get _isAnnotation(): boolean;
431
+ set annotation(_: true);
432
+ toString(): string;
433
+ which(): Node_Which;
433
434
  }
434
435
  /**
435
436
  * A regular, non-group, non-fixed-list field.
436
437
  *
437
438
  */
438
- declare class Field_Slot extends Struct {
439
- static readonly _capnp: {
440
- displayName: string;
441
- id: string;
442
- size: ObjectSize;
443
- };
444
- /**
439
+ declare class Field_Slot extends index_d_exports.Struct {
440
+ static readonly _capnp: {
441
+ displayName: string;
442
+ id: string;
443
+ size: index_d_exports.ObjectSize;
444
+ };
445
+ /**
445
446
  * Offset, in units of the field's size, from the beginning of the section in which the field
446
447
  * resides. E.g. for a UInt32 field, multiply this by 4 to get the byte offset from the
447
448
  * beginning of the data section.
448
449
  *
449
450
  */
450
- get offset(): number;
451
- set offset(value: number);
452
- _adoptType(value: Orphan<Type>): void;
453
- _disownType(): Orphan<Type>;
454
- get type(): Type;
455
- _hasType(): boolean;
456
- _initType(): Type;
457
- set type(value: Type);
458
- _adoptDefaultValue(value: Orphan<Value>): void;
459
- _disownDefaultValue(): Orphan<Value>;
460
- get defaultValue(): Value;
461
- _hasDefaultValue(): boolean;
462
- _initDefaultValue(): Value;
463
- set defaultValue(value: Value);
464
- /**
451
+ get offset(): number;
452
+ set offset(value: number);
453
+ _adoptType(value: index_d_exports.Orphan<Type>): void;
454
+ _disownType(): index_d_exports.Orphan<Type>;
455
+ get type(): Type;
456
+ _hasType(): boolean;
457
+ _initType(): Type;
458
+ set type(value: Type);
459
+ _adoptDefaultValue(value: index_d_exports.Orphan<Value>): void;
460
+ _disownDefaultValue(): index_d_exports.Orphan<Value>;
461
+ get defaultValue(): Value;
462
+ _hasDefaultValue(): boolean;
463
+ _initDefaultValue(): Value;
464
+ set defaultValue(value: Value);
465
+ /**
465
466
  * Whether the default value was specified explicitly. Non-explicit default values are always
466
467
  * zero or empty values. Usually, whether the default value was explicit shouldn't matter.
467
468
  * The main use case for this flag is for structs representing method parameters:
468
469
  * explicitly-defaulted parameters may be allowed to be omitted when calling the method.
469
470
  *
470
471
  */
471
- get hadExplicitDefault(): boolean;
472
- set hadExplicitDefault(value: boolean);
473
- toString(): string;
472
+ get hadExplicitDefault(): boolean;
473
+ set hadExplicitDefault(value: boolean);
474
+ toString(): string;
474
475
  }
475
476
  /**
476
477
  * A group.
477
478
  *
478
479
  */
479
- declare class Field_Group extends Struct {
480
- static readonly _capnp: {
481
- displayName: string;
482
- id: string;
483
- size: ObjectSize;
484
- };
485
- /**
480
+ declare class Field_Group extends index_d_exports.Struct {
481
+ static readonly _capnp: {
482
+ displayName: string;
483
+ id: string;
484
+ size: index_d_exports.ObjectSize;
485
+ };
486
+ /**
486
487
  * The ID of the group's node.
487
488
  *
488
489
  */
489
- get typeId(): bigint;
490
- set typeId(value: bigint);
491
- toString(): string;
490
+ get typeId(): bigint;
491
+ set typeId(value: bigint);
492
+ toString(): string;
492
493
  }
493
494
  declare const Field_Ordinal_Which: {
494
- readonly IMPLICIT: 0;
495
- /**
495
+ readonly IMPLICIT: 0;
496
+ /**
496
497
  * The original ordinal number given to the field. You probably should NOT use this; if you need
497
498
  * a numeric identifier for a field, use its position within the field array for its scope.
498
499
  * The ordinal is given here mainly just so that the original schema text can be reproduced given
499
500
  * the compiled version -- i.e. so that `capnp compile -ocapnp` can do its job.
500
501
  *
501
502
  */
502
- readonly EXPLICIT: 1;
503
+ readonly EXPLICIT: 1;
503
504
  };
504
505
  type Field_Ordinal_Which = (typeof Field_Ordinal_Which)[keyof typeof Field_Ordinal_Which];
505
- declare class Field_Ordinal extends Struct {
506
- static readonly IMPLICIT: 0;
507
- static readonly EXPLICIT: 1;
508
- static readonly _capnp: {
509
- displayName: string;
510
- id: string;
511
- size: ObjectSize;
512
- };
513
- get _isImplicit(): boolean;
514
- set implicit(_: true);
515
- /**
506
+ declare class Field_Ordinal extends index_d_exports.Struct {
507
+ static readonly IMPLICIT: 0;
508
+ static readonly EXPLICIT: 1;
509
+ static readonly _capnp: {
510
+ displayName: string;
511
+ id: string;
512
+ size: index_d_exports.ObjectSize;
513
+ };
514
+ get _isImplicit(): boolean;
515
+ set implicit(_: true);
516
+ /**
516
517
  * The original ordinal number given to the field. You probably should NOT use this; if you need
517
518
  * a numeric identifier for a field, use its position within the field array for its scope.
518
519
  * The ordinal is given here mainly just so that the original schema text can be reproduced given
519
520
  * the compiled version -- i.e. so that `capnp compile -ocapnp` can do its job.
520
521
  *
521
522
  */
522
- get explicit(): number;
523
- get _isExplicit(): boolean;
524
- set explicit(value: number);
525
- toString(): string;
526
- which(): Field_Ordinal_Which;
523
+ get explicit(): number;
524
+ get _isExplicit(): boolean;
525
+ set explicit(value: number);
526
+ toString(): string;
527
+ which(): Field_Ordinal_Which;
527
528
  }
528
529
  declare const Field_Which: {
529
- readonly SLOT: 0;
530
- /**
530
+ readonly SLOT: 0;
531
+ /**
531
532
  * Indicates where this member appeared in the code, relative to other members.
532
533
  * Code ordering may have semantic relevance -- programmers tend to place related fields
533
534
  * together. So, using code ordering makes sense in human-readable formats where ordering is
@@ -536,27 +537,27 @@ declare const Field_Which: {
536
537
  * the other members of that union, so the maximum value there is count(union.members).
537
538
  *
538
539
  */
539
- readonly GROUP: 1;
540
+ readonly GROUP: 1;
540
541
  };
541
542
  type Field_Which = (typeof Field_Which)[keyof typeof Field_Which];
542
543
  /**
543
544
  * Schema for a field of a struct.
544
545
  *
545
546
  */
546
- declare class Field extends Struct {
547
- static readonly NO_DISCRIMINANT = 65535;
548
- static readonly SLOT: 0;
549
- static readonly GROUP: 1;
550
- static readonly _capnp: {
551
- displayName: string;
552
- id: string;
553
- size: ObjectSize;
554
- defaultDiscriminantValue: DataView<ArrayBufferLike>;
555
- };
556
- static _Annotations: ListCtor<Annotation>;
557
- get name(): string;
558
- set name(value: string);
559
- /**
547
+ declare class Field extends index_d_exports.Struct {
548
+ static readonly NO_DISCRIMINANT = 65535;
549
+ static readonly SLOT: 0;
550
+ static readonly GROUP: 1;
551
+ static readonly _capnp: {
552
+ displayName: string;
553
+ id: string;
554
+ size: index_d_exports.ObjectSize;
555
+ defaultDiscriminantValue: DataView<ArrayBufferLike>;
556
+ };
557
+ static _Annotations: index_d_exports.ListCtor<Annotation>;
558
+ get name(): string;
559
+ set name(value: string);
560
+ /**
560
561
  * Indicates where this member appeared in the code, relative to other members.
561
562
  * Code ordering may have semantic relevance -- programmers tend to place related fields
562
563
  * together. So, using code ordering makes sense in human-readable formats where ordering is
@@ -565,119 +566,119 @@ declare class Field extends Struct {
565
566
  * the other members of that union, so the maximum value there is count(union.members).
566
567
  *
567
568
  */
568
- get codeOrder(): number;
569
- set codeOrder(value: number);
570
- _adoptAnnotations(value: Orphan<List<Annotation>>): void;
571
- _disownAnnotations(): Orphan<List<Annotation>>;
572
- get annotations(): List<Annotation>;
573
- _hasAnnotations(): boolean;
574
- _initAnnotations(length: number): List<Annotation>;
575
- set annotations(value: List<Annotation>);
576
- /**
569
+ get codeOrder(): number;
570
+ set codeOrder(value: number);
571
+ _adoptAnnotations(value: index_d_exports.Orphan<index_d_exports.List<Annotation>>): void;
572
+ _disownAnnotations(): index_d_exports.Orphan<index_d_exports.List<Annotation>>;
573
+ get annotations(): index_d_exports.List<Annotation>;
574
+ _hasAnnotations(): boolean;
575
+ _initAnnotations(length: number): index_d_exports.List<Annotation>;
576
+ set annotations(value: index_d_exports.List<Annotation>);
577
+ /**
577
578
  * If the field is in a union, this is the value which the union's discriminant should take when
578
579
  * the field is active. If the field is not in a union, this is 0xffff.
579
580
  *
580
581
  */
581
- get discriminantValue(): number;
582
- set discriminantValue(value: number);
583
- /**
582
+ get discriminantValue(): number;
583
+ set discriminantValue(value: number);
584
+ /**
584
585
  * A regular, non-group, non-fixed-list field.
585
586
  *
586
587
  */
587
- get slot(): Field_Slot;
588
- _initSlot(): Field_Slot;
589
- get _isSlot(): boolean;
590
- set slot(_: true);
591
- /**
588
+ get slot(): Field_Slot;
589
+ _initSlot(): Field_Slot;
590
+ get _isSlot(): boolean;
591
+ set slot(_: true);
592
+ /**
592
593
  * A group.
593
594
  *
594
595
  */
595
- get group(): Field_Group;
596
- _initGroup(): Field_Group;
597
- get _isGroup(): boolean;
598
- set group(_: true);
599
- get ordinal(): Field_Ordinal;
600
- _initOrdinal(): Field_Ordinal;
601
- toString(): string;
602
- which(): Field_Which;
596
+ get group(): Field_Group;
597
+ _initGroup(): Field_Group;
598
+ get _isGroup(): boolean;
599
+ set group(_: true);
600
+ get ordinal(): Field_Ordinal;
601
+ _initOrdinal(): Field_Ordinal;
602
+ toString(): string;
603
+ which(): Field_Which;
603
604
  }
604
605
  /**
605
606
  * Schema for member of an enum.
606
607
  *
607
608
  */
608
- declare class Enumerant extends Struct {
609
- static readonly _capnp: {
610
- displayName: string;
611
- id: string;
612
- size: ObjectSize;
613
- };
614
- static _Annotations: ListCtor<Annotation>;
615
- get name(): string;
616
- set name(value: string);
617
- /**
609
+ declare class Enumerant extends index_d_exports.Struct {
610
+ static readonly _capnp: {
611
+ displayName: string;
612
+ id: string;
613
+ size: index_d_exports.ObjectSize;
614
+ };
615
+ static _Annotations: index_d_exports.ListCtor<Annotation>;
616
+ get name(): string;
617
+ set name(value: string);
618
+ /**
618
619
  * Specifies order in which the enumerants were declared in the code.
619
620
  * Like utils.Field.codeOrder.
620
621
  *
621
622
  */
622
- get codeOrder(): number;
623
- set codeOrder(value: number);
624
- _adoptAnnotations(value: Orphan<List<Annotation>>): void;
625
- _disownAnnotations(): Orphan<List<Annotation>>;
626
- get annotations(): List<Annotation>;
627
- _hasAnnotations(): boolean;
628
- _initAnnotations(length: number): List<Annotation>;
629
- set annotations(value: List<Annotation>);
630
- toString(): string;
623
+ get codeOrder(): number;
624
+ set codeOrder(value: number);
625
+ _adoptAnnotations(value: index_d_exports.Orphan<index_d_exports.List<Annotation>>): void;
626
+ _disownAnnotations(): index_d_exports.Orphan<index_d_exports.List<Annotation>>;
627
+ get annotations(): index_d_exports.List<Annotation>;
628
+ _hasAnnotations(): boolean;
629
+ _initAnnotations(length: number): index_d_exports.List<Annotation>;
630
+ set annotations(value: index_d_exports.List<Annotation>);
631
+ toString(): string;
631
632
  }
632
- declare class Superclass extends Struct {
633
- static readonly _capnp: {
634
- displayName: string;
635
- id: string;
636
- size: ObjectSize;
637
- };
638
- get id(): bigint;
639
- set id(value: bigint);
640
- _adoptBrand(value: Orphan<Brand>): void;
641
- _disownBrand(): Orphan<Brand>;
642
- get brand(): Brand;
643
- _hasBrand(): boolean;
644
- _initBrand(): Brand;
645
- set brand(value: Brand);
646
- toString(): string;
633
+ declare class Superclass extends index_d_exports.Struct {
634
+ static readonly _capnp: {
635
+ displayName: string;
636
+ id: string;
637
+ size: index_d_exports.ObjectSize;
638
+ };
639
+ get id(): bigint;
640
+ set id(value: bigint);
641
+ _adoptBrand(value: index_d_exports.Orphan<Brand>): void;
642
+ _disownBrand(): index_d_exports.Orphan<Brand>;
643
+ get brand(): Brand;
644
+ _hasBrand(): boolean;
645
+ _initBrand(): Brand;
646
+ set brand(value: Brand);
647
+ toString(): string;
647
648
  }
648
649
  /**
649
650
  * Schema for method of an interface.
650
651
  *
651
652
  */
652
- declare class Method extends Struct {
653
- static readonly _capnp: {
654
- displayName: string;
655
- id: string;
656
- size: ObjectSize;
657
- };
658
- static _ImplicitParameters: ListCtor<Node_Parameter>;
659
- static _Annotations: ListCtor<Annotation>;
660
- get name(): string;
661
- set name(value: string);
662
- /**
653
+ declare class Method extends index_d_exports.Struct {
654
+ static readonly _capnp: {
655
+ displayName: string;
656
+ id: string;
657
+ size: index_d_exports.ObjectSize;
658
+ };
659
+ static _ImplicitParameters: index_d_exports.ListCtor<Node_Parameter>;
660
+ static _Annotations: index_d_exports.ListCtor<Annotation>;
661
+ get name(): string;
662
+ set name(value: string);
663
+ /**
663
664
  * Specifies order in which the methods were declared in the code.
664
665
  * Like utils.Field.codeOrder.
665
666
  *
666
667
  */
667
- get codeOrder(): number;
668
- set codeOrder(value: number);
669
- _adoptImplicitParameters(value: Orphan<List<Node_Parameter>>): void;
670
- _disownImplicitParameters(): Orphan<List<Node_Parameter>>;
671
- /**
668
+ get codeOrder(): number;
669
+ set codeOrder(value: number);
670
+ _adoptImplicitParameters(value: index_d_exports.Orphan<index_d_exports.List<Node_Parameter>>): void;
671
+ _disownImplicitParameters(): index_d_exports.Orphan<index_d_exports.List<Node_Parameter>>;
672
+ /**
672
673
  * The parameters listed in [] (typically, type / generic parameters), whose bindings are intended
673
674
  * to be inferred rather than specified explicitly, although not all languages support this.
674
675
  *
675
676
  */
676
- get implicitParameters(): List<Node_Parameter>;
677
- _hasImplicitParameters(): boolean;
678
- _initImplicitParameters(length: number): List<Node_Parameter>;
679
- set implicitParameters(value: List<Node_Parameter>);
680
- /**
677
+ get implicitParameters(): index_d_exports.List<Node_Parameter>;
678
+ _hasImplicitParameters(): boolean;
679
+ _initImplicitParameters(length: number): index_d_exports.List<Node_Parameter>;
680
+ set implicitParameters(value: index_d_exports.List<Node_Parameter>);
681
+ /**
681
682
  * ID of the parameter struct type. If a named parameter list was specified in the method
682
683
  * declaration (rather than a single struct parameter type) then a corresponding struct type is
683
684
  * auto-generated. Such an auto-generated type will not be listed in the interface's
@@ -687,125 +688,125 @@ declare class Method extends Struct {
687
688
  * generic parameter was introduced. Making the `scopeId` zero was a mistake.)
688
689
  *
689
690
  */
690
- get paramStructType(): bigint;
691
- set paramStructType(value: bigint);
692
- _adoptParamBrand(value: Orphan<Brand>): void;
693
- _disownParamBrand(): Orphan<Brand>;
694
- /**
691
+ get paramStructType(): bigint;
692
+ set paramStructType(value: bigint);
693
+ _adoptParamBrand(value: index_d_exports.Orphan<Brand>): void;
694
+ _disownParamBrand(): index_d_exports.Orphan<Brand>;
695
+ /**
695
696
  * Brand of param struct type.
696
697
  *
697
698
  */
698
- get paramBrand(): Brand;
699
- _hasParamBrand(): boolean;
700
- _initParamBrand(): Brand;
701
- set paramBrand(value: Brand);
702
- /**
699
+ get paramBrand(): Brand;
700
+ _hasParamBrand(): boolean;
701
+ _initParamBrand(): Brand;
702
+ set paramBrand(value: Brand);
703
+ /**
703
704
  * ID of the return struct type; similar to `paramStructType`.
704
705
  *
705
706
  */
706
- get resultStructType(): bigint;
707
- set resultStructType(value: bigint);
708
- _adoptResultBrand(value: Orphan<Brand>): void;
709
- _disownResultBrand(): Orphan<Brand>;
710
- /**
707
+ get resultStructType(): bigint;
708
+ set resultStructType(value: bigint);
709
+ _adoptResultBrand(value: index_d_exports.Orphan<Brand>): void;
710
+ _disownResultBrand(): index_d_exports.Orphan<Brand>;
711
+ /**
711
712
  * Brand of result struct type.
712
713
  *
713
714
  */
714
- get resultBrand(): Brand;
715
- _hasResultBrand(): boolean;
716
- _initResultBrand(): Brand;
717
- set resultBrand(value: Brand);
718
- _adoptAnnotations(value: Orphan<List<Annotation>>): void;
719
- _disownAnnotations(): Orphan<List<Annotation>>;
720
- get annotations(): List<Annotation>;
721
- _hasAnnotations(): boolean;
722
- _initAnnotations(length: number): List<Annotation>;
723
- set annotations(value: List<Annotation>);
724
- toString(): string;
715
+ get resultBrand(): Brand;
716
+ _hasResultBrand(): boolean;
717
+ _initResultBrand(): Brand;
718
+ set resultBrand(value: Brand);
719
+ _adoptAnnotations(value: index_d_exports.Orphan<index_d_exports.List<Annotation>>): void;
720
+ _disownAnnotations(): index_d_exports.Orphan<index_d_exports.List<Annotation>>;
721
+ get annotations(): index_d_exports.List<Annotation>;
722
+ _hasAnnotations(): boolean;
723
+ _initAnnotations(length: number): index_d_exports.List<Annotation>;
724
+ set annotations(value: index_d_exports.List<Annotation>);
725
+ toString(): string;
725
726
  }
726
- declare class Type_List extends Struct {
727
- static readonly _capnp: {
728
- displayName: string;
729
- id: string;
730
- size: ObjectSize;
731
- };
732
- _adoptElementType(value: Orphan<Type>): void;
733
- _disownElementType(): Orphan<Type>;
734
- get elementType(): Type;
735
- _hasElementType(): boolean;
736
- _initElementType(): Type;
737
- set elementType(value: Type);
738
- toString(): string;
727
+ declare class Type_List extends index_d_exports.Struct {
728
+ static readonly _capnp: {
729
+ displayName: string;
730
+ id: string;
731
+ size: index_d_exports.ObjectSize;
732
+ };
733
+ _adoptElementType(value: index_d_exports.Orphan<Type>): void;
734
+ _disownElementType(): index_d_exports.Orphan<Type>;
735
+ get elementType(): Type;
736
+ _hasElementType(): boolean;
737
+ _initElementType(): Type;
738
+ set elementType(value: Type);
739
+ toString(): string;
739
740
  }
740
- declare class Type_Enum extends Struct {
741
- static readonly _capnp: {
742
- displayName: string;
743
- id: string;
744
- size: ObjectSize;
745
- };
746
- get typeId(): bigint;
747
- set typeId(value: bigint);
748
- _adoptBrand(value: Orphan<Brand>): void;
749
- _disownBrand(): Orphan<Brand>;
750
- get brand(): Brand;
751
- _hasBrand(): boolean;
752
- _initBrand(): Brand;
753
- set brand(value: Brand);
754
- toString(): string;
741
+ declare class Type_Enum extends index_d_exports.Struct {
742
+ static readonly _capnp: {
743
+ displayName: string;
744
+ id: string;
745
+ size: index_d_exports.ObjectSize;
746
+ };
747
+ get typeId(): bigint;
748
+ set typeId(value: bigint);
749
+ _adoptBrand(value: index_d_exports.Orphan<Brand>): void;
750
+ _disownBrand(): index_d_exports.Orphan<Brand>;
751
+ get brand(): Brand;
752
+ _hasBrand(): boolean;
753
+ _initBrand(): Brand;
754
+ set brand(value: Brand);
755
+ toString(): string;
755
756
  }
756
- declare class Type_Struct extends Struct {
757
- static readonly _capnp: {
758
- displayName: string;
759
- id: string;
760
- size: ObjectSize;
761
- };
762
- get typeId(): bigint;
763
- set typeId(value: bigint);
764
- _adoptBrand(value: Orphan<Brand>): void;
765
- _disownBrand(): Orphan<Brand>;
766
- get brand(): Brand;
767
- _hasBrand(): boolean;
768
- _initBrand(): Brand;
769
- set brand(value: Brand);
770
- toString(): string;
757
+ declare class Type_Struct extends index_d_exports.Struct {
758
+ static readonly _capnp: {
759
+ displayName: string;
760
+ id: string;
761
+ size: index_d_exports.ObjectSize;
762
+ };
763
+ get typeId(): bigint;
764
+ set typeId(value: bigint);
765
+ _adoptBrand(value: index_d_exports.Orphan<Brand>): void;
766
+ _disownBrand(): index_d_exports.Orphan<Brand>;
767
+ get brand(): Brand;
768
+ _hasBrand(): boolean;
769
+ _initBrand(): Brand;
770
+ set brand(value: Brand);
771
+ toString(): string;
771
772
  }
772
- declare class Type_Interface extends Struct {
773
- static readonly _capnp: {
774
- displayName: string;
775
- id: string;
776
- size: ObjectSize;
777
- };
778
- get typeId(): bigint;
779
- set typeId(value: bigint);
780
- _adoptBrand(value: Orphan<Brand>): void;
781
- _disownBrand(): Orphan<Brand>;
782
- get brand(): Brand;
783
- _hasBrand(): boolean;
784
- _initBrand(): Brand;
785
- set brand(value: Brand);
786
- toString(): string;
773
+ declare class Type_Interface extends index_d_exports.Struct {
774
+ static readonly _capnp: {
775
+ displayName: string;
776
+ id: string;
777
+ size: index_d_exports.ObjectSize;
778
+ };
779
+ get typeId(): bigint;
780
+ set typeId(value: bigint);
781
+ _adoptBrand(value: index_d_exports.Orphan<Brand>): void;
782
+ _disownBrand(): index_d_exports.Orphan<Brand>;
783
+ get brand(): Brand;
784
+ _hasBrand(): boolean;
785
+ _initBrand(): Brand;
786
+ set brand(value: Brand);
787
+ toString(): string;
787
788
  }
788
789
  declare const Type_AnyPointer_Unconstrained_Which: {
789
- /**
790
+ /**
790
791
  * truly AnyPointer
791
792
  *
792
793
  */
793
- readonly ANY_KIND: 0;
794
- /**
794
+ readonly ANY_KIND: 0;
795
+ /**
795
796
  * AnyStruct
796
797
  *
797
798
  */
798
- readonly STRUCT: 1;
799
- /**
799
+ readonly STRUCT: 1;
800
+ /**
800
801
  * AnyList
801
802
  *
802
803
  */
803
- readonly LIST: 2;
804
- /**
804
+ readonly LIST: 2;
805
+ /**
805
806
  * Capability
806
807
  *
807
808
  */
808
- readonly CAPABILITY: 3;
809
+ readonly CAPABILITY: 3;
809
810
  };
810
811
  type Type_AnyPointer_Unconstrained_Which = (typeof Type_AnyPointer_Unconstrained_Which)[keyof typeof Type_AnyPointer_Unconstrained_Which];
811
812
  /**
@@ -816,69 +817,69 @@ type Type_AnyPointer_Unconstrained_Which = (typeof Type_AnyPointer_Unconstrained
816
817
  * to be a struct, list, or capability.
817
818
  *
818
819
  */
819
- declare class Type_AnyPointer_Unconstrained extends Struct {
820
- static readonly ANY_KIND: 0;
821
- static readonly STRUCT: 1;
822
- static readonly LIST: 2;
823
- static readonly CAPABILITY: 3;
824
- static readonly _capnp: {
825
- displayName: string;
826
- id: string;
827
- size: ObjectSize;
828
- };
829
- get _isAnyKind(): boolean;
830
- set anyKind(_: true);
831
- get _isStruct(): boolean;
832
- set struct(_: true);
833
- get _isList(): boolean;
834
- set list(_: true);
835
- get _isCapability(): boolean;
836
- set capability(_: true);
837
- toString(): string;
838
- which(): Type_AnyPointer_Unconstrained_Which;
820
+ declare class Type_AnyPointer_Unconstrained extends index_d_exports.Struct {
821
+ static readonly ANY_KIND: 0;
822
+ static readonly STRUCT: 1;
823
+ static readonly LIST: 2;
824
+ static readonly CAPABILITY: 3;
825
+ static readonly _capnp: {
826
+ displayName: string;
827
+ id: string;
828
+ size: index_d_exports.ObjectSize;
829
+ };
830
+ get _isAnyKind(): boolean;
831
+ set anyKind(_: true);
832
+ get _isStruct(): boolean;
833
+ set struct(_: true);
834
+ get _isList(): boolean;
835
+ set list(_: true);
836
+ get _isCapability(): boolean;
837
+ set capability(_: true);
838
+ toString(): string;
839
+ which(): Type_AnyPointer_Unconstrained_Which;
839
840
  }
840
841
  /**
841
842
  * This is actually a reference to a type parameter defined within this scope.
842
843
  *
843
844
  */
844
- declare class Type_AnyPointer_Parameter extends Struct {
845
- static readonly _capnp: {
846
- displayName: string;
847
- id: string;
848
- size: ObjectSize;
849
- };
850
- /**
845
+ declare class Type_AnyPointer_Parameter extends index_d_exports.Struct {
846
+ static readonly _capnp: {
847
+ displayName: string;
848
+ id: string;
849
+ size: index_d_exports.ObjectSize;
850
+ };
851
+ /**
851
852
  * ID of the generic type whose parameter we're referencing. This should be a parent of the
852
853
  * current scope.
853
854
  *
854
855
  */
855
- get scopeId(): bigint;
856
- set scopeId(value: bigint);
857
- /**
856
+ get scopeId(): bigint;
857
+ set scopeId(value: bigint);
858
+ /**
858
859
  * Index of the parameter within the generic type's parameter list.
859
860
  *
860
861
  */
861
- get parameterIndex(): number;
862
- set parameterIndex(value: number);
863
- toString(): string;
862
+ get parameterIndex(): number;
863
+ set parameterIndex(value: number);
864
+ toString(): string;
864
865
  }
865
866
  /**
866
867
  * This is actually a reference to an implicit (generic) parameter of a method. The only
867
868
  * legal context for this type to appear is inside Method.paramBrand or Method.resultBrand.
868
869
  *
869
870
  */
870
- declare class Type_AnyPointer_ImplicitMethodParameter extends Struct {
871
- static readonly _capnp: {
872
- displayName: string;
873
- id: string;
874
- size: ObjectSize;
875
- };
876
- get parameterIndex(): number;
877
- set parameterIndex(value: number);
878
- toString(): string;
871
+ declare class Type_AnyPointer_ImplicitMethodParameter extends index_d_exports.Struct {
872
+ static readonly _capnp: {
873
+ displayName: string;
874
+ id: string;
875
+ size: index_d_exports.ObjectSize;
876
+ };
877
+ get parameterIndex(): number;
878
+ set parameterIndex(value: number);
879
+ toString(): string;
879
880
  }
880
881
  declare const Type_AnyPointer_Which: {
881
- /**
882
+ /**
882
883
  * A regular AnyPointer.
883
884
  *
884
885
  * The name "unconstrained" means as opposed to constraining it to match a type parameter.
@@ -886,30 +887,30 @@ declare const Type_AnyPointer_Which: {
886
887
  * to be a struct, list, or capability.
887
888
  *
888
889
  */
889
- readonly UNCONSTRAINED: 0;
890
- /**
890
+ readonly UNCONSTRAINED: 0;
891
+ /**
891
892
  * This is actually a reference to a type parameter defined within this scope.
892
893
  *
893
894
  */
894
- readonly PARAMETER: 1;
895
- /**
895
+ readonly PARAMETER: 1;
896
+ /**
896
897
  * This is actually a reference to an implicit (generic) parameter of a method. The only
897
898
  * legal context for this type to appear is inside Method.paramBrand or Method.resultBrand.
898
899
  *
899
900
  */
900
- readonly IMPLICIT_METHOD_PARAMETER: 2;
901
+ readonly IMPLICIT_METHOD_PARAMETER: 2;
901
902
  };
902
903
  type Type_AnyPointer_Which = (typeof Type_AnyPointer_Which)[keyof typeof Type_AnyPointer_Which];
903
- declare class Type_AnyPointer extends Struct {
904
- static readonly UNCONSTRAINED: 0;
905
- static readonly PARAMETER: 1;
906
- static readonly IMPLICIT_METHOD_PARAMETER: 2;
907
- static readonly _capnp: {
908
- displayName: string;
909
- id: string;
910
- size: ObjectSize;
911
- };
912
- /**
904
+ declare class Type_AnyPointer extends index_d_exports.Struct {
905
+ static readonly UNCONSTRAINED: 0;
906
+ static readonly PARAMETER: 1;
907
+ static readonly IMPLICIT_METHOD_PARAMETER: 2;
908
+ static readonly _capnp: {
909
+ displayName: string;
910
+ id: string;
911
+ size: index_d_exports.ObjectSize;
912
+ };
913
+ /**
913
914
  * A regular AnyPointer.
914
915
  *
915
916
  * The name "unconstrained" means as opposed to constraining it to match a type parameter.
@@ -917,435 +918,435 @@ declare class Type_AnyPointer extends Struct {
917
918
  * to be a struct, list, or capability.
918
919
  *
919
920
  */
920
- get unconstrained(): Type_AnyPointer_Unconstrained;
921
- _initUnconstrained(): Type_AnyPointer_Unconstrained;
922
- get _isUnconstrained(): boolean;
923
- set unconstrained(_: true);
924
- /**
921
+ get unconstrained(): Type_AnyPointer_Unconstrained;
922
+ _initUnconstrained(): Type_AnyPointer_Unconstrained;
923
+ get _isUnconstrained(): boolean;
924
+ set unconstrained(_: true);
925
+ /**
925
926
  * This is actually a reference to a type parameter defined within this scope.
926
927
  *
927
928
  */
928
- get parameter(): Type_AnyPointer_Parameter;
929
- _initParameter(): Type_AnyPointer_Parameter;
930
- get _isParameter(): boolean;
931
- set parameter(_: true);
932
- /**
929
+ get parameter(): Type_AnyPointer_Parameter;
930
+ _initParameter(): Type_AnyPointer_Parameter;
931
+ get _isParameter(): boolean;
932
+ set parameter(_: true);
933
+ /**
933
934
  * This is actually a reference to an implicit (generic) parameter of a method. The only
934
935
  * legal context for this type to appear is inside Method.paramBrand or Method.resultBrand.
935
936
  *
936
937
  */
937
- get implicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter;
938
- _initImplicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter;
939
- get _isImplicitMethodParameter(): boolean;
940
- set implicitMethodParameter(_: true);
941
- toString(): string;
942
- which(): Type_AnyPointer_Which;
938
+ get implicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter;
939
+ _initImplicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter;
940
+ get _isImplicitMethodParameter(): boolean;
941
+ set implicitMethodParameter(_: true);
942
+ toString(): string;
943
+ which(): Type_AnyPointer_Which;
943
944
  }
944
945
  declare const Type_Which: {
945
- readonly VOID: 0;
946
- readonly BOOL: 1;
947
- readonly INT8: 2;
948
- readonly INT16: 3;
949
- readonly INT32: 4;
950
- readonly INT64: 5;
951
- readonly UINT8: 6;
952
- readonly UINT16: 7;
953
- readonly UINT32: 8;
954
- readonly UINT64: 9;
955
- readonly FLOAT32: 10;
956
- readonly FLOAT64: 11;
957
- readonly TEXT: 12;
958
- readonly DATA: 13;
959
- readonly LIST: 14;
960
- readonly ENUM: 15;
961
- readonly STRUCT: 16;
962
- readonly INTERFACE: 17;
963
- readonly ANY_POINTER: 18;
946
+ readonly VOID: 0;
947
+ readonly BOOL: 1;
948
+ readonly INT8: 2;
949
+ readonly INT16: 3;
950
+ readonly INT32: 4;
951
+ readonly INT64: 5;
952
+ readonly UINT8: 6;
953
+ readonly UINT16: 7;
954
+ readonly UINT32: 8;
955
+ readonly UINT64: 9;
956
+ readonly FLOAT32: 10;
957
+ readonly FLOAT64: 11;
958
+ readonly TEXT: 12;
959
+ readonly DATA: 13;
960
+ readonly LIST: 14;
961
+ readonly ENUM: 15;
962
+ readonly STRUCT: 16;
963
+ readonly INTERFACE: 17;
964
+ readonly ANY_POINTER: 18;
964
965
  };
965
966
  type Type_Which = (typeof Type_Which)[keyof typeof Type_Which];
966
967
  /**
967
968
  * Represents a type expression.
968
969
  *
969
970
  */
970
- declare class Type extends Struct {
971
- static readonly VOID: 0;
972
- static readonly BOOL: 1;
973
- static readonly INT8: 2;
974
- static readonly INT16: 3;
975
- static readonly INT32: 4;
976
- static readonly INT64: 5;
977
- static readonly UINT8: 6;
978
- static readonly UINT16: 7;
979
- static readonly UINT32: 8;
980
- static readonly UINT64: 9;
981
- static readonly FLOAT32: 10;
982
- static readonly FLOAT64: 11;
983
- static readonly TEXT: 12;
984
- static readonly DATA: 13;
985
- static readonly LIST: 14;
986
- static readonly ENUM: 15;
987
- static readonly STRUCT: 16;
988
- static readonly INTERFACE: 17;
989
- static readonly ANY_POINTER: 18;
990
- static readonly _capnp: {
991
- displayName: string;
992
- id: string;
993
- size: ObjectSize;
994
- };
995
- get _isVoid(): boolean;
996
- set void(_: true);
997
- get _isBool(): boolean;
998
- set bool(_: true);
999
- get _isInt8(): boolean;
1000
- set int8(_: true);
1001
- get _isInt16(): boolean;
1002
- set int16(_: true);
1003
- get _isInt32(): boolean;
1004
- set int32(_: true);
1005
- get _isInt64(): boolean;
1006
- set int64(_: true);
1007
- get _isUint8(): boolean;
1008
- set uint8(_: true);
1009
- get _isUint16(): boolean;
1010
- set uint16(_: true);
1011
- get _isUint32(): boolean;
1012
- set uint32(_: true);
1013
- get _isUint64(): boolean;
1014
- set uint64(_: true);
1015
- get _isFloat32(): boolean;
1016
- set float32(_: true);
1017
- get _isFloat64(): boolean;
1018
- set float64(_: true);
1019
- get _isText(): boolean;
1020
- set text(_: true);
1021
- get _isData(): boolean;
1022
- set data(_: true);
1023
- get list(): Type_List;
1024
- _initList(): Type_List;
1025
- get _isList(): boolean;
1026
- set list(_: true);
1027
- get enum(): Type_Enum;
1028
- _initEnum(): Type_Enum;
1029
- get _isEnum(): boolean;
1030
- set enum(_: true);
1031
- get struct(): Type_Struct;
1032
- _initStruct(): Type_Struct;
1033
- get _isStruct(): boolean;
1034
- set struct(_: true);
1035
- get interface(): Type_Interface;
1036
- _initInterface(): Type_Interface;
1037
- get _isInterface(): boolean;
1038
- set interface(_: true);
1039
- get anyPointer(): Type_AnyPointer;
1040
- _initAnyPointer(): Type_AnyPointer;
1041
- get _isAnyPointer(): boolean;
1042
- set anyPointer(_: true);
1043
- toString(): string;
1044
- which(): Type_Which;
971
+ declare class Type extends index_d_exports.Struct {
972
+ static readonly VOID: 0;
973
+ static readonly BOOL: 1;
974
+ static readonly INT8: 2;
975
+ static readonly INT16: 3;
976
+ static readonly INT32: 4;
977
+ static readonly INT64: 5;
978
+ static readonly UINT8: 6;
979
+ static readonly UINT16: 7;
980
+ static readonly UINT32: 8;
981
+ static readonly UINT64: 9;
982
+ static readonly FLOAT32: 10;
983
+ static readonly FLOAT64: 11;
984
+ static readonly TEXT: 12;
985
+ static readonly DATA: 13;
986
+ static readonly LIST: 14;
987
+ static readonly ENUM: 15;
988
+ static readonly STRUCT: 16;
989
+ static readonly INTERFACE: 17;
990
+ static readonly ANY_POINTER: 18;
991
+ static readonly _capnp: {
992
+ displayName: string;
993
+ id: string;
994
+ size: index_d_exports.ObjectSize;
995
+ };
996
+ get _isVoid(): boolean;
997
+ set void(_: true);
998
+ get _isBool(): boolean;
999
+ set bool(_: true);
1000
+ get _isInt8(): boolean;
1001
+ set int8(_: true);
1002
+ get _isInt16(): boolean;
1003
+ set int16(_: true);
1004
+ get _isInt32(): boolean;
1005
+ set int32(_: true);
1006
+ get _isInt64(): boolean;
1007
+ set int64(_: true);
1008
+ get _isUint8(): boolean;
1009
+ set uint8(_: true);
1010
+ get _isUint16(): boolean;
1011
+ set uint16(_: true);
1012
+ get _isUint32(): boolean;
1013
+ set uint32(_: true);
1014
+ get _isUint64(): boolean;
1015
+ set uint64(_: true);
1016
+ get _isFloat32(): boolean;
1017
+ set float32(_: true);
1018
+ get _isFloat64(): boolean;
1019
+ set float64(_: true);
1020
+ get _isText(): boolean;
1021
+ set text(_: true);
1022
+ get _isData(): boolean;
1023
+ set data(_: true);
1024
+ get list(): Type_List;
1025
+ _initList(): Type_List;
1026
+ get _isList(): boolean;
1027
+ set list(_: true);
1028
+ get enum(): Type_Enum;
1029
+ _initEnum(): Type_Enum;
1030
+ get _isEnum(): boolean;
1031
+ set enum(_: true);
1032
+ get struct(): Type_Struct;
1033
+ _initStruct(): Type_Struct;
1034
+ get _isStruct(): boolean;
1035
+ set struct(_: true);
1036
+ get interface(): Type_Interface;
1037
+ _initInterface(): Type_Interface;
1038
+ get _isInterface(): boolean;
1039
+ set interface(_: true);
1040
+ get anyPointer(): Type_AnyPointer;
1041
+ _initAnyPointer(): Type_AnyPointer;
1042
+ get _isAnyPointer(): boolean;
1043
+ set anyPointer(_: true);
1044
+ toString(): string;
1045
+ which(): Type_Which;
1045
1046
  }
1046
1047
  declare const Brand_Scope_Which: {
1047
- /**
1048
+ /**
1048
1049
  * ID of the scope to which these params apply.
1049
1050
  *
1050
1051
  */
1051
- readonly BIND: 0;
1052
- /**
1052
+ readonly BIND: 0;
1053
+ /**
1053
1054
  * List of parameter bindings.
1054
1055
  *
1055
1056
  */
1056
- readonly INHERIT: 1;
1057
+ readonly INHERIT: 1;
1057
1058
  };
1058
1059
  type Brand_Scope_Which = (typeof Brand_Scope_Which)[keyof typeof Brand_Scope_Which];
1059
- declare class Brand_Scope extends Struct {
1060
- static readonly BIND: 0;
1061
- static readonly INHERIT: 1;
1062
- static readonly _capnp: {
1063
- displayName: string;
1064
- id: string;
1065
- size: ObjectSize;
1066
- };
1067
- static _Bind: ListCtor<Brand_Binding>;
1068
- /**
1060
+ declare class Brand_Scope extends index_d_exports.Struct {
1061
+ static readonly BIND: 0;
1062
+ static readonly INHERIT: 1;
1063
+ static readonly _capnp: {
1064
+ displayName: string;
1065
+ id: string;
1066
+ size: index_d_exports.ObjectSize;
1067
+ };
1068
+ static _Bind: index_d_exports.ListCtor<Brand_Binding>;
1069
+ /**
1069
1070
  * ID of the scope to which these params apply.
1070
1071
  *
1071
1072
  */
1072
- get scopeId(): bigint;
1073
- set scopeId(value: bigint);
1074
- _adoptBind(value: Orphan<List<Brand_Binding>>): void;
1075
- _disownBind(): Orphan<List<Brand_Binding>>;
1076
- /**
1073
+ get scopeId(): bigint;
1074
+ set scopeId(value: bigint);
1075
+ _adoptBind(value: index_d_exports.Orphan<index_d_exports.List<Brand_Binding>>): void;
1076
+ _disownBind(): index_d_exports.Orphan<index_d_exports.List<Brand_Binding>>;
1077
+ /**
1077
1078
  * List of parameter bindings.
1078
1079
  *
1079
1080
  */
1080
- get bind(): List<Brand_Binding>;
1081
- _hasBind(): boolean;
1082
- _initBind(length: number): List<Brand_Binding>;
1083
- get _isBind(): boolean;
1084
- set bind(value: List<Brand_Binding>);
1085
- get _isInherit(): boolean;
1086
- set inherit(_: true);
1087
- toString(): string;
1088
- which(): Brand_Scope_Which;
1081
+ get bind(): index_d_exports.List<Brand_Binding>;
1082
+ _hasBind(): boolean;
1083
+ _initBind(length: number): index_d_exports.List<Brand_Binding>;
1084
+ get _isBind(): boolean;
1085
+ set bind(value: index_d_exports.List<Brand_Binding>);
1086
+ get _isInherit(): boolean;
1087
+ set inherit(_: true);
1088
+ toString(): string;
1089
+ which(): Brand_Scope_Which;
1089
1090
  }
1090
1091
  declare const Brand_Binding_Which: {
1091
- readonly UNBOUND: 0;
1092
- readonly TYPE: 1;
1092
+ readonly UNBOUND: 0;
1093
+ readonly TYPE: 1;
1093
1094
  };
1094
1095
  type Brand_Binding_Which = (typeof Brand_Binding_Which)[keyof typeof Brand_Binding_Which];
1095
- declare class Brand_Binding extends Struct {
1096
- static readonly UNBOUND: 0;
1097
- static readonly TYPE: 1;
1098
- static readonly _capnp: {
1099
- displayName: string;
1100
- id: string;
1101
- size: ObjectSize;
1102
- };
1103
- get _isUnbound(): boolean;
1104
- set unbound(_: true);
1105
- _adoptType(value: Orphan<Type>): void;
1106
- _disownType(): Orphan<Type>;
1107
- get type(): Type;
1108
- _hasType(): boolean;
1109
- _initType(): Type;
1110
- get _isType(): boolean;
1111
- set type(value: Type);
1112
- toString(): string;
1113
- which(): Brand_Binding_Which;
1096
+ declare class Brand_Binding extends index_d_exports.Struct {
1097
+ static readonly UNBOUND: 0;
1098
+ static readonly TYPE: 1;
1099
+ static readonly _capnp: {
1100
+ displayName: string;
1101
+ id: string;
1102
+ size: index_d_exports.ObjectSize;
1103
+ };
1104
+ get _isUnbound(): boolean;
1105
+ set unbound(_: true);
1106
+ _adoptType(value: index_d_exports.Orphan<Type>): void;
1107
+ _disownType(): index_d_exports.Orphan<Type>;
1108
+ get type(): Type;
1109
+ _hasType(): boolean;
1110
+ _initType(): Type;
1111
+ get _isType(): boolean;
1112
+ set type(value: Type);
1113
+ toString(): string;
1114
+ which(): Brand_Binding_Which;
1114
1115
  }
1115
1116
  /**
1116
1117
  * Specifies bindings for parameters of generics. Since these bindings turn a generic into a
1117
1118
  * non-generic, we call it the "brand".
1118
1119
  *
1119
1120
  */
1120
- declare class Brand extends Struct {
1121
- static readonly Scope: typeof Brand_Scope;
1122
- static readonly Binding: typeof Brand_Binding;
1123
- static readonly _capnp: {
1124
- displayName: string;
1125
- id: string;
1126
- size: ObjectSize;
1127
- };
1128
- static _Scopes: ListCtor<Brand_Scope>;
1129
- _adoptScopes(value: Orphan<List<Brand_Scope>>): void;
1130
- _disownScopes(): Orphan<List<Brand_Scope>>;
1131
- /**
1121
+ declare class Brand extends index_d_exports.Struct {
1122
+ static readonly Scope: typeof Brand_Scope;
1123
+ static readonly Binding: typeof Brand_Binding;
1124
+ static readonly _capnp: {
1125
+ displayName: string;
1126
+ id: string;
1127
+ size: index_d_exports.ObjectSize;
1128
+ };
1129
+ static _Scopes: index_d_exports.ListCtor<Brand_Scope>;
1130
+ _adoptScopes(value: index_d_exports.Orphan<index_d_exports.List<Brand_Scope>>): void;
1131
+ _disownScopes(): index_d_exports.Orphan<index_d_exports.List<Brand_Scope>>;
1132
+ /**
1132
1133
  * For each of the target type and each of its parent scopes, a parameterization may be included
1133
1134
  * in this list. If no parameterization is included for a particular relevant scope, then either
1134
1135
  * that scope has no parameters or all parameters should be considered to be `AnyPointer`.
1135
1136
  *
1136
1137
  */
1137
- get scopes(): List<Brand_Scope>;
1138
- _hasScopes(): boolean;
1139
- _initScopes(length: number): List<Brand_Scope>;
1140
- set scopes(value: List<Brand_Scope>);
1141
- toString(): string;
1138
+ get scopes(): index_d_exports.List<Brand_Scope>;
1139
+ _hasScopes(): boolean;
1140
+ _initScopes(length: number): index_d_exports.List<Brand_Scope>;
1141
+ set scopes(value: index_d_exports.List<Brand_Scope>);
1142
+ toString(): string;
1142
1143
  }
1143
1144
  declare const Value_Which: {
1144
- readonly VOID: 0;
1145
- readonly BOOL: 1;
1146
- readonly INT8: 2;
1147
- readonly INT16: 3;
1148
- readonly INT32: 4;
1149
- readonly INT64: 5;
1150
- readonly UINT8: 6;
1151
- readonly UINT16: 7;
1152
- readonly UINT32: 8;
1153
- readonly UINT64: 9;
1154
- readonly FLOAT32: 10;
1155
- readonly FLOAT64: 11;
1156
- readonly TEXT: 12;
1157
- readonly DATA: 13;
1158
- readonly LIST: 14;
1159
- readonly ENUM: 15;
1160
- readonly STRUCT: 16;
1161
- /**
1145
+ readonly VOID: 0;
1146
+ readonly BOOL: 1;
1147
+ readonly INT8: 2;
1148
+ readonly INT16: 3;
1149
+ readonly INT32: 4;
1150
+ readonly INT64: 5;
1151
+ readonly UINT8: 6;
1152
+ readonly UINT16: 7;
1153
+ readonly UINT32: 8;
1154
+ readonly UINT64: 9;
1155
+ readonly FLOAT32: 10;
1156
+ readonly FLOAT64: 11;
1157
+ readonly TEXT: 12;
1158
+ readonly DATA: 13;
1159
+ readonly LIST: 14;
1160
+ readonly ENUM: 15;
1161
+ readonly STRUCT: 16;
1162
+ /**
1162
1163
  * The only interface value that can be represented statically is "null", whose methods always
1163
1164
  * throw exceptions.
1164
1165
  *
1165
1166
  */
1166
- readonly INTERFACE: 17;
1167
- readonly ANY_POINTER: 18;
1167
+ readonly INTERFACE: 17;
1168
+ readonly ANY_POINTER: 18;
1168
1169
  };
1169
1170
  type Value_Which = (typeof Value_Which)[keyof typeof Value_Which];
1170
1171
  /**
1171
1172
  * Represents a value, e.g. a field default value, constant value, or annotation value.
1172
1173
  *
1173
1174
  */
1174
- declare class Value extends Struct {
1175
- static readonly VOID: 0;
1176
- static readonly BOOL: 1;
1177
- static readonly INT8: 2;
1178
- static readonly INT16: 3;
1179
- static readonly INT32: 4;
1180
- static readonly INT64: 5;
1181
- static readonly UINT8: 6;
1182
- static readonly UINT16: 7;
1183
- static readonly UINT32: 8;
1184
- static readonly UINT64: 9;
1185
- static readonly FLOAT32: 10;
1186
- static readonly FLOAT64: 11;
1187
- static readonly TEXT: 12;
1188
- static readonly DATA: 13;
1189
- static readonly LIST: 14;
1190
- static readonly ENUM: 15;
1191
- static readonly STRUCT: 16;
1192
- static readonly INTERFACE: 17;
1193
- static readonly ANY_POINTER: 18;
1194
- static readonly _capnp: {
1195
- displayName: string;
1196
- id: string;
1197
- size: ObjectSize;
1198
- };
1199
- get _isVoid(): boolean;
1200
- set void(_: true);
1201
- get bool(): boolean;
1202
- get _isBool(): boolean;
1203
- set bool(value: boolean);
1204
- get int8(): number;
1205
- get _isInt8(): boolean;
1206
- set int8(value: number);
1207
- get int16(): number;
1208
- get _isInt16(): boolean;
1209
- set int16(value: number);
1210
- get int32(): number;
1211
- get _isInt32(): boolean;
1212
- set int32(value: number);
1213
- get int64(): bigint;
1214
- get _isInt64(): boolean;
1215
- set int64(value: bigint);
1216
- get uint8(): number;
1217
- get _isUint8(): boolean;
1218
- set uint8(value: number);
1219
- get uint16(): number;
1220
- get _isUint16(): boolean;
1221
- set uint16(value: number);
1222
- get uint32(): number;
1223
- get _isUint32(): boolean;
1224
- set uint32(value: number);
1225
- get uint64(): bigint;
1226
- get _isUint64(): boolean;
1227
- set uint64(value: bigint);
1228
- get float32(): number;
1229
- get _isFloat32(): boolean;
1230
- set float32(value: number);
1231
- get float64(): number;
1232
- get _isFloat64(): boolean;
1233
- set float64(value: number);
1234
- get text(): string;
1235
- get _isText(): boolean;
1236
- set text(value: string);
1237
- _adoptData(value: Orphan<Data>): void;
1238
- _disownData(): Orphan<Data>;
1239
- get data(): Data;
1240
- _hasData(): boolean;
1241
- _initData(length: number): Data;
1242
- get _isData(): boolean;
1243
- set data(value: Data);
1244
- _adoptList(value: Orphan<Pointer>): void;
1245
- _disownList(): Orphan<Pointer>;
1246
- get list(): Pointer;
1247
- _hasList(): boolean;
1248
- get _isList(): boolean;
1249
- set list(value: Pointer);
1250
- get enum(): number;
1251
- get _isEnum(): boolean;
1252
- set enum(value: number);
1253
- _adoptStruct(value: Orphan<Pointer>): void;
1254
- _disownStruct(): Orphan<Pointer>;
1255
- get struct(): Pointer;
1256
- _hasStruct(): boolean;
1257
- get _isStruct(): boolean;
1258
- set struct(value: Pointer);
1259
- get _isInterface(): boolean;
1260
- set interface(_: true);
1261
- _adoptAnyPointer(value: Orphan<Pointer>): void;
1262
- _disownAnyPointer(): Orphan<Pointer>;
1263
- get anyPointer(): Pointer;
1264
- _hasAnyPointer(): boolean;
1265
- get _isAnyPointer(): boolean;
1266
- set anyPointer(value: Pointer);
1267
- toString(): string;
1268
- which(): Value_Which;
1175
+ declare class Value extends index_d_exports.Struct {
1176
+ static readonly VOID: 0;
1177
+ static readonly BOOL: 1;
1178
+ static readonly INT8: 2;
1179
+ static readonly INT16: 3;
1180
+ static readonly INT32: 4;
1181
+ static readonly INT64: 5;
1182
+ static readonly UINT8: 6;
1183
+ static readonly UINT16: 7;
1184
+ static readonly UINT32: 8;
1185
+ static readonly UINT64: 9;
1186
+ static readonly FLOAT32: 10;
1187
+ static readonly FLOAT64: 11;
1188
+ static readonly TEXT: 12;
1189
+ static readonly DATA: 13;
1190
+ static readonly LIST: 14;
1191
+ static readonly ENUM: 15;
1192
+ static readonly STRUCT: 16;
1193
+ static readonly INTERFACE: 17;
1194
+ static readonly ANY_POINTER: 18;
1195
+ static readonly _capnp: {
1196
+ displayName: string;
1197
+ id: string;
1198
+ size: index_d_exports.ObjectSize;
1199
+ };
1200
+ get _isVoid(): boolean;
1201
+ set void(_: true);
1202
+ get bool(): boolean;
1203
+ get _isBool(): boolean;
1204
+ set bool(value: boolean);
1205
+ get int8(): number;
1206
+ get _isInt8(): boolean;
1207
+ set int8(value: number);
1208
+ get int16(): number;
1209
+ get _isInt16(): boolean;
1210
+ set int16(value: number);
1211
+ get int32(): number;
1212
+ get _isInt32(): boolean;
1213
+ set int32(value: number);
1214
+ get int64(): bigint;
1215
+ get _isInt64(): boolean;
1216
+ set int64(value: bigint);
1217
+ get uint8(): number;
1218
+ get _isUint8(): boolean;
1219
+ set uint8(value: number);
1220
+ get uint16(): number;
1221
+ get _isUint16(): boolean;
1222
+ set uint16(value: number);
1223
+ get uint32(): number;
1224
+ get _isUint32(): boolean;
1225
+ set uint32(value: number);
1226
+ get uint64(): bigint;
1227
+ get _isUint64(): boolean;
1228
+ set uint64(value: bigint);
1229
+ get float32(): number;
1230
+ get _isFloat32(): boolean;
1231
+ set float32(value: number);
1232
+ get float64(): number;
1233
+ get _isFloat64(): boolean;
1234
+ set float64(value: number);
1235
+ get text(): string;
1236
+ get _isText(): boolean;
1237
+ set text(value: string);
1238
+ _adoptData(value: index_d_exports.Orphan<index_d_exports.Data>): void;
1239
+ _disownData(): index_d_exports.Orphan<index_d_exports.Data>;
1240
+ get data(): index_d_exports.Data;
1241
+ _hasData(): boolean;
1242
+ _initData(length: number): index_d_exports.Data;
1243
+ get _isData(): boolean;
1244
+ set data(value: index_d_exports.Data);
1245
+ _adoptList(value: index_d_exports.Orphan<index_d_exports.Pointer>): void;
1246
+ _disownList(): index_d_exports.Orphan<index_d_exports.Pointer>;
1247
+ get list(): index_d_exports.Pointer;
1248
+ _hasList(): boolean;
1249
+ get _isList(): boolean;
1250
+ set list(value: index_d_exports.Pointer);
1251
+ get enum(): number;
1252
+ get _isEnum(): boolean;
1253
+ set enum(value: number);
1254
+ _adoptStruct(value: index_d_exports.Orphan<index_d_exports.Pointer>): void;
1255
+ _disownStruct(): index_d_exports.Orphan<index_d_exports.Pointer>;
1256
+ get struct(): index_d_exports.Pointer;
1257
+ _hasStruct(): boolean;
1258
+ get _isStruct(): boolean;
1259
+ set struct(value: index_d_exports.Pointer);
1260
+ get _isInterface(): boolean;
1261
+ set interface(_: true);
1262
+ _adoptAnyPointer(value: index_d_exports.Orphan<index_d_exports.Pointer>): void;
1263
+ _disownAnyPointer(): index_d_exports.Orphan<index_d_exports.Pointer>;
1264
+ get anyPointer(): index_d_exports.Pointer;
1265
+ _hasAnyPointer(): boolean;
1266
+ get _isAnyPointer(): boolean;
1267
+ set anyPointer(value: index_d_exports.Pointer);
1268
+ toString(): string;
1269
+ which(): Value_Which;
1269
1270
  }
1270
1271
  /**
1271
1272
  * Describes an annotation applied to a declaration. Note AnnotationNode describes the
1272
1273
  * annotation's declaration, while this describes a use of the annotation.
1273
1274
  *
1274
1275
  */
1275
- declare class Annotation extends Struct {
1276
- static readonly _capnp: {
1277
- displayName: string;
1278
- id: string;
1279
- size: ObjectSize;
1280
- };
1281
- /**
1276
+ declare class Annotation extends index_d_exports.Struct {
1277
+ static readonly _capnp: {
1278
+ displayName: string;
1279
+ id: string;
1280
+ size: index_d_exports.ObjectSize;
1281
+ };
1282
+ /**
1282
1283
  * ID of the annotation node.
1283
1284
  *
1284
1285
  */
1285
- get id(): bigint;
1286
- set id(value: bigint);
1287
- _adoptBrand(value: Orphan<Brand>): void;
1288
- _disownBrand(): Orphan<Brand>;
1289
- /**
1286
+ get id(): bigint;
1287
+ set id(value: bigint);
1288
+ _adoptBrand(value: index_d_exports.Orphan<Brand>): void;
1289
+ _disownBrand(): index_d_exports.Orphan<Brand>;
1290
+ /**
1290
1291
  * Brand of the annotation.
1291
1292
  *
1292
1293
  * Note that the annotation itself is not allowed to be parameterized, but its scope might be.
1293
1294
  *
1294
1295
  */
1295
- get brand(): Brand;
1296
- _hasBrand(): boolean;
1297
- _initBrand(): Brand;
1298
- set brand(value: Brand);
1299
- _adoptValue(value: Orphan<Value>): void;
1300
- _disownValue(): Orphan<Value>;
1301
- get value(): Value;
1302
- _hasValue(): boolean;
1303
- _initValue(): Value;
1304
- set value(value: Value);
1305
- toString(): string;
1296
+ get brand(): Brand;
1297
+ _hasBrand(): boolean;
1298
+ _initBrand(): Brand;
1299
+ set brand(value: Brand);
1300
+ _adoptValue(value: index_d_exports.Orphan<Value>): void;
1301
+ _disownValue(): index_d_exports.Orphan<Value>;
1302
+ get value(): Value;
1303
+ _hasValue(): boolean;
1304
+ _initValue(): Value;
1305
+ set value(value: Value);
1306
+ toString(): string;
1306
1307
  }
1307
1308
  declare const ElementSize: {
1308
- /**
1309
+ /**
1309
1310
  * aka "void", but that's a keyword.
1310
1311
  *
1311
1312
  */
1312
- readonly EMPTY: 0;
1313
- readonly BIT: 1;
1314
- readonly BYTE: 2;
1315
- readonly TWO_BYTES: 3;
1316
- readonly FOUR_BYTES: 4;
1317
- readonly EIGHT_BYTES: 5;
1318
- readonly POINTER: 6;
1319
- readonly INLINE_COMPOSITE: 7;
1313
+ readonly EMPTY: 0;
1314
+ readonly BIT: 1;
1315
+ readonly BYTE: 2;
1316
+ readonly TWO_BYTES: 3;
1317
+ readonly FOUR_BYTES: 4;
1318
+ readonly EIGHT_BYTES: 5;
1319
+ readonly POINTER: 6;
1320
+ readonly INLINE_COMPOSITE: 7;
1320
1321
  };
1321
1322
  type ElementSize = (typeof ElementSize)[keyof typeof ElementSize];
1322
- declare class CapnpVersion extends Struct {
1323
- static readonly _capnp: {
1324
- displayName: string;
1325
- id: string;
1326
- size: ObjectSize;
1327
- };
1328
- get major(): number;
1329
- set major(value: number);
1330
- get minor(): number;
1331
- set minor(value: number);
1332
- get micro(): number;
1333
- set micro(value: number);
1334
- toString(): string;
1323
+ declare class CapnpVersion extends index_d_exports.Struct {
1324
+ static readonly _capnp: {
1325
+ displayName: string;
1326
+ id: string;
1327
+ size: index_d_exports.ObjectSize;
1328
+ };
1329
+ get major(): number;
1330
+ set major(value: number);
1331
+ get minor(): number;
1332
+ set minor(value: number);
1333
+ get micro(): number;
1334
+ set micro(value: number);
1335
+ toString(): string;
1335
1336
  }
1336
- declare class CodeGeneratorRequest_RequestedFile_Import extends Struct {
1337
- static readonly _capnp: {
1338
- displayName: string;
1339
- id: string;
1340
- size: ObjectSize;
1341
- };
1342
- /**
1337
+ declare class CodeGeneratorRequest_RequestedFile_Import extends index_d_exports.Struct {
1338
+ static readonly _capnp: {
1339
+ displayName: string;
1340
+ id: string;
1341
+ size: index_d_exports.ObjectSize;
1342
+ };
1343
+ /**
1343
1344
  * ID of the imported file.
1344
1345
  *
1345
1346
  */
1346
- get id(): bigint;
1347
- set id(value: bigint);
1348
- /**
1347
+ get id(): bigint;
1348
+ set id(value: bigint);
1349
+ /**
1349
1350
  * Name which *this* file used to refer to the foreign file. This may be a relative name.
1350
1351
  * This information is provided because it might be useful for code generation, e.g. to
1351
1352
  * generate #include directives in C++. We don't put this in Node.file because this
@@ -1354,56 +1355,56 @@ declare class CodeGeneratorRequest_RequestedFile_Import extends Struct {
1354
1355
  * (On Zooko's triangle, this is the import's petname according to the importing file.)
1355
1356
  *
1356
1357
  */
1357
- get name(): string;
1358
- set name(value: string);
1359
- toString(): string;
1358
+ get name(): string;
1359
+ set name(value: string);
1360
+ toString(): string;
1360
1361
  }
1361
- declare class CodeGeneratorRequest_RequestedFile extends Struct {
1362
- static readonly Import: typeof CodeGeneratorRequest_RequestedFile_Import;
1363
- static readonly _capnp: {
1364
- displayName: string;
1365
- id: string;
1366
- size: ObjectSize;
1367
- };
1368
- static _Imports: ListCtor<CodeGeneratorRequest_RequestedFile_Import>;
1369
- /**
1362
+ declare class CodeGeneratorRequest_RequestedFile extends index_d_exports.Struct {
1363
+ static readonly Import: typeof CodeGeneratorRequest_RequestedFile_Import;
1364
+ static readonly _capnp: {
1365
+ displayName: string;
1366
+ id: string;
1367
+ size: index_d_exports.ObjectSize;
1368
+ };
1369
+ static _Imports: index_d_exports.ListCtor<CodeGeneratorRequest_RequestedFile_Import>;
1370
+ /**
1370
1371
  * ID of the file.
1371
1372
  *
1372
1373
  */
1373
- get id(): bigint;
1374
- set id(value: bigint);
1375
- /**
1374
+ get id(): bigint;
1375
+ set id(value: bigint);
1376
+ /**
1376
1377
  * Name of the file as it appeared on the command-line (minus the src-prefix). You may use
1377
1378
  * this to decide where to write the output.
1378
1379
  *
1379
1380
  */
1380
- get filename(): string;
1381
- set filename(value: string);
1382
- _adoptImports(value: Orphan<List<CodeGeneratorRequest_RequestedFile_Import>>): void;
1383
- _disownImports(): Orphan<List<CodeGeneratorRequest_RequestedFile_Import>>;
1384
- /**
1381
+ get filename(): string;
1382
+ set filename(value: string);
1383
+ _adoptImports(value: index_d_exports.Orphan<index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>>): void;
1384
+ _disownImports(): index_d_exports.Orphan<index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>>;
1385
+ /**
1385
1386
  * List of all imported paths seen in this file.
1386
1387
  *
1387
1388
  */
1388
- get imports(): List<CodeGeneratorRequest_RequestedFile_Import>;
1389
- _hasImports(): boolean;
1390
- _initImports(length: number): List<CodeGeneratorRequest_RequestedFile_Import>;
1391
- set imports(value: List<CodeGeneratorRequest_RequestedFile_Import>);
1392
- toString(): string;
1389
+ get imports(): index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>;
1390
+ _hasImports(): boolean;
1391
+ _initImports(length: number): index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>;
1392
+ set imports(value: index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>);
1393
+ toString(): string;
1393
1394
  }
1394
- declare class CodeGeneratorRequest extends Struct {
1395
- static readonly RequestedFile: typeof CodeGeneratorRequest_RequestedFile;
1396
- static readonly _capnp: {
1397
- displayName: string;
1398
- id: string;
1399
- size: ObjectSize;
1400
- };
1401
- static _Nodes: ListCtor<Node>;
1402
- static _SourceInfo: ListCtor<Node_SourceInfo>;
1403
- static _RequestedFiles: ListCtor<CodeGeneratorRequest_RequestedFile>;
1404
- _adoptCapnpVersion(value: Orphan<CapnpVersion>): void;
1405
- _disownCapnpVersion(): Orphan<CapnpVersion>;
1406
- /**
1395
+ declare class CodeGeneratorRequest extends index_d_exports.Struct {
1396
+ static readonly RequestedFile: typeof CodeGeneratorRequest_RequestedFile;
1397
+ static readonly _capnp: {
1398
+ displayName: string;
1399
+ id: string;
1400
+ size: index_d_exports.ObjectSize;
1401
+ };
1402
+ static _Nodes: index_d_exports.ListCtor<Node>;
1403
+ static _SourceInfo: index_d_exports.ListCtor<Node_SourceInfo>;
1404
+ static _RequestedFiles: index_d_exports.ListCtor<CodeGeneratorRequest_RequestedFile>;
1405
+ _adoptCapnpVersion(value: index_d_exports.Orphan<CapnpVersion>): void;
1406
+ _disownCapnpVersion(): index_d_exports.Orphan<CapnpVersion>;
1407
+ /**
1407
1408
  * Version of the `capnp` executable. Generally, code generators should ignore this, but the code
1408
1409
  * generators that ship with `capnp` itself will print a warning if this mismatches since that
1409
1410
  * probably indicates something is misconfigured.
@@ -1412,43 +1413,44 @@ declare class CodeGeneratorRequest extends Struct {
1412
1413
  * is older than that.
1413
1414
  *
1414
1415
  */
1415
- get capnpVersion(): CapnpVersion;
1416
- _hasCapnpVersion(): boolean;
1417
- _initCapnpVersion(): CapnpVersion;
1418
- set capnpVersion(value: CapnpVersion);
1419
- _adoptNodes(value: Orphan<List<Node>>): void;
1420
- _disownNodes(): Orphan<List<Node>>;
1421
- /**
1416
+ get capnpVersion(): CapnpVersion;
1417
+ _hasCapnpVersion(): boolean;
1418
+ _initCapnpVersion(): CapnpVersion;
1419
+ set capnpVersion(value: CapnpVersion);
1420
+ _adoptNodes(value: index_d_exports.Orphan<index_d_exports.List<Node>>): void;
1421
+ _disownNodes(): index_d_exports.Orphan<index_d_exports.List<Node>>;
1422
+ /**
1422
1423
  * All nodes parsed by the compiler, including for the files on the command line and their
1423
1424
  * imports.
1424
1425
  *
1425
1426
  */
1426
- get nodes(): List<Node>;
1427
- _hasNodes(): boolean;
1428
- _initNodes(length: number): List<Node>;
1429
- set nodes(value: List<Node>);
1430
- _adoptSourceInfo(value: Orphan<List<Node_SourceInfo>>): void;
1431
- _disownSourceInfo(): Orphan<List<Node_SourceInfo>>;
1432
- /**
1427
+ get nodes(): index_d_exports.List<Node>;
1428
+ _hasNodes(): boolean;
1429
+ _initNodes(length: number): index_d_exports.List<Node>;
1430
+ set nodes(value: index_d_exports.List<Node>);
1431
+ _adoptSourceInfo(value: index_d_exports.Orphan<index_d_exports.List<Node_SourceInfo>>): void;
1432
+ _disownSourceInfo(): index_d_exports.Orphan<index_d_exports.List<Node_SourceInfo>>;
1433
+ /**
1433
1434
  * Information about the original source code for each node, where available. This array may be
1434
1435
  * omitted or may be missing some nodes if no info is available for them.
1435
1436
  *
1436
1437
  */
1437
- get sourceInfo(): List<Node_SourceInfo>;
1438
- _hasSourceInfo(): boolean;
1439
- _initSourceInfo(length: number): List<Node_SourceInfo>;
1440
- set sourceInfo(value: List<Node_SourceInfo>);
1441
- _adoptRequestedFiles(value: Orphan<List<CodeGeneratorRequest_RequestedFile>>): void;
1442
- _disownRequestedFiles(): Orphan<List<CodeGeneratorRequest_RequestedFile>>;
1443
- /**
1438
+ get sourceInfo(): index_d_exports.List<Node_SourceInfo>;
1439
+ _hasSourceInfo(): boolean;
1440
+ _initSourceInfo(length: number): index_d_exports.List<Node_SourceInfo>;
1441
+ set sourceInfo(value: index_d_exports.List<Node_SourceInfo>);
1442
+ _adoptRequestedFiles(value: index_d_exports.Orphan<index_d_exports.List<CodeGeneratorRequest_RequestedFile>>): void;
1443
+ _disownRequestedFiles(): index_d_exports.Orphan<index_d_exports.List<CodeGeneratorRequest_RequestedFile>>;
1444
+ /**
1444
1445
  * Files which were listed on the command line.
1445
1446
  *
1446
1447
  */
1447
- get requestedFiles(): List<CodeGeneratorRequest_RequestedFile>;
1448
- _hasRequestedFiles(): boolean;
1449
- _initRequestedFiles(length: number): List<CodeGeneratorRequest_RequestedFile>;
1450
- set requestedFiles(value: List<CodeGeneratorRequest_RequestedFile>);
1451
- toString(): string;
1448
+ get requestedFiles(): index_d_exports.List<CodeGeneratorRequest_RequestedFile>;
1449
+ _hasRequestedFiles(): boolean;
1450
+ _initRequestedFiles(length: number): index_d_exports.List<CodeGeneratorRequest_RequestedFile>;
1451
+ set requestedFiles(value: index_d_exports.List<CodeGeneratorRequest_RequestedFile>);
1452
+ toString(): string;
1452
1453
  }
1453
-
1454
+ //#endregion
1454
1455
  export { Annotation, Brand, Brand_Binding, Brand_Binding_Which, Brand_Scope, Brand_Scope_Which, CapnpVersion, CodeGeneratorRequest, CodeGeneratorRequest_RequestedFile, CodeGeneratorRequest_RequestedFile_Import, ElementSize, Enumerant, Field, Field_Group, Field_Ordinal, Field_Ordinal_Which, Field_Slot, Field_Which, Method, Node, Node_Annotation, Node_Const, Node_Enum, Node_Interface, Node_NestedNode, Node_Parameter, Node_SourceInfo, Node_SourceInfo_Member, Node_Struct, Node_Which, Superclass, Type, Type_AnyPointer, Type_AnyPointer_ImplicitMethodParameter, Type_AnyPointer_Parameter, Type_AnyPointer_Unconstrained, Type_AnyPointer_Unconstrained_Which, Type_AnyPointer_Which, Type_Enum, Type_Interface, Type_List, Type_Struct, Type_Which, Value, Value_Which, _capnpFileId };
1456
+ //# sourceMappingURL=schema.d.cts.map