@astrale-os/kernel-core 0.9.0-beta.63 → 0.9.0-beta.65

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 (110) hide show
  1. package/dist/auth/authority/admission/admission.d.ts +2 -2
  2. package/dist/auth/authority/admission/admission.js +10 -8
  3. package/dist/auth/authority/admission/index.d.ts +1 -1
  4. package/dist/auth/authority/admission/index.js +1 -1
  5. package/dist/auth/authority/index.d.ts +7 -3
  6. package/dist/auth/authority/index.js +4 -2
  7. package/dist/auth/authority/language/index.d.ts +2 -0
  8. package/dist/auth/authority/language/index.js +1 -0
  9. package/dist/auth/authority/language/predicate.d.ts +10 -5
  10. package/dist/auth/authority/language/predicate.js +1 -1
  11. package/dist/auth/authority/language/program.d.ts +21 -0
  12. package/dist/auth/authority/language/program.js +2 -0
  13. package/dist/auth/authority/normalization/index.d.ts +1 -1
  14. package/dist/auth/authority/normalization/index.js +1 -1
  15. package/dist/auth/authority/normalization/normalize.d.ts +1 -1
  16. package/dist/auth/authority/normalization/normalize.js +4 -5
  17. package/dist/auth/authority/ownership.optimization.js +2 -2
  18. package/dist/auth/authority/prepare-binder-body.d.ts +4 -0
  19. package/dist/auth/authority/prepare-binder-body.js +31 -0
  20. package/dist/auth/authority/program.d.ts +28 -0
  21. package/dist/auth/authority/program.js +191 -0
  22. package/dist/auth/authority/semantics/class-authority.d.ts +8 -0
  23. package/dist/auth/authority/semantics/class-authority.js +26 -0
  24. package/dist/auth/authority/semantics/composition.d.ts +39 -0
  25. package/dist/auth/authority/semantics/composition.js +112 -0
  26. package/dist/auth/authority/semantics/failure.d.ts +21 -0
  27. package/dist/auth/authority/semantics/failure.js +10 -0
  28. package/dist/auth/authority/semantics/index.d.ts +11 -0
  29. package/dist/auth/authority/semantics/index.js +5 -0
  30. package/dist/auth/authority/semantics/interpret.d.ts +35 -0
  31. package/dist/auth/authority/semantics/interpret.js +215 -0
  32. package/dist/auth/authority/semantics/snapshot.d.ts +34 -0
  33. package/dist/auth/authority/semantics/terms.d.ts +20 -0
  34. package/dist/auth/authority/semantics/terms.js +96 -0
  35. package/dist/auth/authority/semantics/vocabulary.d.ts +19 -0
  36. package/dist/auth/authority/semantics/vocabulary.js +1 -0
  37. package/dist/auth/context/context.d.ts +4 -3
  38. package/dist/auth/expression/authoring/builder.d.ts +2 -11
  39. package/dist/auth/expression/authoring/builder.js +1 -45
  40. package/dist/auth/expression/authoring/index.d.ts +1 -1
  41. package/dist/auth/expression/authoring/index.js +1 -1
  42. package/dist/auth/expression/index.d.ts +1 -2
  43. package/dist/auth/expression/index.js +1 -2
  44. package/dist/auth/expression/language/identity-expression.d.ts +2 -22
  45. package/dist/auth/grant/index.d.ts +1 -1
  46. package/dist/auth/grant/index.js +1 -1
  47. package/dist/auth/grant/resolved/admission.d.ts +4 -3
  48. package/dist/auth/grant/resolved/admission.js +23 -13
  49. package/dist/auth/grant/resolved/grant.d.ts +1 -1
  50. package/dist/auth/grant/resolved/index.d.ts +1 -1
  51. package/dist/auth/grant/resolved/index.js +1 -1
  52. package/dist/auth/grant/unresolved/admission.d.ts +4 -1
  53. package/dist/auth/grant/unresolved/admission.js +27 -67
  54. package/dist/auth/grant/unresolved/limits.d.ts +2 -4
  55. package/dist/auth/grant/unresolved/limits.js +1 -5
  56. package/dist/auth/index.d.ts +1 -1
  57. package/dist/graph/graph/graph.d.ts +1 -5
  58. package/dist/graph/graph/graph.js +3 -27
  59. package/dist/graph/graph/index.d.ts +1 -3
  60. package/dist/graph/graph/index.js +1 -2
  61. package/dist/graph/query/index.d.ts +2 -0
  62. package/dist/graph/query/index.js +1 -0
  63. package/dist/graph/query/order/index.d.ts +46 -0
  64. package/dist/graph/query/order/index.js +59 -0
  65. package/dist/graph/query/reference/evaluate.js +24 -50
  66. package/dist/graph/reconcile/planning/canonical.d.ts +6 -0
  67. package/dist/graph/reconcile/planning/canonical.js +28 -0
  68. package/dist/graph/reconcile/planning/model.d.ts +4 -0
  69. package/dist/graph/reconcile/planning/plan.js +2 -1
  70. package/dist/schema/authority/vocabulary.d.ts +3 -0
  71. package/dist/schema/authority/vocabulary.js +25 -0
  72. package/dist/schema/callables/function.d.ts +120 -90
  73. package/dist/schema/domain/domain.d.ts +120 -90
  74. package/dist/schema/identity/composition.d.ts +5 -0
  75. package/dist/schema/identity/composition.js +5 -0
  76. package/dist/schema/identity/identity.d.ts +8 -6
  77. package/dist/schema/index.d.ts +1 -0
  78. package/dist/schema/index.js +1 -0
  79. package/dist/schema/kernel/schema.d.ts +337 -276
  80. package/dist/schema/kernel/syscalls/contracts/delegate.d.ts +4 -1
  81. package/dist/schema/kernel/syscalls/contracts/delegate.js +4 -3
  82. package/dist/schema/kernel/syscalls/contracts/impersonate.d.ts +0 -1
  83. package/dist/schema/kernel/syscalls/contracts/legacy/delegate.d.ts +5 -0
  84. package/dist/schema/kernel/syscalls/contracts/legacy/delegate.js +25 -0
  85. package/dist/schema/kernel/syscalls/contracts/mint.d.ts +0 -1
  86. package/dist/schema/kernel/syscalls/contracts/mint.js +1 -2
  87. package/dist/schema/kernel/syscalls/declarations/delegate.d.ts +4 -1
  88. package/dist/schema/kernel/syscalls/declarations/impersonate.d.ts +0 -1
  89. package/dist/schema/kernel/syscalls/declarations/index.d.ts +35 -34
  90. package/dist/schema/kernel/syscalls/declarations/install.d.ts +8 -8
  91. package/dist/schema/kernel/syscalls/declarations/mint.d.ts +0 -1
  92. package/dist/schema/kernel/syscalls/declarations/mutate.d.ts +23 -23
  93. package/dist/schema/kernel/syscalls/descriptors/identity.d.ts +4 -3
  94. package/package.json +2 -2
  95. package/dist/auth/authority/prepare-grant-body.d.ts +0 -4
  96. package/dist/auth/authority/prepare-grant-body.js +0 -27
  97. package/dist/auth/expression/normalization/canonicalize.d.ts +0 -7
  98. package/dist/auth/expression/normalization/canonicalize.js +0 -102
  99. package/dist/auth/expression/normalization/index.d.ts +0 -2
  100. package/dist/auth/expression/normalization/index.js +0 -2
  101. package/dist/auth/expression/normalization/raise-denials.d.ts +0 -3
  102. package/dist/auth/expression/normalization/raise-denials.js +0 -59
  103. package/dist/graph/graph/navigation/error.d.ts +0 -12
  104. package/dist/graph/graph/navigation/error.js +0 -20
  105. package/dist/graph/graph/navigation/index.d.ts +0 -2
  106. package/dist/graph/graph/navigation/index.js +0 -1
  107. package/dist/graph/graph/navigation/model.d.ts +0 -15
  108. package/dist/schema/kernel/projection/path.d.ts +0 -2
  109. package/dist/schema/kernel/projection/path.js +0 -113
  110. /package/dist/{graph/graph/navigation/model.js → auth/authority/semantics/snapshot.js} +0 -0
@@ -52,7 +52,10 @@ export declare const Function: builder.NodeClass<{
52
52
  principal: string;
53
53
  audience: string;
54
54
  ttlSeconds: number;
55
- attenuation?: unknown;
55
+ attenuation?: {
56
+ kind: "identity";
57
+ self: true;
58
+ } | undefined;
56
59
  }, {
57
60
  readonly mode: 'value';
58
61
  readonly value: string;
@@ -123,7 +126,6 @@ export declare const Function: builder.NodeClass<{
123
126
  mint: builder.Method<builder.CallableProjection<{
124
127
  audience?: string | undefined;
125
128
  ttlSeconds: number;
126
- grant?: unknown;
127
129
  }, {
128
130
  readonly mode: 'value';
129
131
  readonly value: string;
@@ -131,7 +133,6 @@ export declare const Function: builder.NodeClass<{
131
133
  impersonate: builder.Method<builder.CallableProjection<{
132
134
  audience?: string | undefined;
133
135
  ttlSeconds: number;
134
- grant?: unknown;
135
136
  identity: string;
136
137
  }, {
137
138
  readonly mode: 'value';
@@ -196,7 +197,10 @@ export declare const Function: builder.NodeClass<{
196
197
  principal: string;
197
198
  audience: string;
198
199
  ttlSeconds: number;
199
- attenuation?: unknown;
200
+ attenuation?: {
201
+ kind: "identity";
202
+ self: true;
203
+ } | undefined;
200
204
  }, {
201
205
  readonly mode: 'value';
202
206
  readonly value: string;
@@ -267,7 +271,6 @@ export declare const Function: builder.NodeClass<{
267
271
  mint: builder.Method<builder.CallableProjection<{
268
272
  audience?: string | undefined;
269
273
  ttlSeconds: number;
270
- grant?: unknown;
271
274
  }, {
272
275
  readonly mode: 'value';
273
276
  readonly value: string;
@@ -275,7 +278,6 @@ export declare const Function: builder.NodeClass<{
275
278
  impersonate: builder.Method<builder.CallableProjection<{
276
279
  audience?: string | undefined;
277
280
  ttlSeconds: number;
278
- grant?: unknown;
279
281
  identity: string;
280
282
  }, {
281
283
  readonly mode: 'value';
@@ -328,7 +330,10 @@ export declare const Function: builder.NodeClass<{
328
330
  principal: string;
329
331
  audience: string;
330
332
  ttlSeconds: number;
331
- attenuation?: unknown;
333
+ attenuation?: {
334
+ kind: "identity";
335
+ self: true;
336
+ } | undefined;
332
337
  }, {
333
338
  readonly mode: 'value';
334
339
  readonly value: string;
@@ -358,14 +363,12 @@ export declare const Function: builder.NodeClass<{
358
363
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
359
364
  audience?: string | undefined;
360
365
  ttlSeconds: number;
361
- grant?: unknown;
362
366
  }, {
363
367
  readonly mode: 'value';
364
368
  readonly value: string;
365
369
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
366
370
  audience?: string | undefined;
367
371
  ttlSeconds: number;
368
- grant?: unknown;
369
372
  identity: string;
370
373
  }, {
371
374
  readonly mode: 'value';
@@ -423,7 +426,10 @@ export declare const Function: builder.NodeClass<{
423
426
  principal: string;
424
427
  audience: string;
425
428
  ttlSeconds: number;
426
- attenuation?: unknown;
429
+ attenuation?: {
430
+ kind: "identity";
431
+ self: true;
432
+ } | undefined;
427
433
  }, {
428
434
  readonly mode: 'value';
429
435
  readonly value: string;
@@ -494,7 +500,6 @@ export declare const Function: builder.NodeClass<{
494
500
  mint: builder.Method<builder.CallableProjection<{
495
501
  audience?: string | undefined;
496
502
  ttlSeconds: number;
497
- grant?: unknown;
498
503
  }, {
499
504
  readonly mode: 'value';
500
505
  readonly value: string;
@@ -502,7 +507,6 @@ export declare const Function: builder.NodeClass<{
502
507
  impersonate: builder.Method<builder.CallableProjection<{
503
508
  audience?: string | undefined;
504
509
  ttlSeconds: number;
505
- grant?: unknown;
506
510
  identity: string;
507
511
  }, {
508
512
  readonly mode: 'value';
@@ -555,7 +559,10 @@ export declare const Function: builder.NodeClass<{
555
559
  principal: string;
556
560
  audience: string;
557
561
  ttlSeconds: number;
558
- attenuation?: unknown;
562
+ attenuation?: {
563
+ kind: "identity";
564
+ self: true;
565
+ } | undefined;
559
566
  }, {
560
567
  readonly mode: 'value';
561
568
  readonly value: string;
@@ -585,14 +592,12 @@ export declare const Function: builder.NodeClass<{
585
592
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
586
593
  audience?: string | undefined;
587
594
  ttlSeconds: number;
588
- grant?: unknown;
589
595
  }, {
590
596
  readonly mode: 'value';
591
597
  readonly value: string;
592
598
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
593
599
  audience?: string | undefined;
594
600
  ttlSeconds: number;
595
- grant?: unknown;
596
601
  identity: string;
597
602
  }, {
598
603
  readonly mode: 'value';
@@ -650,7 +655,10 @@ export declare const Function: builder.NodeClass<{
650
655
  principal: string;
651
656
  audience: string;
652
657
  ttlSeconds: number;
653
- attenuation?: unknown;
658
+ attenuation?: {
659
+ kind: "identity";
660
+ self: true;
661
+ } | undefined;
654
662
  }, {
655
663
  readonly mode: 'value';
656
664
  readonly value: string;
@@ -721,7 +729,6 @@ export declare const Function: builder.NodeClass<{
721
729
  mint: builder.Method<builder.CallableProjection<{
722
730
  audience?: string | undefined;
723
731
  ttlSeconds: number;
724
- grant?: unknown;
725
732
  }, {
726
733
  readonly mode: 'value';
727
734
  readonly value: string;
@@ -729,7 +736,6 @@ export declare const Function: builder.NodeClass<{
729
736
  impersonate: builder.Method<builder.CallableProjection<{
730
737
  audience?: string | undefined;
731
738
  ttlSeconds: number;
732
- grant?: unknown;
733
739
  identity: string;
734
740
  }, {
735
741
  readonly mode: 'value';
@@ -782,7 +788,10 @@ export declare const Function: builder.NodeClass<{
782
788
  principal: string;
783
789
  audience: string;
784
790
  ttlSeconds: number;
785
- attenuation?: unknown;
791
+ attenuation?: {
792
+ kind: "identity";
793
+ self: true;
794
+ } | undefined;
786
795
  }, {
787
796
  readonly mode: 'value';
788
797
  readonly value: string;
@@ -812,14 +821,12 @@ export declare const Function: builder.NodeClass<{
812
821
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
813
822
  audience?: string | undefined;
814
823
  ttlSeconds: number;
815
- grant?: unknown;
816
824
  }, {
817
825
  readonly mode: 'value';
818
826
  readonly value: string;
819
827
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
820
828
  audience?: string | undefined;
821
829
  ttlSeconds: number;
822
- grant?: unknown;
823
830
  identity: string;
824
831
  }, {
825
832
  readonly mode: 'value';
@@ -877,7 +884,10 @@ export declare const Function: builder.NodeClass<{
877
884
  principal: string;
878
885
  audience: string;
879
886
  ttlSeconds: number;
880
- attenuation?: unknown;
887
+ attenuation?: {
888
+ kind: "identity";
889
+ self: true;
890
+ } | undefined;
881
891
  }, {
882
892
  readonly mode: 'value';
883
893
  readonly value: string;
@@ -948,7 +958,6 @@ export declare const Function: builder.NodeClass<{
948
958
  mint: builder.Method<builder.CallableProjection<{
949
959
  audience?: string | undefined;
950
960
  ttlSeconds: number;
951
- grant?: unknown;
952
961
  }, {
953
962
  readonly mode: 'value';
954
963
  readonly value: string;
@@ -956,7 +965,6 @@ export declare const Function: builder.NodeClass<{
956
965
  impersonate: builder.Method<builder.CallableProjection<{
957
966
  audience?: string | undefined;
958
967
  ttlSeconds: number;
959
- grant?: unknown;
960
968
  identity: string;
961
969
  }, {
962
970
  readonly mode: 'value';
@@ -1009,7 +1017,10 @@ export declare const Function: builder.NodeClass<{
1009
1017
  principal: string;
1010
1018
  audience: string;
1011
1019
  ttlSeconds: number;
1012
- attenuation?: unknown;
1020
+ attenuation?: {
1021
+ kind: "identity";
1022
+ self: true;
1023
+ } | undefined;
1013
1024
  }, {
1014
1025
  readonly mode: 'value';
1015
1026
  readonly value: string;
@@ -1039,14 +1050,12 @@ export declare const Function: builder.NodeClass<{
1039
1050
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1040
1051
  audience?: string | undefined;
1041
1052
  ttlSeconds: number;
1042
- grant?: unknown;
1043
1053
  }, {
1044
1054
  readonly mode: 'value';
1045
1055
  readonly value: string;
1046
1056
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1047
1057
  audience?: string | undefined;
1048
1058
  ttlSeconds: number;
1049
- grant?: unknown;
1050
1059
  identity: string;
1051
1060
  }, {
1052
1061
  readonly mode: 'value';
@@ -1124,7 +1133,10 @@ export declare const Function: builder.NodeClass<{
1124
1133
  principal: string;
1125
1134
  audience: string;
1126
1135
  ttlSeconds: number;
1127
- attenuation?: unknown;
1136
+ attenuation?: {
1137
+ kind: "identity";
1138
+ self: true;
1139
+ } | undefined;
1128
1140
  }, {
1129
1141
  readonly mode: 'value';
1130
1142
  readonly value: string;
@@ -1195,7 +1207,6 @@ export declare const Function: builder.NodeClass<{
1195
1207
  mint: builder.Method<builder.CallableProjection<{
1196
1208
  audience?: string | undefined;
1197
1209
  ttlSeconds: number;
1198
- grant?: unknown;
1199
1210
  }, {
1200
1211
  readonly mode: 'value';
1201
1212
  readonly value: string;
@@ -1203,7 +1214,6 @@ export declare const Function: builder.NodeClass<{
1203
1214
  impersonate: builder.Method<builder.CallableProjection<{
1204
1215
  audience?: string | undefined;
1205
1216
  ttlSeconds: number;
1206
- grant?: unknown;
1207
1217
  identity: string;
1208
1218
  }, {
1209
1219
  readonly mode: 'value';
@@ -1256,7 +1266,10 @@ export declare const Function: builder.NodeClass<{
1256
1266
  principal: string;
1257
1267
  audience: string;
1258
1268
  ttlSeconds: number;
1259
- attenuation?: unknown;
1269
+ attenuation?: {
1270
+ kind: "identity";
1271
+ self: true;
1272
+ } | undefined;
1260
1273
  }, {
1261
1274
  readonly mode: 'value';
1262
1275
  readonly value: string;
@@ -1286,14 +1299,12 @@ export declare const Function: builder.NodeClass<{
1286
1299
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1287
1300
  audience?: string | undefined;
1288
1301
  ttlSeconds: number;
1289
- grant?: unknown;
1290
1302
  }, {
1291
1303
  readonly mode: 'value';
1292
1304
  readonly value: string;
1293
1305
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1294
1306
  audience?: string | undefined;
1295
1307
  ttlSeconds: number;
1296
- grant?: unknown;
1297
1308
  identity: string;
1298
1309
  }, {
1299
1310
  readonly mode: 'value';
@@ -1319,7 +1330,10 @@ export declare const Function: builder.NodeClass<{
1319
1330
  principal: string;
1320
1331
  audience: string;
1321
1332
  ttlSeconds: number;
1322
- attenuation?: unknown;
1333
+ attenuation?: {
1334
+ kind: "identity";
1335
+ self: true;
1336
+ } | undefined;
1323
1337
  }, {
1324
1338
  readonly mode: 'value';
1325
1339
  readonly value: string;
@@ -1359,7 +1373,10 @@ export declare const Function: builder.NodeClass<{
1359
1373
  principal: string;
1360
1374
  audience: string;
1361
1375
  ttlSeconds: number;
1362
- attenuation?: unknown;
1376
+ attenuation?: {
1377
+ kind: "identity";
1378
+ self: true;
1379
+ } | undefined;
1363
1380
  }, {
1364
1381
  readonly mode: 'value';
1365
1382
  readonly value: string;
@@ -1430,7 +1447,6 @@ export declare const Function: builder.NodeClass<{
1430
1447
  mint: builder.Method<builder.CallableProjection<{
1431
1448
  audience?: string | undefined;
1432
1449
  ttlSeconds: number;
1433
- grant?: unknown;
1434
1450
  }, {
1435
1451
  readonly mode: 'value';
1436
1452
  readonly value: string;
@@ -1438,7 +1454,6 @@ export declare const Function: builder.NodeClass<{
1438
1454
  impersonate: builder.Method<builder.CallableProjection<{
1439
1455
  audience?: string | undefined;
1440
1456
  ttlSeconds: number;
1441
- grant?: unknown;
1442
1457
  identity: string;
1443
1458
  }, {
1444
1459
  readonly mode: 'value';
@@ -1491,7 +1506,10 @@ export declare const Function: builder.NodeClass<{
1491
1506
  principal: string;
1492
1507
  audience: string;
1493
1508
  ttlSeconds: number;
1494
- attenuation?: unknown;
1509
+ attenuation?: {
1510
+ kind: "identity";
1511
+ self: true;
1512
+ } | undefined;
1495
1513
  }, {
1496
1514
  readonly mode: 'value';
1497
1515
  readonly value: string;
@@ -1521,14 +1539,12 @@ export declare const Function: builder.NodeClass<{
1521
1539
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1522
1540
  audience?: string | undefined;
1523
1541
  ttlSeconds: number;
1524
- grant?: unknown;
1525
1542
  }, {
1526
1543
  readonly mode: 'value';
1527
1544
  readonly value: string;
1528
1545
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1529
1546
  audience?: string | undefined;
1530
1547
  ttlSeconds: number;
1531
- grant?: unknown;
1532
1548
  identity: string;
1533
1549
  }, {
1534
1550
  readonly mode: 'value';
@@ -1609,7 +1625,10 @@ export declare const Function: builder.NodeClass<{
1609
1625
  principal: string;
1610
1626
  audience: string;
1611
1627
  ttlSeconds: number;
1612
- attenuation?: unknown;
1628
+ attenuation?: {
1629
+ kind: "identity";
1630
+ self: true;
1631
+ } | undefined;
1613
1632
  }, {
1614
1633
  readonly mode: 'value';
1615
1634
  readonly value: string;
@@ -1680,7 +1699,6 @@ export declare const Function: builder.NodeClass<{
1680
1699
  mint: builder.Method<builder.CallableProjection<{
1681
1700
  audience?: string | undefined;
1682
1701
  ttlSeconds: number;
1683
- grant?: unknown;
1684
1702
  }, {
1685
1703
  readonly mode: 'value';
1686
1704
  readonly value: string;
@@ -1688,7 +1706,6 @@ export declare const Function: builder.NodeClass<{
1688
1706
  impersonate: builder.Method<builder.CallableProjection<{
1689
1707
  audience?: string | undefined;
1690
1708
  ttlSeconds: number;
1691
- grant?: unknown;
1692
1709
  identity: string;
1693
1710
  }, {
1694
1711
  readonly mode: 'value';
@@ -1741,7 +1758,10 @@ export declare const Function: builder.NodeClass<{
1741
1758
  principal: string;
1742
1759
  audience: string;
1743
1760
  ttlSeconds: number;
1744
- attenuation?: unknown;
1761
+ attenuation?: {
1762
+ kind: "identity";
1763
+ self: true;
1764
+ } | undefined;
1745
1765
  }, {
1746
1766
  readonly mode: 'value';
1747
1767
  readonly value: string;
@@ -1771,14 +1791,12 @@ export declare const Function: builder.NodeClass<{
1771
1791
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1772
1792
  audience?: string | undefined;
1773
1793
  ttlSeconds: number;
1774
- grant?: unknown;
1775
1794
  }, {
1776
1795
  readonly mode: 'value';
1777
1796
  readonly value: string;
1778
1797
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1779
1798
  audience?: string | undefined;
1780
1799
  ttlSeconds: number;
1781
- grant?: unknown;
1782
1800
  identity: string;
1783
1801
  }, {
1784
1802
  readonly mode: 'value';
@@ -1803,7 +1821,6 @@ export declare const Function: builder.NodeClass<{
1803
1821
  }, "authenticated", true, false, undefined>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1804
1822
  audience?: string | undefined;
1805
1823
  ttlSeconds: number;
1806
- grant?: unknown;
1807
1824
  }, {
1808
1825
  readonly mode: 'value';
1809
1826
  readonly value: string;
@@ -1843,7 +1860,10 @@ export declare const Function: builder.NodeClass<{
1843
1860
  principal: string;
1844
1861
  audience: string;
1845
1862
  ttlSeconds: number;
1846
- attenuation?: unknown;
1863
+ attenuation?: {
1864
+ kind: "identity";
1865
+ self: true;
1866
+ } | undefined;
1847
1867
  }, {
1848
1868
  readonly mode: 'value';
1849
1869
  readonly value: string;
@@ -1914,7 +1934,6 @@ export declare const Function: builder.NodeClass<{
1914
1934
  mint: builder.Method<builder.CallableProjection<{
1915
1935
  audience?: string | undefined;
1916
1936
  ttlSeconds: number;
1917
- grant?: unknown;
1918
1937
  }, {
1919
1938
  readonly mode: 'value';
1920
1939
  readonly value: string;
@@ -1922,7 +1941,6 @@ export declare const Function: builder.NodeClass<{
1922
1941
  impersonate: builder.Method<builder.CallableProjection<{
1923
1942
  audience?: string | undefined;
1924
1943
  ttlSeconds: number;
1925
- grant?: unknown;
1926
1944
  identity: string;
1927
1945
  }, {
1928
1946
  readonly mode: 'value';
@@ -1975,7 +1993,10 @@ export declare const Function: builder.NodeClass<{
1975
1993
  principal: string;
1976
1994
  audience: string;
1977
1995
  ttlSeconds: number;
1978
- attenuation?: unknown;
1996
+ attenuation?: {
1997
+ kind: "identity";
1998
+ self: true;
1999
+ } | undefined;
1979
2000
  }, {
1980
2001
  readonly mode: 'value';
1981
2002
  readonly value: string;
@@ -2005,14 +2026,12 @@ export declare const Function: builder.NodeClass<{
2005
2026
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2006
2027
  audience?: string | undefined;
2007
2028
  ttlSeconds: number;
2008
- grant?: unknown;
2009
2029
  }, {
2010
2030
  readonly mode: 'value';
2011
2031
  readonly value: string;
2012
2032
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2013
2033
  audience?: string | undefined;
2014
2034
  ttlSeconds: number;
2015
- grant?: unknown;
2016
2035
  identity: string;
2017
2036
  }, {
2018
2037
  readonly mode: 'value';
@@ -2037,7 +2056,6 @@ export declare const Function: builder.NodeClass<{
2037
2056
  }, "authenticated", true, false, undefined>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2038
2057
  audience?: string | undefined;
2039
2058
  ttlSeconds: number;
2040
- grant?: unknown;
2041
2059
  identity: string;
2042
2060
  }, {
2043
2061
  readonly mode: 'value';
@@ -2078,7 +2096,10 @@ export declare const Function: builder.NodeClass<{
2078
2096
  principal: string;
2079
2097
  audience: string;
2080
2098
  ttlSeconds: number;
2081
- attenuation?: unknown;
2099
+ attenuation?: {
2100
+ kind: "identity";
2101
+ self: true;
2102
+ } | undefined;
2082
2103
  }, {
2083
2104
  readonly mode: 'value';
2084
2105
  readonly value: string;
@@ -2149,7 +2170,6 @@ export declare const Function: builder.NodeClass<{
2149
2170
  mint: builder.Method<builder.CallableProjection<{
2150
2171
  audience?: string | undefined;
2151
2172
  ttlSeconds: number;
2152
- grant?: unknown;
2153
2173
  }, {
2154
2174
  readonly mode: 'value';
2155
2175
  readonly value: string;
@@ -2157,7 +2177,6 @@ export declare const Function: builder.NodeClass<{
2157
2177
  impersonate: builder.Method<builder.CallableProjection<{
2158
2178
  audience?: string | undefined;
2159
2179
  ttlSeconds: number;
2160
- grant?: unknown;
2161
2180
  identity: string;
2162
2181
  }, {
2163
2182
  readonly mode: 'value';
@@ -2210,7 +2229,10 @@ export declare const Function: builder.NodeClass<{
2210
2229
  principal: string;
2211
2230
  audience: string;
2212
2231
  ttlSeconds: number;
2213
- attenuation?: unknown;
2232
+ attenuation?: {
2233
+ kind: "identity";
2234
+ self: true;
2235
+ } | undefined;
2214
2236
  }, {
2215
2237
  readonly mode: 'value';
2216
2238
  readonly value: string;
@@ -2240,14 +2262,12 @@ export declare const Function: builder.NodeClass<{
2240
2262
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2241
2263
  audience?: string | undefined;
2242
2264
  ttlSeconds: number;
2243
- grant?: unknown;
2244
2265
  }, {
2245
2266
  readonly mode: 'value';
2246
2267
  readonly value: string;
2247
2268
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2248
2269
  audience?: string | undefined;
2249
2270
  ttlSeconds: number;
2250
- grant?: unknown;
2251
2271
  identity: string;
2252
2272
  }, {
2253
2273
  readonly mode: 'value';
@@ -2322,7 +2342,10 @@ export declare const Function: builder.NodeClass<{
2322
2342
  principal: string;
2323
2343
  audience: string;
2324
2344
  ttlSeconds: number;
2325
- attenuation?: unknown;
2345
+ attenuation?: {
2346
+ kind: "identity";
2347
+ self: true;
2348
+ } | undefined;
2326
2349
  }, {
2327
2350
  readonly mode: 'value';
2328
2351
  readonly value: string;
@@ -2393,7 +2416,6 @@ export declare const Function: builder.NodeClass<{
2393
2416
  mint: builder.Method<builder.CallableProjection<{
2394
2417
  audience?: string | undefined;
2395
2418
  ttlSeconds: number;
2396
- grant?: unknown;
2397
2419
  }, {
2398
2420
  readonly mode: 'value';
2399
2421
  readonly value: string;
@@ -2401,7 +2423,6 @@ export declare const Function: builder.NodeClass<{
2401
2423
  impersonate: builder.Method<builder.CallableProjection<{
2402
2424
  audience?: string | undefined;
2403
2425
  ttlSeconds: number;
2404
- grant?: unknown;
2405
2426
  identity: string;
2406
2427
  }, {
2407
2428
  readonly mode: 'value';
@@ -2454,7 +2475,10 @@ export declare const Function: builder.NodeClass<{
2454
2475
  principal: string;
2455
2476
  audience: string;
2456
2477
  ttlSeconds: number;
2457
- attenuation?: unknown;
2478
+ attenuation?: {
2479
+ kind: "identity";
2480
+ self: true;
2481
+ } | undefined;
2458
2482
  }, {
2459
2483
  readonly mode: 'value';
2460
2484
  readonly value: string;
@@ -2484,14 +2508,12 @@ export declare const Function: builder.NodeClass<{
2484
2508
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2485
2509
  audience?: string | undefined;
2486
2510
  ttlSeconds: number;
2487
- grant?: unknown;
2488
2511
  }, {
2489
2512
  readonly mode: 'value';
2490
2513
  readonly value: string;
2491
2514
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2492
2515
  audience?: string | undefined;
2493
2516
  ttlSeconds: number;
2494
- grant?: unknown;
2495
2517
  identity: string;
2496
2518
  }, {
2497
2519
  readonly mode: 'value';
@@ -2600,7 +2622,10 @@ export declare const Function: builder.NodeClass<{
2600
2622
  principal: string;
2601
2623
  audience: string;
2602
2624
  ttlSeconds: number;
2603
- attenuation?: unknown;
2625
+ attenuation?: {
2626
+ kind: "identity";
2627
+ self: true;
2628
+ } | undefined;
2604
2629
  }, {
2605
2630
  readonly mode: 'value';
2606
2631
  readonly value: string;
@@ -2671,7 +2696,6 @@ export declare const Function: builder.NodeClass<{
2671
2696
  mint: builder.Method<builder.CallableProjection<{
2672
2697
  audience?: string | undefined;
2673
2698
  ttlSeconds: number;
2674
- grant?: unknown;
2675
2699
  }, {
2676
2700
  readonly mode: 'value';
2677
2701
  readonly value: string;
@@ -2679,7 +2703,6 @@ export declare const Function: builder.NodeClass<{
2679
2703
  impersonate: builder.Method<builder.CallableProjection<{
2680
2704
  audience?: string | undefined;
2681
2705
  ttlSeconds: number;
2682
- grant?: unknown;
2683
2706
  identity: string;
2684
2707
  }, {
2685
2708
  readonly mode: 'value';
@@ -2732,7 +2755,10 @@ export declare const Function: builder.NodeClass<{
2732
2755
  principal: string;
2733
2756
  audience: string;
2734
2757
  ttlSeconds: number;
2735
- attenuation?: unknown;
2758
+ attenuation?: {
2759
+ kind: "identity";
2760
+ self: true;
2761
+ } | undefined;
2736
2762
  }, {
2737
2763
  readonly mode: 'value';
2738
2764
  readonly value: string;
@@ -2762,14 +2788,12 @@ export declare const Function: builder.NodeClass<{
2762
2788
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2763
2789
  audience?: string | undefined;
2764
2790
  ttlSeconds: number;
2765
- grant?: unknown;
2766
2791
  }, {
2767
2792
  readonly mode: 'value';
2768
2793
  readonly value: string;
2769
2794
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2770
2795
  audience?: string | undefined;
2771
2796
  ttlSeconds: number;
2772
- grant?: unknown;
2773
2797
  identity: string;
2774
2798
  }, {
2775
2799
  readonly mode: 'value';
@@ -2834,7 +2858,10 @@ export declare const Function: builder.NodeClass<{
2834
2858
  principal: string;
2835
2859
  audience: string;
2836
2860
  ttlSeconds: number;
2837
- attenuation?: unknown;
2861
+ attenuation?: {
2862
+ kind: "identity";
2863
+ self: true;
2864
+ } | undefined;
2838
2865
  }, {
2839
2866
  readonly mode: 'value';
2840
2867
  readonly value: string;
@@ -2905,7 +2932,6 @@ export declare const Function: builder.NodeClass<{
2905
2932
  mint: builder.Method<builder.CallableProjection<{
2906
2933
  audience?: string | undefined;
2907
2934
  ttlSeconds: number;
2908
- grant?: unknown;
2909
2935
  }, {
2910
2936
  readonly mode: 'value';
2911
2937
  readonly value: string;
@@ -2913,7 +2939,6 @@ export declare const Function: builder.NodeClass<{
2913
2939
  impersonate: builder.Method<builder.CallableProjection<{
2914
2940
  audience?: string | undefined;
2915
2941
  ttlSeconds: number;
2916
- grant?: unknown;
2917
2942
  identity: string;
2918
2943
  }, {
2919
2944
  readonly mode: 'value';
@@ -2966,7 +2991,10 @@ export declare const Function: builder.NodeClass<{
2966
2991
  principal: string;
2967
2992
  audience: string;
2968
2993
  ttlSeconds: number;
2969
- attenuation?: unknown;
2994
+ attenuation?: {
2995
+ kind: "identity";
2996
+ self: true;
2997
+ } | undefined;
2970
2998
  }, {
2971
2999
  readonly mode: 'value';
2972
3000
  readonly value: string;
@@ -2996,14 +3024,12 @@ export declare const Function: builder.NodeClass<{
2996
3024
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2997
3025
  audience?: string | undefined;
2998
3026
  ttlSeconds: number;
2999
- grant?: unknown;
3000
3027
  }, {
3001
3028
  readonly mode: 'value';
3002
3029
  readonly value: string;
3003
3030
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3004
3031
  audience?: string | undefined;
3005
3032
  ttlSeconds: number;
3006
- grant?: unknown;
3007
3033
  identity: string;
3008
3034
  }, {
3009
3035
  readonly mode: 'value';
@@ -3061,7 +3087,10 @@ export declare const Function: builder.NodeClass<{
3061
3087
  principal: string;
3062
3088
  audience: string;
3063
3089
  ttlSeconds: number;
3064
- attenuation?: unknown;
3090
+ attenuation?: {
3091
+ kind: "identity";
3092
+ self: true;
3093
+ } | undefined;
3065
3094
  }, {
3066
3095
  readonly mode: 'value';
3067
3096
  readonly value: string;
@@ -3132,7 +3161,6 @@ export declare const Function: builder.NodeClass<{
3132
3161
  mint: builder.Method<builder.CallableProjection<{
3133
3162
  audience?: string | undefined;
3134
3163
  ttlSeconds: number;
3135
- grant?: unknown;
3136
3164
  }, {
3137
3165
  readonly mode: 'value';
3138
3166
  readonly value: string;
@@ -3140,7 +3168,6 @@ export declare const Function: builder.NodeClass<{
3140
3168
  impersonate: builder.Method<builder.CallableProjection<{
3141
3169
  audience?: string | undefined;
3142
3170
  ttlSeconds: number;
3143
- grant?: unknown;
3144
3171
  identity: string;
3145
3172
  }, {
3146
3173
  readonly mode: 'value';
@@ -3193,7 +3220,10 @@ export declare const Function: builder.NodeClass<{
3193
3220
  principal: string;
3194
3221
  audience: string;
3195
3222
  ttlSeconds: number;
3196
- attenuation?: unknown;
3223
+ attenuation?: {
3224
+ kind: "identity";
3225
+ self: true;
3226
+ } | undefined;
3197
3227
  }, {
3198
3228
  readonly mode: 'value';
3199
3229
  readonly value: string;
@@ -3223,14 +3253,12 @@ export declare const Function: builder.NodeClass<{
3223
3253
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3224
3254
  audience?: string | undefined;
3225
3255
  ttlSeconds: number;
3226
- grant?: unknown;
3227
3256
  }, {
3228
3257
  readonly mode: 'value';
3229
3258
  readonly value: string;
3230
3259
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3231
3260
  audience?: string | undefined;
3232
3261
  ttlSeconds: number;
3233
- grant?: unknown;
3234
3262
  identity: string;
3235
3263
  }, {
3236
3264
  readonly mode: 'value';
@@ -3288,7 +3316,10 @@ export declare const Function: builder.NodeClass<{
3288
3316
  principal: string;
3289
3317
  audience: string;
3290
3318
  ttlSeconds: number;
3291
- attenuation?: unknown;
3319
+ attenuation?: {
3320
+ kind: "identity";
3321
+ self: true;
3322
+ } | undefined;
3292
3323
  }, {
3293
3324
  readonly mode: 'value';
3294
3325
  readonly value: string;
@@ -3359,7 +3390,6 @@ export declare const Function: builder.NodeClass<{
3359
3390
  mint: builder.Method<builder.CallableProjection<{
3360
3391
  audience?: string | undefined;
3361
3392
  ttlSeconds: number;
3362
- grant?: unknown;
3363
3393
  }, {
3364
3394
  readonly mode: 'value';
3365
3395
  readonly value: string;
@@ -3367,7 +3397,6 @@ export declare const Function: builder.NodeClass<{
3367
3397
  impersonate: builder.Method<builder.CallableProjection<{
3368
3398
  audience?: string | undefined;
3369
3399
  ttlSeconds: number;
3370
- grant?: unknown;
3371
3400
  identity: string;
3372
3401
  }, {
3373
3402
  readonly mode: 'value';
@@ -3420,7 +3449,10 @@ export declare const Function: builder.NodeClass<{
3420
3449
  principal: string;
3421
3450
  audience: string;
3422
3451
  ttlSeconds: number;
3423
- attenuation?: unknown;
3452
+ attenuation?: {
3453
+ kind: "identity";
3454
+ self: true;
3455
+ } | undefined;
3424
3456
  }, {
3425
3457
  readonly mode: 'value';
3426
3458
  readonly value: string;
@@ -3450,14 +3482,12 @@ export declare const Function: builder.NodeClass<{
3450
3482
  }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3451
3483
  audience?: string | undefined;
3452
3484
  ttlSeconds: number;
3453
- grant?: unknown;
3454
3485
  }, {
3455
3486
  readonly mode: 'value';
3456
3487
  readonly value: string;
3457
3488
  }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3458
3489
  audience?: string | undefined;
3459
3490
  ttlSeconds: number;
3460
- grant?: unknown;
3461
3491
  identity: string;
3462
3492
  }, {
3463
3493
  readonly mode: 'value';