@stryke/capnp 0.12.96 → 0.12.97

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 (119) hide show
  1. package/bin/capnpc.cjs +405 -304
  2. package/bin/capnpc.d.cts +909 -4
  3. package/bin/capnpc.d.cts.map +1 -1
  4. package/bin/capnpc.d.mts +909 -4
  5. package/bin/capnpc.d.mts.map +1 -1
  6. package/bin/capnpc.mjs +368 -268
  7. package/bin/capnpc.mjs.map +1 -1
  8. package/dist/capnp-es.BHkXHvyK-B3-d8RNu.d.mts +2991 -0
  9. package/dist/capnp-es.BHkXHvyK-B3-d8RNu.d.mts.map +1 -0
  10. package/dist/capnp-es.BHkXHvyK-CQWXOqvU.d.cts +2991 -0
  11. package/dist/capnp-es.BHkXHvyK-CQWXOqvU.d.cts.map +1 -0
  12. package/dist/{capnp-es.GpvEvMIK-C4q8I6qy.mjs → capnp-es.GpvEvMIK-CH8kq1KS.mjs} +13 -6
  13. package/dist/{capnp-es.GpvEvMIK-C4q8I6qy.mjs.map → capnp-es.GpvEvMIK-CH8kq1KS.mjs.map} +1 -1
  14. package/dist/{capnp-es.GpvEvMIK-BcYm5JyH.cjs → capnp-es.GpvEvMIK-CZ5ZimCD.cjs} +12 -5
  15. package/dist/{compile-Cx88xgqJ.mjs → compile-D_BOc0dD.mjs} +109 -15
  16. package/dist/compile-D_BOc0dD.mjs.map +1 -0
  17. package/dist/{compile-SmxAaHxW.cjs → compile-Yq1zhccM.cjs} +113 -19
  18. package/dist/compile.cjs +2 -2
  19. package/dist/compile.d.cts +38 -3
  20. package/dist/compile.d.cts.map +1 -0
  21. package/dist/compile.d.mts +38 -3
  22. package/dist/compile.d.mts.map +1 -0
  23. package/dist/compile.mjs +1 -2
  24. package/dist/{dist-BlvFBzSi.mjs → dist-DQ7xmzRT.mjs} +385 -16
  25. package/dist/dist-DQ7xmzRT.mjs.map +1 -0
  26. package/dist/{dist-YywzZL3Q.cjs → dist-VMGxvENY.cjs} +381 -12
  27. package/dist/{helpers-BoYAadSB.mjs → helpers-2TldkyGG.mjs} +136 -137
  28. package/dist/helpers-2TldkyGG.mjs.map +1 -0
  29. package/dist/{helpers-gxlsFdP8.cjs → helpers-Dn4nWOb7.cjs} +164 -165
  30. package/dist/helpers.cjs +2 -1
  31. package/dist/helpers.d.cts +1 -2
  32. package/dist/helpers.d.cts.map +1 -1
  33. package/dist/helpers.d.mts +1 -2
  34. package/dist/helpers.d.mts.map +1 -1
  35. package/dist/helpers.mjs +1 -1
  36. package/dist/index-63Za7yNc.d.cts +736 -0
  37. package/dist/index-63Za7yNc.d.cts.map +1 -0
  38. package/dist/index-LYXu6eWz.d.mts +736 -0
  39. package/dist/index-LYXu6eWz.d.mts.map +1 -0
  40. package/dist/index.cjs +5 -5
  41. package/dist/index.d.cts +5 -4
  42. package/dist/index.d.mts +5 -4
  43. package/dist/index.mjs +4 -5
  44. package/dist/rpc-helpers.cjs +4 -3
  45. package/dist/rpc-helpers.d.cts +3 -4
  46. package/dist/rpc-helpers.d.cts.map +1 -1
  47. package/dist/rpc-helpers.d.mts +3 -4
  48. package/dist/rpc-helpers.d.mts.map +1 -1
  49. package/dist/rpc-helpers.mjs +2 -2
  50. package/dist/types-BjCOVfgj.d.cts +1506 -0
  51. package/dist/types-BjCOVfgj.d.cts.map +1 -0
  52. package/dist/types-CVzMn-TI.d.mts +1506 -0
  53. package/dist/types-CVzMn-TI.d.mts.map +1 -0
  54. package/dist/types.cjs +8 -2
  55. package/dist/types.d.cts +1 -1
  56. package/dist/types.d.mts +1 -1
  57. package/dist/types.mjs +7 -2
  58. package/dist/types.mjs.map +1 -0
  59. package/package.json +5 -5
  60. package/schemas/cpp.cjs +1 -0
  61. package/schemas/cpp.d.cts.map +1 -1
  62. package/schemas/cpp.d.mts.map +1 -1
  63. package/schemas/index-BB47pUzp.d.cts +742 -0
  64. package/schemas/index-BB47pUzp.d.cts.map +1 -0
  65. package/schemas/index-DprjZUdT.d.mts +742 -0
  66. package/schemas/index-DprjZUdT.d.mts.map +1 -0
  67. package/schemas/persistent.cjs +2 -1
  68. package/schemas/persistent.d.cts +48 -21
  69. package/schemas/persistent.d.cts.map +1 -1
  70. package/schemas/persistent.d.mts +48 -21
  71. package/schemas/persistent.d.mts.map +1 -1
  72. package/schemas/persistent.mjs +1 -1
  73. package/schemas/persistent.mjs.map +1 -1
  74. package/schemas/rpc-twoparty.cjs +20 -1
  75. package/schemas/rpc-twoparty.d.cts +17 -17
  76. package/schemas/rpc-twoparty.d.cts.map +1 -1
  77. package/schemas/rpc-twoparty.d.mts +17 -17
  78. package/schemas/rpc-twoparty.d.mts.map +1 -1
  79. package/schemas/rpc-twoparty.mjs +19 -1
  80. package/schemas/rpc-twoparty.mjs.map +1 -1
  81. package/schemas/rpc.cjs +371 -1
  82. package/schemas/rpc.d.cts +141 -141
  83. package/schemas/rpc.d.cts.map +1 -1
  84. package/schemas/rpc.d.mts +141 -141
  85. package/schemas/rpc.d.mts.map +1 -1
  86. package/schemas/rpc.mjs +370 -1
  87. package/schemas/rpc.mjs.map +1 -1
  88. package/schemas/schema.cjs +96 -1
  89. package/schemas/schema.d.cts +286 -228
  90. package/schemas/schema.d.cts.map +1 -1
  91. package/schemas/schema.d.mts +286 -228
  92. package/schemas/schema.d.mts.map +1 -1
  93. package/schemas/schema.mjs +95 -1
  94. package/schemas/schema.mjs.map +1 -1
  95. package/schemas/{src-2eLj6yCr.cjs → src-B6FhDNiV.cjs} +19 -12
  96. package/schemas/{src-s2pCu2mc.mjs → src-B97sIXSw.mjs} +19 -13
  97. package/schemas/src-B97sIXSw.mjs.map +1 -0
  98. package/schemas/ts.cjs +1 -0
  99. package/schemas/ts.d.cts.map +1 -1
  100. package/schemas/ts.d.mts.map +1 -1
  101. package/dist/compile-Cx88xgqJ.mjs.map +0 -1
  102. package/dist/compile-DccxA7WZ.d.cts +0 -40
  103. package/dist/compile-DccxA7WZ.d.cts.map +0 -1
  104. package/dist/compile-UkKIpqrK.d.mts +0 -40
  105. package/dist/compile-UkKIpqrK.d.mts.map +0 -1
  106. package/dist/dist-BlvFBzSi.mjs.map +0 -1
  107. package/dist/helpers-BoYAadSB.mjs.map +0 -1
  108. package/dist/types-Cuj2daUE.mjs +0 -8
  109. package/dist/types-Cuj2daUE.mjs.map +0 -1
  110. package/dist/types-D03SjfBL.d.mts +0 -55
  111. package/dist/types-D03SjfBL.d.mts.map +0 -1
  112. package/dist/types-D52qMMoK.d.cts +0 -55
  113. package/dist/types-D52qMMoK.d.cts.map +0 -1
  114. package/dist/types-DHrjS-69.cjs +0 -13
  115. package/schemas/index-BAJMwFip.d.mts +0 -96
  116. package/schemas/index-BAJMwFip.d.mts.map +0 -1
  117. package/schemas/index-b7dam4EA.d.cts +0 -96
  118. package/schemas/index-b7dam4EA.d.cts.map +0 -1
  119. package/schemas/src-s2pCu2mc.mjs.map +0 -1
@@ -1,26 +1,84 @@
1
- import { t as index_d_exports } from "./index-BAJMwFip.mjs";
1
+ import { a as List, c as ObjectSize, d as Pointer, l as Orphan, o as ListCtor, p as Struct } from "./index-DprjZUdT.mjs";
2
2
 
3
+ //#region ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@6.0.3/node_modules/capnp-es/dist/shared/capnp-es.BHkXHvyK.d.mts
4
+ /**
5
+ * A generic blob of bytes. Can be converted to a DataView or Uint8Array to access its contents using `toDataView()` and
6
+ * `toUint8Array()`. Use `copyBuffer()` to copy an entire buffer at once.
7
+ */
8
+ declare class Data extends List<number> {
9
+ static fromPointer(pointer: Pointer): Data;
10
+ protected static _fromPointerUnchecked(pointer: Pointer): Data;
11
+ /**
12
+ * Copy the contents of `src` into this Data pointer. If `src` is smaller than the length of this pointer then the
13
+ * remaining bytes will be zeroed out. Extra bytes in `src` are ignored.
14
+ *
15
+ * @param src The source buffer.
16
+ */
17
+ copyBuffer(src: ArrayBuffer | ArrayBufferView): void;
18
+ /**
19
+ * Read a byte from the specified offset.
20
+ *
21
+ * @param byteOffset The byte offset to read.
22
+ * @returns The byte value.
23
+ */
24
+ get(byteOffset: number): number;
25
+ /**
26
+ * Write a byte at the specified offset.
27
+ *
28
+ * @param byteOffset The byte offset to set.
29
+ * @param value The byte value to set.
30
+ */
31
+ set(byteOffset: number, value: number): void;
32
+ /**
33
+ * Creates a **copy** of the underlying buffer data and returns it as an ArrayBuffer.
34
+ *
35
+ * To obtain a reference to the underlying buffer instead, use `toUint8Array()` or `toDataView()`.
36
+ *
37
+ * @returns A copy of this data buffer.
38
+ */
39
+ toArrayBuffer(): ArrayBuffer;
40
+ /**
41
+ * Convert this Data pointer to a DataView representing the pointer's contents.
42
+ *
43
+ * WARNING: The DataView references memory from a message segment, so do not venture outside the bounds of the
44
+ * DataView or else BAD THINGS.
45
+ *
46
+ * @returns A live reference to the underlying buffer.
47
+ */
48
+ toDataView(): DataView;
49
+ [Symbol.toStringTag](): string;
50
+ /**
51
+ * Convert this Data pointer to a Uint8Array representing the pointer's contents.
52
+ *
53
+ * WARNING: The Uint8Array references memory from a message segment, so do not venture outside the bounds of the
54
+ * Uint8Array or else BAD THINGS.
55
+ *
56
+ * @returns A live reference to the underlying buffer.
57
+ */
58
+ toUint8Array(): Uint8Array;
59
+ }
60
+ //#endregion
3
61
  //#region schemas/schema.d.ts
4
62
  declare const _capnpFileId: bigint;
5
63
  /**
6
64
  * Information about one of the node's parameters.
7
65
  *
8
66
  */
9
- declare class Node_Parameter extends index_d_exports.Struct {
67
+ declare class Node_Parameter extends Struct {
10
68
  static readonly _capnp: {
11
69
  displayName: string;
12
70
  id: string;
13
- size: index_d_exports.ObjectSize;
71
+ size: ObjectSize;
14
72
  };
15
73
  get name(): string;
16
74
  set name(value: string);
17
75
  toString(): string;
18
76
  }
19
- declare class Node_NestedNode extends index_d_exports.Struct {
77
+ declare class Node_NestedNode extends Struct {
20
78
  static readonly _capnp: {
21
79
  displayName: string;
22
80
  id: string;
23
- size: index_d_exports.ObjectSize;
81
+ size: ObjectSize;
24
82
  };
25
83
  /**
26
84
  * Unqualified symbol name. Unlike Node.displayName, this *can* be used programmatically.
@@ -39,11 +97,11 @@ declare class Node_NestedNode extends index_d_exports.Struct {
39
97
  set id(value: bigint);
40
98
  toString(): string;
41
99
  }
42
- declare class Node_SourceInfo_Member extends index_d_exports.Struct {
100
+ declare class Node_SourceInfo_Member extends Struct {
43
101
  static readonly _capnp: {
44
102
  displayName: string;
45
103
  id: string;
46
- size: index_d_exports.ObjectSize;
104
+ size: ObjectSize;
47
105
  };
48
106
  /**
49
107
  * Doc comment on the member.
@@ -60,14 +118,14 @@ declare class Node_SourceInfo_Member extends index_d_exports.Struct {
60
118
  * `CodeGeneratorRequest` includes this information in a separate array.
61
119
  *
62
120
  */
63
- declare class Node_SourceInfo extends index_d_exports.Struct {
121
+ declare class Node_SourceInfo extends Struct {
64
122
  static readonly Member: typeof Node_SourceInfo_Member;
65
123
  static readonly _capnp: {
66
124
  displayName: string;
67
125
  id: string;
68
- size: index_d_exports.ObjectSize;
126
+ size: ObjectSize;
69
127
  };
70
- static _Members: index_d_exports.ListCtor<Node_SourceInfo_Member>;
128
+ static _Members: ListCtor<Node_SourceInfo_Member>;
71
129
  /**
72
130
  * ID of the Node which this info describes.
73
131
  *
@@ -80,8 +138,8 @@ declare class Node_SourceInfo extends index_d_exports.Struct {
80
138
  */
81
139
  get docComment(): string;
82
140
  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>>;
141
+ _adoptMembers(value: Orphan<List<Node_SourceInfo_Member>>): void;
142
+ _disownMembers(): Orphan<List<Node_SourceInfo_Member>>;
85
143
  /**
86
144
  * Information about each member -- i.e. fields (for structs), enumerants (for enums), or
87
145
  * methods (for interfaces).
@@ -90,19 +148,19 @@ declare class Node_SourceInfo extends index_d_exports.Struct {
90
148
  * Node.struct.fields, Node.enum.enumerants, or Node.interface.methods.
91
149
  *
92
150
  */
93
- get members(): index_d_exports.List<Node_SourceInfo_Member>;
151
+ get members(): List<Node_SourceInfo_Member>;
94
152
  _hasMembers(): boolean;
95
- _initMembers(length: number): index_d_exports.List<Node_SourceInfo_Member>;
96
- set members(value: index_d_exports.List<Node_SourceInfo_Member>);
153
+ _initMembers(length: number): List<Node_SourceInfo_Member>;
154
+ set members(value: List<Node_SourceInfo_Member>);
97
155
  toString(): string;
98
156
  }
99
- declare class Node_Struct extends index_d_exports.Struct {
157
+ declare class Node_Struct extends Struct {
100
158
  static readonly _capnp: {
101
159
  displayName: string;
102
160
  id: string;
103
- size: index_d_exports.ObjectSize;
161
+ size: ObjectSize;
104
162
  };
105
- static _Fields: index_d_exports.ListCtor<Field>;
163
+ static _Fields: ListCtor<Field>;
106
164
  /**
107
165
  * Size of the data section, in words.
108
166
  *
@@ -160,8 +218,8 @@ declare class Node_Struct extends index_d_exports.Struct {
160
218
  */
161
219
  get discriminantOffset(): number;
162
220
  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>>;
221
+ _adoptFields(value: Orphan<List<Field>>): void;
222
+ _disownFields(): Orphan<List<Field>>;
165
223
  /**
166
224
  * Fields defined within this scope (either the struct's top-level fields, or the fields of
167
225
  * a particular group; see `isGroup`).
@@ -174,89 +232,89 @@ declare class Node_Struct extends index_d_exports.Struct {
174
232
  * most sense to use the field's index in this list rather than its ordinal.
175
233
  *
176
234
  */
177
- get fields(): index_d_exports.List<Field>;
235
+ get fields(): List<Field>;
178
236
  _hasFields(): boolean;
179
- _initFields(length: number): index_d_exports.List<Field>;
180
- set fields(value: index_d_exports.List<Field>);
237
+ _initFields(length: number): List<Field>;
238
+ set fields(value: List<Field>);
181
239
  toString(): string;
182
240
  }
183
- declare class Node_Enum extends index_d_exports.Struct {
241
+ declare class Node_Enum extends Struct {
184
242
  static readonly _capnp: {
185
243
  displayName: string;
186
244
  id: string;
187
- size: index_d_exports.ObjectSize;
245
+ size: ObjectSize;
188
246
  };
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>>;
247
+ static _Enumerants: ListCtor<Enumerant>;
248
+ _adoptEnumerants(value: Orphan<List<Enumerant>>): void;
249
+ _disownEnumerants(): Orphan<List<Enumerant>>;
192
250
  /**
193
251
  * Enumerants ordered by numeric value (ordinal).
194
252
  *
195
253
  */
196
- get enumerants(): index_d_exports.List<Enumerant>;
254
+ get enumerants(): List<Enumerant>;
197
255
  _hasEnumerants(): boolean;
198
- _initEnumerants(length: number): index_d_exports.List<Enumerant>;
199
- set enumerants(value: index_d_exports.List<Enumerant>);
256
+ _initEnumerants(length: number): List<Enumerant>;
257
+ set enumerants(value: List<Enumerant>);
200
258
  toString(): string;
201
259
  }
202
- declare class Node_Interface extends index_d_exports.Struct {
260
+ declare class Node_Interface extends Struct {
203
261
  static readonly _capnp: {
204
262
  displayName: string;
205
263
  id: string;
206
- size: index_d_exports.ObjectSize;
264
+ size: ObjectSize;
207
265
  };
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>>;
266
+ static _Methods: ListCtor<Method>;
267
+ static _Superclasses: ListCtor<Superclass>;
268
+ _adoptMethods(value: Orphan<List<Method>>): void;
269
+ _disownMethods(): Orphan<List<Method>>;
212
270
  /**
213
271
  * Methods ordered by ordinal.
214
272
  *
215
273
  */
216
- get methods(): index_d_exports.List<Method>;
274
+ get methods(): List<Method>;
217
275
  _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>>;
276
+ _initMethods(length: number): List<Method>;
277
+ set methods(value: List<Method>);
278
+ _adoptSuperclasses(value: Orphan<List<Superclass>>): void;
279
+ _disownSuperclasses(): Orphan<List<Superclass>>;
222
280
  /**
223
281
  * Superclasses of this interface.
224
282
  *
225
283
  */
226
- get superclasses(): index_d_exports.List<Superclass>;
284
+ get superclasses(): List<Superclass>;
227
285
  _hasSuperclasses(): boolean;
228
- _initSuperclasses(length: number): index_d_exports.List<Superclass>;
229
- set superclasses(value: index_d_exports.List<Superclass>);
286
+ _initSuperclasses(length: number): List<Superclass>;
287
+ set superclasses(value: List<Superclass>);
230
288
  toString(): string;
231
289
  }
232
- declare class Node_Const extends index_d_exports.Struct {
290
+ declare class Node_Const extends Struct {
233
291
  static readonly _capnp: {
234
292
  displayName: string;
235
293
  id: string;
236
- size: index_d_exports.ObjectSize;
294
+ size: ObjectSize;
237
295
  };
238
- _adoptType(value: index_d_exports.Orphan<Type>): void;
239
- _disownType(): index_d_exports.Orphan<Type>;
296
+ _adoptType(value: Orphan<Type>): void;
297
+ _disownType(): Orphan<Type>;
240
298
  get type(): Type;
241
299
  _hasType(): boolean;
242
300
  _initType(): Type;
243
301
  set type(value: Type);
244
- _adoptValue(value: index_d_exports.Orphan<Value>): void;
245
- _disownValue(): index_d_exports.Orphan<Value>;
302
+ _adoptValue(value: Orphan<Value>): void;
303
+ _disownValue(): Orphan<Value>;
246
304
  get value(): Value;
247
305
  _hasValue(): boolean;
248
306
  _initValue(): Value;
249
307
  set value(value: Value);
250
308
  toString(): string;
251
309
  }
252
- declare class Node_Annotation extends index_d_exports.Struct {
310
+ declare class Node_Annotation extends Struct {
253
311
  static readonly _capnp: {
254
312
  displayName: string;
255
313
  id: string;
256
- size: index_d_exports.ObjectSize;
314
+ size: ObjectSize;
257
315
  };
258
- _adoptType(value: index_d_exports.Orphan<Type>): void;
259
- _disownType(): index_d_exports.Orphan<Type>;
316
+ _adoptType(value: Orphan<Type>): void;
317
+ _disownType(): Orphan<Type>;
260
318
  get type(): Type;
261
319
  _hasType(): boolean;
262
320
  _initType(): Type;
@@ -324,7 +382,7 @@ declare const Node_Which: {
324
382
  readonly ANNOTATION: 5;
325
383
  };
326
384
  type Node_Which = (typeof Node_Which)[keyof typeof Node_Which];
327
- declare class Node extends index_d_exports.Struct {
385
+ declare class Node extends Struct {
328
386
  static readonly FILE: 0;
329
387
  static readonly STRUCT: 1;
330
388
  static readonly ENUM: 2;
@@ -337,11 +395,11 @@ declare class Node extends index_d_exports.Struct {
337
395
  static readonly _capnp: {
338
396
  displayName: string;
339
397
  id: string;
340
- size: index_d_exports.ObjectSize;
398
+ size: ObjectSize;
341
399
  };
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>;
400
+ static _Parameters: ListCtor<Node_Parameter>;
401
+ static _NestedNodes: ListCtor<Node_NestedNode>;
402
+ static _Annotations: ListCtor<Annotation>;
345
403
  get id(): bigint;
346
404
  set id(value: bigint);
347
405
  /**
@@ -370,16 +428,16 @@ declare class Node extends index_d_exports.Struct {
370
428
  */
371
429
  get scopeId(): bigint;
372
430
  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>>;
431
+ _adoptParameters(value: Orphan<List<Node_Parameter>>): void;
432
+ _disownParameters(): Orphan<List<Node_Parameter>>;
375
433
  /**
376
434
  * If this node is parameterized (generic), the list of parameters. Empty for non-generic types.
377
435
  *
378
436
  */
379
- get parameters(): index_d_exports.List<Node_Parameter>;
437
+ get parameters(): List<Node_Parameter>;
380
438
  _hasParameters(): boolean;
381
- _initParameters(length: number): index_d_exports.List<Node_Parameter>;
382
- set parameters(value: index_d_exports.List<Node_Parameter>);
439
+ _initParameters(length: number): List<Node_Parameter>;
440
+ set parameters(value: List<Node_Parameter>);
383
441
  /**
384
442
  * True if this node is generic, meaning that it or one of its parent scopes has a non-empty
385
443
  * `parameters`.
@@ -387,26 +445,26 @@ declare class Node extends index_d_exports.Struct {
387
445
  */
388
446
  get isGeneric(): boolean;
389
447
  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>>;
448
+ _adoptNestedNodes(value: Orphan<List<Node_NestedNode>>): void;
449
+ _disownNestedNodes(): Orphan<List<Node_NestedNode>>;
392
450
  /**
393
451
  * List of nodes nested within this node, along with the names under which they were declared.
394
452
  *
395
453
  */
396
- get nestedNodes(): index_d_exports.List<Node_NestedNode>;
454
+ get nestedNodes(): List<Node_NestedNode>;
397
455
  _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>>;
456
+ _initNestedNodes(length: number): List<Node_NestedNode>;
457
+ set nestedNodes(value: List<Node_NestedNode>);
458
+ _adoptAnnotations(value: Orphan<List<Annotation>>): void;
459
+ _disownAnnotations(): Orphan<List<Annotation>>;
402
460
  /**
403
461
  * Annotations applied to this node.
404
462
  *
405
463
  */
406
- get annotations(): index_d_exports.List<Annotation>;
464
+ get annotations(): List<Annotation>;
407
465
  _hasAnnotations(): boolean;
408
- _initAnnotations(length: number): index_d_exports.List<Annotation>;
409
- set annotations(value: index_d_exports.List<Annotation>);
466
+ _initAnnotations(length: number): List<Annotation>;
467
+ set annotations(value: List<Annotation>);
410
468
  get _isFile(): boolean;
411
469
  set file(_: true);
412
470
  get struct(): Node_Struct;
@@ -436,11 +494,11 @@ declare class Node extends index_d_exports.Struct {
436
494
  * A regular, non-group, non-fixed-list field.
437
495
  *
438
496
  */
439
- declare class Field_Slot extends index_d_exports.Struct {
497
+ declare class Field_Slot extends Struct {
440
498
  static readonly _capnp: {
441
499
  displayName: string;
442
500
  id: string;
443
- size: index_d_exports.ObjectSize;
501
+ size: ObjectSize;
444
502
  };
445
503
  /**
446
504
  * Offset, in units of the field's size, from the beginning of the section in which the field
@@ -450,14 +508,14 @@ declare class Field_Slot extends index_d_exports.Struct {
450
508
  */
451
509
  get offset(): number;
452
510
  set offset(value: number);
453
- _adoptType(value: index_d_exports.Orphan<Type>): void;
454
- _disownType(): index_d_exports.Orphan<Type>;
511
+ _adoptType(value: Orphan<Type>): void;
512
+ _disownType(): Orphan<Type>;
455
513
  get type(): Type;
456
514
  _hasType(): boolean;
457
515
  _initType(): Type;
458
516
  set type(value: Type);
459
- _adoptDefaultValue(value: index_d_exports.Orphan<Value>): void;
460
- _disownDefaultValue(): index_d_exports.Orphan<Value>;
517
+ _adoptDefaultValue(value: Orphan<Value>): void;
518
+ _disownDefaultValue(): Orphan<Value>;
461
519
  get defaultValue(): Value;
462
520
  _hasDefaultValue(): boolean;
463
521
  _initDefaultValue(): Value;
@@ -477,11 +535,11 @@ declare class Field_Slot extends index_d_exports.Struct {
477
535
  * A group.
478
536
  *
479
537
  */
480
- declare class Field_Group extends index_d_exports.Struct {
538
+ declare class Field_Group extends Struct {
481
539
  static readonly _capnp: {
482
540
  displayName: string;
483
541
  id: string;
484
- size: index_d_exports.ObjectSize;
542
+ size: ObjectSize;
485
543
  };
486
544
  /**
487
545
  * The ID of the group's node.
@@ -503,13 +561,13 @@ declare const Field_Ordinal_Which: {
503
561
  readonly EXPLICIT: 1;
504
562
  };
505
563
  type Field_Ordinal_Which = (typeof Field_Ordinal_Which)[keyof typeof Field_Ordinal_Which];
506
- declare class Field_Ordinal extends index_d_exports.Struct {
564
+ declare class Field_Ordinal extends Struct {
507
565
  static readonly IMPLICIT: 0;
508
566
  static readonly EXPLICIT: 1;
509
567
  static readonly _capnp: {
510
568
  displayName: string;
511
569
  id: string;
512
- size: index_d_exports.ObjectSize;
570
+ size: ObjectSize;
513
571
  };
514
572
  get _isImplicit(): boolean;
515
573
  set implicit(_: true);
@@ -544,17 +602,17 @@ type Field_Which = (typeof Field_Which)[keyof typeof Field_Which];
544
602
  * Schema for a field of a struct.
545
603
  *
546
604
  */
547
- declare class Field extends index_d_exports.Struct {
605
+ declare class Field extends Struct {
548
606
  static readonly NO_DISCRIMINANT = 65535;
549
607
  static readonly SLOT: 0;
550
608
  static readonly GROUP: 1;
551
609
  static readonly _capnp: {
552
610
  displayName: string;
553
611
  id: string;
554
- size: index_d_exports.ObjectSize;
612
+ size: ObjectSize;
555
613
  defaultDiscriminantValue: DataView<ArrayBufferLike>;
556
614
  };
557
- static _Annotations: index_d_exports.ListCtor<Annotation>;
615
+ static _Annotations: ListCtor<Annotation>;
558
616
  get name(): string;
559
617
  set name(value: string);
560
618
  /**
@@ -568,12 +626,12 @@ declare class Field extends index_d_exports.Struct {
568
626
  */
569
627
  get codeOrder(): number;
570
628
  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>;
629
+ _adoptAnnotations(value: Orphan<List<Annotation>>): void;
630
+ _disownAnnotations(): Orphan<List<Annotation>>;
631
+ get annotations(): List<Annotation>;
574
632
  _hasAnnotations(): boolean;
575
- _initAnnotations(length: number): index_d_exports.List<Annotation>;
576
- set annotations(value: index_d_exports.List<Annotation>);
633
+ _initAnnotations(length: number): List<Annotation>;
634
+ set annotations(value: List<Annotation>);
577
635
  /**
578
636
  * If the field is in a union, this is the value which the union's discriminant should take when
579
637
  * the field is active. If the field is not in a union, this is 0xffff.
@@ -606,13 +664,13 @@ declare class Field extends index_d_exports.Struct {
606
664
  * Schema for member of an enum.
607
665
  *
608
666
  */
609
- declare class Enumerant extends index_d_exports.Struct {
667
+ declare class Enumerant extends Struct {
610
668
  static readonly _capnp: {
611
669
  displayName: string;
612
670
  id: string;
613
- size: index_d_exports.ObjectSize;
671
+ size: ObjectSize;
614
672
  };
615
- static _Annotations: index_d_exports.ListCtor<Annotation>;
673
+ static _Annotations: ListCtor<Annotation>;
616
674
  get name(): string;
617
675
  set name(value: string);
618
676
  /**
@@ -622,24 +680,24 @@ declare class Enumerant extends index_d_exports.Struct {
622
680
  */
623
681
  get codeOrder(): number;
624
682
  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>;
683
+ _adoptAnnotations(value: Orphan<List<Annotation>>): void;
684
+ _disownAnnotations(): Orphan<List<Annotation>>;
685
+ get annotations(): List<Annotation>;
628
686
  _hasAnnotations(): boolean;
629
- _initAnnotations(length: number): index_d_exports.List<Annotation>;
630
- set annotations(value: index_d_exports.List<Annotation>);
687
+ _initAnnotations(length: number): List<Annotation>;
688
+ set annotations(value: List<Annotation>);
631
689
  toString(): string;
632
690
  }
633
- declare class Superclass extends index_d_exports.Struct {
691
+ declare class Superclass extends Struct {
634
692
  static readonly _capnp: {
635
693
  displayName: string;
636
694
  id: string;
637
- size: index_d_exports.ObjectSize;
695
+ size: ObjectSize;
638
696
  };
639
697
  get id(): bigint;
640
698
  set id(value: bigint);
641
- _adoptBrand(value: index_d_exports.Orphan<Brand>): void;
642
- _disownBrand(): index_d_exports.Orphan<Brand>;
699
+ _adoptBrand(value: Orphan<Brand>): void;
700
+ _disownBrand(): Orphan<Brand>;
643
701
  get brand(): Brand;
644
702
  _hasBrand(): boolean;
645
703
  _initBrand(): Brand;
@@ -650,14 +708,14 @@ declare class Superclass extends index_d_exports.Struct {
650
708
  * Schema for method of an interface.
651
709
  *
652
710
  */
653
- declare class Method extends index_d_exports.Struct {
711
+ declare class Method extends Struct {
654
712
  static readonly _capnp: {
655
713
  displayName: string;
656
714
  id: string;
657
- size: index_d_exports.ObjectSize;
715
+ size: ObjectSize;
658
716
  };
659
- static _ImplicitParameters: index_d_exports.ListCtor<Node_Parameter>;
660
- static _Annotations: index_d_exports.ListCtor<Annotation>;
717
+ static _ImplicitParameters: ListCtor<Node_Parameter>;
718
+ static _Annotations: ListCtor<Annotation>;
661
719
  get name(): string;
662
720
  set name(value: string);
663
721
  /**
@@ -667,17 +725,17 @@ declare class Method extends index_d_exports.Struct {
667
725
  */
668
726
  get codeOrder(): number;
669
727
  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>>;
728
+ _adoptImplicitParameters(value: Orphan<List<Node_Parameter>>): void;
729
+ _disownImplicitParameters(): Orphan<List<Node_Parameter>>;
672
730
  /**
673
731
  * The parameters listed in [] (typically, type / generic parameters), whose bindings are intended
674
732
  * to be inferred rather than specified explicitly, although not all languages support this.
675
733
  *
676
734
  */
677
- get implicitParameters(): index_d_exports.List<Node_Parameter>;
735
+ get implicitParameters(): List<Node_Parameter>;
678
736
  _hasImplicitParameters(): boolean;
679
- _initImplicitParameters(length: number): index_d_exports.List<Node_Parameter>;
680
- set implicitParameters(value: index_d_exports.List<Node_Parameter>);
737
+ _initImplicitParameters(length: number): List<Node_Parameter>;
738
+ set implicitParameters(value: List<Node_Parameter>);
681
739
  /**
682
740
  * ID of the parameter struct type. If a named parameter list was specified in the method
683
741
  * declaration (rather than a single struct parameter type) then a corresponding struct type is
@@ -690,8 +748,8 @@ declare class Method extends index_d_exports.Struct {
690
748
  */
691
749
  get paramStructType(): bigint;
692
750
  set paramStructType(value: bigint);
693
- _adoptParamBrand(value: index_d_exports.Orphan<Brand>): void;
694
- _disownParamBrand(): index_d_exports.Orphan<Brand>;
751
+ _adoptParamBrand(value: Orphan<Brand>): void;
752
+ _disownParamBrand(): Orphan<Brand>;
695
753
  /**
696
754
  * Brand of param struct type.
697
755
  *
@@ -706,8 +764,8 @@ declare class Method extends index_d_exports.Struct {
706
764
  */
707
765
  get resultStructType(): bigint;
708
766
  set resultStructType(value: bigint);
709
- _adoptResultBrand(value: index_d_exports.Orphan<Brand>): void;
710
- _disownResultBrand(): index_d_exports.Orphan<Brand>;
767
+ _adoptResultBrand(value: Orphan<Brand>): void;
768
+ _disownResultBrand(): Orphan<Brand>;
711
769
  /**
712
770
  * Brand of result struct type.
713
771
  *
@@ -716,70 +774,70 @@ declare class Method extends index_d_exports.Struct {
716
774
  _hasResultBrand(): boolean;
717
775
  _initResultBrand(): Brand;
718
776
  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>;
777
+ _adoptAnnotations(value: Orphan<List<Annotation>>): void;
778
+ _disownAnnotations(): Orphan<List<Annotation>>;
779
+ get annotations(): List<Annotation>;
722
780
  _hasAnnotations(): boolean;
723
- _initAnnotations(length: number): index_d_exports.List<Annotation>;
724
- set annotations(value: index_d_exports.List<Annotation>);
781
+ _initAnnotations(length: number): List<Annotation>;
782
+ set annotations(value: List<Annotation>);
725
783
  toString(): string;
726
784
  }
727
- declare class Type_List extends index_d_exports.Struct {
785
+ declare class Type_List extends Struct {
728
786
  static readonly _capnp: {
729
787
  displayName: string;
730
788
  id: string;
731
- size: index_d_exports.ObjectSize;
789
+ size: ObjectSize;
732
790
  };
733
- _adoptElementType(value: index_d_exports.Orphan<Type>): void;
734
- _disownElementType(): index_d_exports.Orphan<Type>;
791
+ _adoptElementType(value: Orphan<Type>): void;
792
+ _disownElementType(): Orphan<Type>;
735
793
  get elementType(): Type;
736
794
  _hasElementType(): boolean;
737
795
  _initElementType(): Type;
738
796
  set elementType(value: Type);
739
797
  toString(): string;
740
798
  }
741
- declare class Type_Enum extends index_d_exports.Struct {
799
+ declare class Type_Enum extends Struct {
742
800
  static readonly _capnp: {
743
801
  displayName: string;
744
802
  id: string;
745
- size: index_d_exports.ObjectSize;
803
+ size: ObjectSize;
746
804
  };
747
805
  get typeId(): bigint;
748
806
  set typeId(value: bigint);
749
- _adoptBrand(value: index_d_exports.Orphan<Brand>): void;
750
- _disownBrand(): index_d_exports.Orphan<Brand>;
807
+ _adoptBrand(value: Orphan<Brand>): void;
808
+ _disownBrand(): Orphan<Brand>;
751
809
  get brand(): Brand;
752
810
  _hasBrand(): boolean;
753
811
  _initBrand(): Brand;
754
812
  set brand(value: Brand);
755
813
  toString(): string;
756
814
  }
757
- declare class Type_Struct extends index_d_exports.Struct {
815
+ declare class Type_Struct extends Struct {
758
816
  static readonly _capnp: {
759
817
  displayName: string;
760
818
  id: string;
761
- size: index_d_exports.ObjectSize;
819
+ size: ObjectSize;
762
820
  };
763
821
  get typeId(): bigint;
764
822
  set typeId(value: bigint);
765
- _adoptBrand(value: index_d_exports.Orphan<Brand>): void;
766
- _disownBrand(): index_d_exports.Orphan<Brand>;
823
+ _adoptBrand(value: Orphan<Brand>): void;
824
+ _disownBrand(): Orphan<Brand>;
767
825
  get brand(): Brand;
768
826
  _hasBrand(): boolean;
769
827
  _initBrand(): Brand;
770
828
  set brand(value: Brand);
771
829
  toString(): string;
772
830
  }
773
- declare class Type_Interface extends index_d_exports.Struct {
831
+ declare class Type_Interface extends Struct {
774
832
  static readonly _capnp: {
775
833
  displayName: string;
776
834
  id: string;
777
- size: index_d_exports.ObjectSize;
835
+ size: ObjectSize;
778
836
  };
779
837
  get typeId(): bigint;
780
838
  set typeId(value: bigint);
781
- _adoptBrand(value: index_d_exports.Orphan<Brand>): void;
782
- _disownBrand(): index_d_exports.Orphan<Brand>;
839
+ _adoptBrand(value: Orphan<Brand>): void;
840
+ _disownBrand(): Orphan<Brand>;
783
841
  get brand(): Brand;
784
842
  _hasBrand(): boolean;
785
843
  _initBrand(): Brand;
@@ -817,7 +875,7 @@ type Type_AnyPointer_Unconstrained_Which = (typeof Type_AnyPointer_Unconstrained
817
875
  * to be a struct, list, or capability.
818
876
  *
819
877
  */
820
- declare class Type_AnyPointer_Unconstrained extends index_d_exports.Struct {
878
+ declare class Type_AnyPointer_Unconstrained extends Struct {
821
879
  static readonly ANY_KIND: 0;
822
880
  static readonly STRUCT: 1;
823
881
  static readonly LIST: 2;
@@ -825,7 +883,7 @@ declare class Type_AnyPointer_Unconstrained extends index_d_exports.Struct {
825
883
  static readonly _capnp: {
826
884
  displayName: string;
827
885
  id: string;
828
- size: index_d_exports.ObjectSize;
886
+ size: ObjectSize;
829
887
  };
830
888
  get _isAnyKind(): boolean;
831
889
  set anyKind(_: true);
@@ -842,11 +900,11 @@ declare class Type_AnyPointer_Unconstrained extends index_d_exports.Struct {
842
900
  * This is actually a reference to a type parameter defined within this scope.
843
901
  *
844
902
  */
845
- declare class Type_AnyPointer_Parameter extends index_d_exports.Struct {
903
+ declare class Type_AnyPointer_Parameter extends Struct {
846
904
  static readonly _capnp: {
847
905
  displayName: string;
848
906
  id: string;
849
- size: index_d_exports.ObjectSize;
907
+ size: ObjectSize;
850
908
  };
851
909
  /**
852
910
  * ID of the generic type whose parameter we're referencing. This should be a parent of the
@@ -868,11 +926,11 @@ declare class Type_AnyPointer_Parameter extends index_d_exports.Struct {
868
926
  * legal context for this type to appear is inside Method.paramBrand or Method.resultBrand.
869
927
  *
870
928
  */
871
- declare class Type_AnyPointer_ImplicitMethodParameter extends index_d_exports.Struct {
929
+ declare class Type_AnyPointer_ImplicitMethodParameter extends Struct {
872
930
  static readonly _capnp: {
873
931
  displayName: string;
874
932
  id: string;
875
- size: index_d_exports.ObjectSize;
933
+ size: ObjectSize;
876
934
  };
877
935
  get parameterIndex(): number;
878
936
  set parameterIndex(value: number);
@@ -901,14 +959,14 @@ declare const Type_AnyPointer_Which: {
901
959
  readonly IMPLICIT_METHOD_PARAMETER: 2;
902
960
  };
903
961
  type Type_AnyPointer_Which = (typeof Type_AnyPointer_Which)[keyof typeof Type_AnyPointer_Which];
904
- declare class Type_AnyPointer extends index_d_exports.Struct {
962
+ declare class Type_AnyPointer extends Struct {
905
963
  static readonly UNCONSTRAINED: 0;
906
964
  static readonly PARAMETER: 1;
907
965
  static readonly IMPLICIT_METHOD_PARAMETER: 2;
908
966
  static readonly _capnp: {
909
967
  displayName: string;
910
968
  id: string;
911
- size: index_d_exports.ObjectSize;
969
+ size: ObjectSize;
912
970
  };
913
971
  /**
914
972
  * A regular AnyPointer.
@@ -968,7 +1026,7 @@ type Type_Which = (typeof Type_Which)[keyof typeof Type_Which];
968
1026
  * Represents a type expression.
969
1027
  *
970
1028
  */
971
- declare class Type extends index_d_exports.Struct {
1029
+ declare class Type extends Struct {
972
1030
  static readonly VOID: 0;
973
1031
  static readonly BOOL: 1;
974
1032
  static readonly INT8: 2;
@@ -991,7 +1049,7 @@ declare class Type extends index_d_exports.Struct {
991
1049
  static readonly _capnp: {
992
1050
  displayName: string;
993
1051
  id: string;
994
- size: index_d_exports.ObjectSize;
1052
+ size: ObjectSize;
995
1053
  };
996
1054
  get _isVoid(): boolean;
997
1055
  set void(_: true);
@@ -1057,32 +1115,32 @@ declare const Brand_Scope_Which: {
1057
1115
  readonly INHERIT: 1;
1058
1116
  };
1059
1117
  type Brand_Scope_Which = (typeof Brand_Scope_Which)[keyof typeof Brand_Scope_Which];
1060
- declare class Brand_Scope extends index_d_exports.Struct {
1118
+ declare class Brand_Scope extends Struct {
1061
1119
  static readonly BIND: 0;
1062
1120
  static readonly INHERIT: 1;
1063
1121
  static readonly _capnp: {
1064
1122
  displayName: string;
1065
1123
  id: string;
1066
- size: index_d_exports.ObjectSize;
1124
+ size: ObjectSize;
1067
1125
  };
1068
- static _Bind: index_d_exports.ListCtor<Brand_Binding>;
1126
+ static _Bind: ListCtor<Brand_Binding>;
1069
1127
  /**
1070
1128
  * ID of the scope to which these params apply.
1071
1129
  *
1072
1130
  */
1073
1131
  get scopeId(): bigint;
1074
1132
  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>>;
1133
+ _adoptBind(value: Orphan<List<Brand_Binding>>): void;
1134
+ _disownBind(): Orphan<List<Brand_Binding>>;
1077
1135
  /**
1078
1136
  * List of parameter bindings.
1079
1137
  *
1080
1138
  */
1081
- get bind(): index_d_exports.List<Brand_Binding>;
1139
+ get bind(): List<Brand_Binding>;
1082
1140
  _hasBind(): boolean;
1083
- _initBind(length: number): index_d_exports.List<Brand_Binding>;
1141
+ _initBind(length: number): List<Brand_Binding>;
1084
1142
  get _isBind(): boolean;
1085
- set bind(value: index_d_exports.List<Brand_Binding>);
1143
+ set bind(value: List<Brand_Binding>);
1086
1144
  get _isInherit(): boolean;
1087
1145
  set inherit(_: true);
1088
1146
  toString(): string;
@@ -1093,18 +1151,18 @@ declare const Brand_Binding_Which: {
1093
1151
  readonly TYPE: 1;
1094
1152
  };
1095
1153
  type Brand_Binding_Which = (typeof Brand_Binding_Which)[keyof typeof Brand_Binding_Which];
1096
- declare class Brand_Binding extends index_d_exports.Struct {
1154
+ declare class Brand_Binding extends Struct {
1097
1155
  static readonly UNBOUND: 0;
1098
1156
  static readonly TYPE: 1;
1099
1157
  static readonly _capnp: {
1100
1158
  displayName: string;
1101
1159
  id: string;
1102
- size: index_d_exports.ObjectSize;
1160
+ size: ObjectSize;
1103
1161
  };
1104
1162
  get _isUnbound(): boolean;
1105
1163
  set unbound(_: true);
1106
- _adoptType(value: index_d_exports.Orphan<Type>): void;
1107
- _disownType(): index_d_exports.Orphan<Type>;
1164
+ _adoptType(value: Orphan<Type>): void;
1165
+ _disownType(): Orphan<Type>;
1108
1166
  get type(): Type;
1109
1167
  _hasType(): boolean;
1110
1168
  _initType(): Type;
@@ -1118,27 +1176,27 @@ declare class Brand_Binding extends index_d_exports.Struct {
1118
1176
  * non-generic, we call it the "brand".
1119
1177
  *
1120
1178
  */
1121
- declare class Brand extends index_d_exports.Struct {
1179
+ declare class Brand extends Struct {
1122
1180
  static readonly Scope: typeof Brand_Scope;
1123
1181
  static readonly Binding: typeof Brand_Binding;
1124
1182
  static readonly _capnp: {
1125
1183
  displayName: string;
1126
1184
  id: string;
1127
- size: index_d_exports.ObjectSize;
1185
+ size: ObjectSize;
1128
1186
  };
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>>;
1187
+ static _Scopes: ListCtor<Brand_Scope>;
1188
+ _adoptScopes(value: Orphan<List<Brand_Scope>>): void;
1189
+ _disownScopes(): Orphan<List<Brand_Scope>>;
1132
1190
  /**
1133
1191
  * For each of the target type and each of its parent scopes, a parameterization may be included
1134
1192
  * in this list. If no parameterization is included for a particular relevant scope, then either
1135
1193
  * that scope has no parameters or all parameters should be considered to be `AnyPointer`.
1136
1194
  *
1137
1195
  */
1138
- get scopes(): index_d_exports.List<Brand_Scope>;
1196
+ get scopes(): List<Brand_Scope>;
1139
1197
  _hasScopes(): boolean;
1140
- _initScopes(length: number): index_d_exports.List<Brand_Scope>;
1141
- set scopes(value: index_d_exports.List<Brand_Scope>);
1198
+ _initScopes(length: number): List<Brand_Scope>;
1199
+ set scopes(value: List<Brand_Scope>);
1142
1200
  toString(): string;
1143
1201
  }
1144
1202
  declare const Value_Which: {
@@ -1172,7 +1230,7 @@ type Value_Which = (typeof Value_Which)[keyof typeof Value_Which];
1172
1230
  * Represents a value, e.g. a field default value, constant value, or annotation value.
1173
1231
  *
1174
1232
  */
1175
- declare class Value extends index_d_exports.Struct {
1233
+ declare class Value extends Struct {
1176
1234
  static readonly VOID: 0;
1177
1235
  static readonly BOOL: 1;
1178
1236
  static readonly INT8: 2;
@@ -1195,7 +1253,7 @@ declare class Value extends index_d_exports.Struct {
1195
1253
  static readonly _capnp: {
1196
1254
  displayName: string;
1197
1255
  id: string;
1198
- size: index_d_exports.ObjectSize;
1256
+ size: ObjectSize;
1199
1257
  };
1200
1258
  get _isVoid(): boolean;
1201
1259
  set void(_: true);
@@ -1235,36 +1293,36 @@ declare class Value extends index_d_exports.Struct {
1235
1293
  get text(): string;
1236
1294
  get _isText(): boolean;
1237
1295
  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;
1296
+ _adoptData(value: Orphan<Data>): void;
1297
+ _disownData(): Orphan<Data>;
1298
+ get data(): Data;
1241
1299
  _hasData(): boolean;
1242
- _initData(length: number): index_d_exports.Data;
1300
+ _initData(length: number): Data;
1243
1301
  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;
1302
+ set data(value: Data);
1303
+ _adoptList(value: Orphan<Pointer>): void;
1304
+ _disownList(): Orphan<Pointer>;
1305
+ get list(): Pointer;
1248
1306
  _hasList(): boolean;
1249
1307
  get _isList(): boolean;
1250
- set list(value: index_d_exports.Pointer);
1308
+ set list(value: Pointer);
1251
1309
  get enum(): number;
1252
1310
  get _isEnum(): boolean;
1253
1311
  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;
1312
+ _adoptStruct(value: Orphan<Pointer>): void;
1313
+ _disownStruct(): Orphan<Pointer>;
1314
+ get struct(): Pointer;
1257
1315
  _hasStruct(): boolean;
1258
1316
  get _isStruct(): boolean;
1259
- set struct(value: index_d_exports.Pointer);
1317
+ set struct(value: Pointer);
1260
1318
  get _isInterface(): boolean;
1261
1319
  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;
1320
+ _adoptAnyPointer(value: Orphan<Pointer>): void;
1321
+ _disownAnyPointer(): Orphan<Pointer>;
1322
+ get anyPointer(): Pointer;
1265
1323
  _hasAnyPointer(): boolean;
1266
1324
  get _isAnyPointer(): boolean;
1267
- set anyPointer(value: index_d_exports.Pointer);
1325
+ set anyPointer(value: Pointer);
1268
1326
  toString(): string;
1269
1327
  which(): Value_Which;
1270
1328
  }
@@ -1273,11 +1331,11 @@ declare class Value extends index_d_exports.Struct {
1273
1331
  * annotation's declaration, while this describes a use of the annotation.
1274
1332
  *
1275
1333
  */
1276
- declare class Annotation extends index_d_exports.Struct {
1334
+ declare class Annotation extends Struct {
1277
1335
  static readonly _capnp: {
1278
1336
  displayName: string;
1279
1337
  id: string;
1280
- size: index_d_exports.ObjectSize;
1338
+ size: ObjectSize;
1281
1339
  };
1282
1340
  /**
1283
1341
  * ID of the annotation node.
@@ -1285,8 +1343,8 @@ declare class Annotation extends index_d_exports.Struct {
1285
1343
  */
1286
1344
  get id(): bigint;
1287
1345
  set id(value: bigint);
1288
- _adoptBrand(value: index_d_exports.Orphan<Brand>): void;
1289
- _disownBrand(): index_d_exports.Orphan<Brand>;
1346
+ _adoptBrand(value: Orphan<Brand>): void;
1347
+ _disownBrand(): Orphan<Brand>;
1290
1348
  /**
1291
1349
  * Brand of the annotation.
1292
1350
  *
@@ -1297,8 +1355,8 @@ declare class Annotation extends index_d_exports.Struct {
1297
1355
  _hasBrand(): boolean;
1298
1356
  _initBrand(): Brand;
1299
1357
  set brand(value: Brand);
1300
- _adoptValue(value: index_d_exports.Orphan<Value>): void;
1301
- _disownValue(): index_d_exports.Orphan<Value>;
1358
+ _adoptValue(value: Orphan<Value>): void;
1359
+ _disownValue(): Orphan<Value>;
1302
1360
  get value(): Value;
1303
1361
  _hasValue(): boolean;
1304
1362
  _initValue(): Value;
@@ -1320,11 +1378,11 @@ declare const ElementSize: {
1320
1378
  readonly INLINE_COMPOSITE: 7;
1321
1379
  };
1322
1380
  type ElementSize = (typeof ElementSize)[keyof typeof ElementSize];
1323
- declare class CapnpVersion extends index_d_exports.Struct {
1381
+ declare class CapnpVersion extends Struct {
1324
1382
  static readonly _capnp: {
1325
1383
  displayName: string;
1326
1384
  id: string;
1327
- size: index_d_exports.ObjectSize;
1385
+ size: ObjectSize;
1328
1386
  };
1329
1387
  get major(): number;
1330
1388
  set major(value: number);
@@ -1334,11 +1392,11 @@ declare class CapnpVersion extends index_d_exports.Struct {
1334
1392
  set micro(value: number);
1335
1393
  toString(): string;
1336
1394
  }
1337
- declare class CodeGeneratorRequest_RequestedFile_Import extends index_d_exports.Struct {
1395
+ declare class CodeGeneratorRequest_RequestedFile_Import extends Struct {
1338
1396
  static readonly _capnp: {
1339
1397
  displayName: string;
1340
1398
  id: string;
1341
- size: index_d_exports.ObjectSize;
1399
+ size: ObjectSize;
1342
1400
  };
1343
1401
  /**
1344
1402
  * ID of the imported file.
@@ -1359,14 +1417,14 @@ declare class CodeGeneratorRequest_RequestedFile_Import extends index_d_exports.
1359
1417
  set name(value: string);
1360
1418
  toString(): string;
1361
1419
  }
1362
- declare class CodeGeneratorRequest_RequestedFile extends index_d_exports.Struct {
1420
+ declare class CodeGeneratorRequest_RequestedFile extends Struct {
1363
1421
  static readonly Import: typeof CodeGeneratorRequest_RequestedFile_Import;
1364
1422
  static readonly _capnp: {
1365
1423
  displayName: string;
1366
1424
  id: string;
1367
- size: index_d_exports.ObjectSize;
1425
+ size: ObjectSize;
1368
1426
  };
1369
- static _Imports: index_d_exports.ListCtor<CodeGeneratorRequest_RequestedFile_Import>;
1427
+ static _Imports: ListCtor<CodeGeneratorRequest_RequestedFile_Import>;
1370
1428
  /**
1371
1429
  * ID of the file.
1372
1430
  *
@@ -1380,30 +1438,30 @@ declare class CodeGeneratorRequest_RequestedFile extends index_d_exports.Struct
1380
1438
  */
1381
1439
  get filename(): string;
1382
1440
  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>>;
1441
+ _adoptImports(value: Orphan<List<CodeGeneratorRequest_RequestedFile_Import>>): void;
1442
+ _disownImports(): Orphan<List<CodeGeneratorRequest_RequestedFile_Import>>;
1385
1443
  /**
1386
1444
  * List of all imported paths seen in this file.
1387
1445
  *
1388
1446
  */
1389
- get imports(): index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>;
1447
+ get imports(): List<CodeGeneratorRequest_RequestedFile_Import>;
1390
1448
  _hasImports(): boolean;
1391
- _initImports(length: number): index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>;
1392
- set imports(value: index_d_exports.List<CodeGeneratorRequest_RequestedFile_Import>);
1449
+ _initImports(length: number): List<CodeGeneratorRequest_RequestedFile_Import>;
1450
+ set imports(value: List<CodeGeneratorRequest_RequestedFile_Import>);
1393
1451
  toString(): string;
1394
1452
  }
1395
- declare class CodeGeneratorRequest extends index_d_exports.Struct {
1453
+ declare class CodeGeneratorRequest extends Struct {
1396
1454
  static readonly RequestedFile: typeof CodeGeneratorRequest_RequestedFile;
1397
1455
  static readonly _capnp: {
1398
1456
  displayName: string;
1399
1457
  id: string;
1400
- size: index_d_exports.ObjectSize;
1458
+ size: ObjectSize;
1401
1459
  };
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>;
1460
+ static _Nodes: ListCtor<Node>;
1461
+ static _SourceInfo: ListCtor<Node_SourceInfo>;
1462
+ static _RequestedFiles: ListCtor<CodeGeneratorRequest_RequestedFile>;
1463
+ _adoptCapnpVersion(value: Orphan<CapnpVersion>): void;
1464
+ _disownCapnpVersion(): Orphan<CapnpVersion>;
1407
1465
  /**
1408
1466
  * Version of the `capnp` executable. Generally, code generators should ignore this, but the code
1409
1467
  * generators that ship with `capnp` itself will print a warning if this mismatches since that
@@ -1417,38 +1475,38 @@ declare class CodeGeneratorRequest extends index_d_exports.Struct {
1417
1475
  _hasCapnpVersion(): boolean;
1418
1476
  _initCapnpVersion(): CapnpVersion;
1419
1477
  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>>;
1478
+ _adoptNodes(value: Orphan<List<Node>>): void;
1479
+ _disownNodes(): Orphan<List<Node>>;
1422
1480
  /**
1423
1481
  * All nodes parsed by the compiler, including for the files on the command line and their
1424
1482
  * imports.
1425
1483
  *
1426
1484
  */
1427
- get nodes(): index_d_exports.List<Node>;
1485
+ get nodes(): List<Node>;
1428
1486
  _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>>;
1487
+ _initNodes(length: number): List<Node>;
1488
+ set nodes(value: List<Node>);
1489
+ _adoptSourceInfo(value: Orphan<List<Node_SourceInfo>>): void;
1490
+ _disownSourceInfo(): Orphan<List<Node_SourceInfo>>;
1433
1491
  /**
1434
1492
  * Information about the original source code for each node, where available. This array may be
1435
1493
  * omitted or may be missing some nodes if no info is available for them.
1436
1494
  *
1437
1495
  */
1438
- get sourceInfo(): index_d_exports.List<Node_SourceInfo>;
1496
+ get sourceInfo(): List<Node_SourceInfo>;
1439
1497
  _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>>;
1498
+ _initSourceInfo(length: number): List<Node_SourceInfo>;
1499
+ set sourceInfo(value: List<Node_SourceInfo>);
1500
+ _adoptRequestedFiles(value: Orphan<List<CodeGeneratorRequest_RequestedFile>>): void;
1501
+ _disownRequestedFiles(): Orphan<List<CodeGeneratorRequest_RequestedFile>>;
1444
1502
  /**
1445
1503
  * Files which were listed on the command line.
1446
1504
  *
1447
1505
  */
1448
- get requestedFiles(): index_d_exports.List<CodeGeneratorRequest_RequestedFile>;
1506
+ get requestedFiles(): List<CodeGeneratorRequest_RequestedFile>;
1449
1507
  _hasRequestedFiles(): boolean;
1450
- _initRequestedFiles(length: number): index_d_exports.List<CodeGeneratorRequest_RequestedFile>;
1451
- set requestedFiles(value: index_d_exports.List<CodeGeneratorRequest_RequestedFile>);
1508
+ _initRequestedFiles(length: number): List<CodeGeneratorRequest_RequestedFile>;
1509
+ set requestedFiles(value: List<CodeGeneratorRequest_RequestedFile>);
1452
1510
  toString(): string;
1453
1511
  }
1454
1512
  //#endregion