@astrale-os/kernel-core 0.9.0-beta.45 → 0.9.0-beta.46

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.
@@ -164,6 +164,15 @@ declare const KernelDefinitions: {
164
164
  readonly mode: 'value';
165
165
  readonly value: string;
166
166
  }, "authenticated", true, false>>;
167
+ impersonate: builder.Method<builder.CallableProjection<{
168
+ audience?: string | undefined;
169
+ ttlSeconds: number;
170
+ grant?: unknown;
171
+ identity: string;
172
+ }, {
173
+ readonly mode: 'value';
174
+ readonly value: string;
175
+ }, "authorized", true, false>>;
167
176
  }>;
168
177
  readonly effectiveProperties: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never> | builder.AuthoredPropertyProjection<({
169
178
  claim: string;
@@ -212,14 +221,6 @@ declare const KernelDefinitions: {
212
221
  })[];
213
222
  };
214
223
  }, "authenticated", true, false>>, "whoami", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
215
- principal: string;
216
- audience: string;
217
- ttlSeconds: number;
218
- attenuation: unknown;
219
- }, {
220
- readonly mode: 'value';
221
- readonly value: string;
222
- }, "authenticated", true, false>>, "delegate", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
223
224
  iss: string;
224
225
  sub: string;
225
226
  }, {
@@ -243,6 +244,14 @@ declare const KernelDefinitions: {
243
244
  })[];
244
245
  } | null;
245
246
  }, "authorized", true, false>>, "whois", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
247
+ principal: string;
248
+ audience: string;
249
+ ttlSeconds: number;
250
+ attenuation: unknown;
251
+ }, {
252
+ readonly mode: 'value';
253
+ readonly value: string;
254
+ }, "authenticated", true, false>>, "delegate", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
246
255
  policy: string;
247
256
  object: string;
248
257
  }, {
@@ -257,7 +266,15 @@ declare const KernelDefinitions: {
257
266
  }, {
258
267
  readonly mode: 'value';
259
268
  readonly value: string;
260
- }, "authenticated", true, false>>, "mint", "self">;
269
+ }, "authenticated", true, false>>, "mint", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
270
+ audience?: string | undefined;
271
+ ttlSeconds: number;
272
+ grant?: unknown;
273
+ identity: string;
274
+ }, {
275
+ readonly mode: 'value';
276
+ readonly value: string;
277
+ }, "authorized", true, false>>, "impersonate", "self">;
261
278
  }>;
262
279
  readonly Named: builder.NodeClass<{
263
280
  readonly depth: 1;
@@ -513,6 +530,15 @@ declare const KernelDefinitions: {
513
530
  readonly mode: 'value';
514
531
  readonly value: string;
515
532
  }, "authenticated", true, false>>;
533
+ impersonate: builder.Method<builder.CallableProjection<{
534
+ audience?: string | undefined;
535
+ ttlSeconds: number;
536
+ grant?: unknown;
537
+ identity: string;
538
+ }, {
539
+ readonly mode: 'value';
540
+ readonly value: string;
541
+ }, "authorized", true, false>>;
516
542
  }>;
517
543
  }, builder.AuthoredPropertyProjection<({
518
544
  claim: string;
@@ -639,6 +665,15 @@ declare const KernelDefinitions: {
639
665
  readonly mode: 'value';
640
666
  readonly value: string;
641
667
  }, "authenticated", true, false>>;
668
+ impersonate: builder.Method<builder.CallableProjection<{
669
+ audience?: string | undefined;
670
+ ttlSeconds: number;
671
+ grant?: unknown;
672
+ identity: string;
673
+ }, {
674
+ readonly mode: 'value';
675
+ readonly value: string;
676
+ }, "authorized", true, false>>;
642
677
  }>;
643
678
  }, builder.AuthoredPropertyProjection<({
644
679
  claim: string;
@@ -683,14 +718,6 @@ declare const KernelDefinitions: {
683
718
  })[];
684
719
  };
685
720
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
686
- principal: string;
687
- audience: string;
688
- ttlSeconds: number;
689
- attenuation: unknown;
690
- }, {
691
- readonly mode: 'value';
692
- readonly value: string;
693
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
694
721
  iss: string;
695
722
  sub: string;
696
723
  }, {
@@ -714,6 +741,14 @@ declare const KernelDefinitions: {
714
741
  })[];
715
742
  } | null;
716
743
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
744
+ principal: string;
745
+ audience: string;
746
+ ttlSeconds: number;
747
+ attenuation: unknown;
748
+ }, {
749
+ readonly mode: 'value';
750
+ readonly value: string;
751
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
717
752
  policy: string;
718
753
  object: string;
719
754
  }, {
@@ -728,7 +763,15 @@ declare const KernelDefinitions: {
728
763
  }, {
729
764
  readonly mode: 'value';
730
765
  readonly value: string;
731
- }, "authenticated", true, false>>, "mint", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", builder.ClassOwnerProjection<"node", {
766
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
767
+ audience?: string | undefined;
768
+ ttlSeconds: number;
769
+ grant?: unknown;
770
+ identity: string;
771
+ }, {
772
+ readonly mode: 'value';
773
+ readonly value: string;
774
+ }, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", builder.ClassOwnerProjection<"node", {
732
775
  readonly abstract: true;
733
776
  readonly depth: 1;
734
777
  readonly properties: {
@@ -831,6 +874,15 @@ declare const KernelDefinitions: {
831
874
  readonly mode: 'value';
832
875
  readonly value: string;
833
876
  }, "authenticated", true, false>>;
877
+ impersonate: builder.Method<builder.CallableProjection<{
878
+ audience?: string | undefined;
879
+ ttlSeconds: number;
880
+ grant?: unknown;
881
+ identity: string;
882
+ }, {
883
+ readonly mode: 'value';
884
+ readonly value: string;
885
+ }, "authorized", true, false>>;
834
886
  }>;
835
887
  }, builder.AuthoredPropertyProjection<({
836
888
  claim: string;
@@ -875,14 +927,6 @@ declare const KernelDefinitions: {
875
927
  })[];
876
928
  };
877
929
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
878
- principal: string;
879
- audience: string;
880
- ttlSeconds: number;
881
- attenuation: unknown;
882
- }, {
883
- readonly mode: 'value';
884
- readonly value: string;
885
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
886
930
  iss: string;
887
931
  sub: string;
888
932
  }, {
@@ -906,6 +950,14 @@ declare const KernelDefinitions: {
906
950
  })[];
907
951
  } | null;
908
952
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
953
+ principal: string;
954
+ audience: string;
955
+ ttlSeconds: number;
956
+ attenuation: unknown;
957
+ }, {
958
+ readonly mode: 'value';
959
+ readonly value: string;
960
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
909
961
  policy: string;
910
962
  object: string;
911
963
  }, {
@@ -920,7 +972,15 @@ declare const KernelDefinitions: {
920
972
  }, {
921
973
  readonly mode: 'value';
922
974
  readonly value: string;
923
- }, "authenticated", true, false>>, "mint", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", builder.ClassOwnerProjection<"node", {
975
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
976
+ audience?: string | undefined;
977
+ ttlSeconds: number;
978
+ grant?: unknown;
979
+ identity: string;
980
+ }, {
981
+ readonly mode: 'value';
982
+ readonly value: string;
983
+ }, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", builder.ClassOwnerProjection<"node", {
924
984
  readonly abstract: true;
925
985
  readonly depth: 1;
926
986
  readonly properties: {
@@ -1023,6 +1083,15 @@ declare const KernelDefinitions: {
1023
1083
  readonly mode: 'value';
1024
1084
  readonly value: string;
1025
1085
  }, "authenticated", true, false>>;
1086
+ impersonate: builder.Method<builder.CallableProjection<{
1087
+ audience?: string | undefined;
1088
+ ttlSeconds: number;
1089
+ grant?: unknown;
1090
+ identity: string;
1091
+ }, {
1092
+ readonly mode: 'value';
1093
+ readonly value: string;
1094
+ }, "authorized", true, false>>;
1026
1095
  }>;
1027
1096
  }, builder.AuthoredPropertyProjection<({
1028
1097
  claim: string;
@@ -1067,14 +1136,6 @@ declare const KernelDefinitions: {
1067
1136
  })[];
1068
1137
  };
1069
1138
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1070
- principal: string;
1071
- audience: string;
1072
- ttlSeconds: number;
1073
- attenuation: unknown;
1074
- }, {
1075
- readonly mode: 'value';
1076
- readonly value: string;
1077
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1078
1139
  iss: string;
1079
1140
  sub: string;
1080
1141
  }, {
@@ -1098,6 +1159,14 @@ declare const KernelDefinitions: {
1098
1159
  })[];
1099
1160
  } | null;
1100
1161
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1162
+ principal: string;
1163
+ audience: string;
1164
+ ttlSeconds: number;
1165
+ attenuation: unknown;
1166
+ }, {
1167
+ readonly mode: 'value';
1168
+ readonly value: string;
1169
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1101
1170
  policy: string;
1102
1171
  object: string;
1103
1172
  }, {
@@ -1112,7 +1181,15 @@ declare const KernelDefinitions: {
1112
1181
  }, {
1113
1182
  readonly mode: 'value';
1114
1183
  readonly value: string;
1115
- }, "authenticated", true, false>>, "mint", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
1184
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1185
+ audience?: string | undefined;
1186
+ ttlSeconds: number;
1187
+ grant?: unknown;
1188
+ identity: string;
1189
+ }, {
1190
+ readonly mode: 'value';
1191
+ readonly value: string;
1192
+ }, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
1116
1193
  readonly abstract: true;
1117
1194
  readonly depth: 1;
1118
1195
  readonly properties: {
@@ -1215,6 +1292,15 @@ declare const KernelDefinitions: {
1215
1292
  readonly mode: 'value';
1216
1293
  readonly value: string;
1217
1294
  }, "authenticated", true, false>>;
1295
+ impersonate: builder.Method<builder.CallableProjection<{
1296
+ audience?: string | undefined;
1297
+ ttlSeconds: number;
1298
+ grant?: unknown;
1299
+ identity: string;
1300
+ }, {
1301
+ readonly mode: 'value';
1302
+ readonly value: string;
1303
+ }, "authorized", true, false>>;
1218
1304
  }>;
1219
1305
  }, builder.AuthoredPropertyProjection<({
1220
1306
  claim: string;
@@ -1259,14 +1345,6 @@ declare const KernelDefinitions: {
1259
1345
  })[];
1260
1346
  };
1261
1347
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1262
- principal: string;
1263
- audience: string;
1264
- ttlSeconds: number;
1265
- attenuation: unknown;
1266
- }, {
1267
- readonly mode: 'value';
1268
- readonly value: string;
1269
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1270
1348
  iss: string;
1271
1349
  sub: string;
1272
1350
  }, {
@@ -1290,6 +1368,14 @@ declare const KernelDefinitions: {
1290
1368
  })[];
1291
1369
  } | null;
1292
1370
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1371
+ principal: string;
1372
+ audience: string;
1373
+ ttlSeconds: number;
1374
+ attenuation: unknown;
1375
+ }, {
1376
+ readonly mode: 'value';
1377
+ readonly value: string;
1378
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1293
1379
  policy: string;
1294
1380
  object: string;
1295
1381
  }, {
@@ -1304,7 +1390,15 @@ declare const KernelDefinitions: {
1304
1390
  }, {
1305
1391
  readonly mode: 'value';
1306
1392
  readonly value: string;
1307
- }, "authenticated", true, false>>, "mint", unknown>>, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
1393
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1394
+ audience?: string | undefined;
1395
+ ttlSeconds: number;
1396
+ grant?: unknown;
1397
+ identity: string;
1398
+ }, {
1399
+ readonly mode: 'value';
1400
+ readonly value: string;
1401
+ }, "authorized", true, false>>, "impersonate", unknown>>, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
1308
1402
  readonly mode: 'value';
1309
1403
  readonly value: {
1310
1404
  id: string;
@@ -1427,6 +1521,15 @@ declare const KernelDefinitions: {
1427
1521
  readonly mode: 'value';
1428
1522
  readonly value: string;
1429
1523
  }, "authenticated", true, false>>;
1524
+ impersonate: builder.Method<builder.CallableProjection<{
1525
+ audience?: string | undefined;
1526
+ ttlSeconds: number;
1527
+ grant?: unknown;
1528
+ identity: string;
1529
+ }, {
1530
+ readonly mode: 'value';
1531
+ readonly value: string;
1532
+ }, "authorized", true, false>>;
1430
1533
  }>;
1431
1534
  }, builder.AuthoredPropertyProjection<({
1432
1535
  claim: string;
@@ -1471,14 +1574,6 @@ declare const KernelDefinitions: {
1471
1574
  })[];
1472
1575
  };
1473
1576
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1474
- principal: string;
1475
- audience: string;
1476
- ttlSeconds: number;
1477
- attenuation: unknown;
1478
- }, {
1479
- readonly mode: 'value';
1480
- readonly value: string;
1481
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1482
1577
  iss: string;
1483
1578
  sub: string;
1484
1579
  }, {
@@ -1502,6 +1597,14 @@ declare const KernelDefinitions: {
1502
1597
  })[];
1503
1598
  } | null;
1504
1599
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1600
+ principal: string;
1601
+ audience: string;
1602
+ ttlSeconds: number;
1603
+ attenuation: unknown;
1604
+ }, {
1605
+ readonly mode: 'value';
1606
+ readonly value: string;
1607
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1505
1608
  policy: string;
1506
1609
  object: string;
1507
1610
  }, {
@@ -1516,15 +1619,38 @@ declare const KernelDefinitions: {
1516
1619
  }, {
1517
1620
  readonly mode: 'value';
1518
1621
  readonly value: string;
1519
- }, "authenticated", true, false>>, "mint", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1520
- principal: string;
1521
- audience: string;
1622
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1623
+ audience?: string | undefined;
1522
1624
  ttlSeconds: number;
1523
- attenuation: unknown;
1625
+ grant?: unknown;
1626
+ identity: string;
1524
1627
  }, {
1525
1628
  readonly mode: 'value';
1526
1629
  readonly value: string;
1527
- }, "authenticated", true, false>>, "delegate", builder.ClassOwnerProjection<"node", {
1630
+ }, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1631
+ iss: string;
1632
+ sub: string;
1633
+ }, {
1634
+ readonly mode: 'value';
1635
+ readonly value: {
1636
+ id: string;
1637
+ iss: string;
1638
+ sub: string;
1639
+ frozen: boolean;
1640
+ requiredClaims: ({
1641
+ claim: string;
1642
+ op: "contains";
1643
+ value: unknown;
1644
+ } | {
1645
+ claim: string;
1646
+ op: "eq";
1647
+ value: unknown;
1648
+ } | {
1649
+ claim: string;
1650
+ op: "exists";
1651
+ })[];
1652
+ } | null;
1653
+ }, "authorized", true, false>>, "whois", builder.ClassOwnerProjection<"node", {
1528
1654
  readonly abstract: true;
1529
1655
  readonly depth: 1;
1530
1656
  readonly properties: {
@@ -1627,6 +1753,15 @@ declare const KernelDefinitions: {
1627
1753
  readonly mode: 'value';
1628
1754
  readonly value: string;
1629
1755
  }, "authenticated", true, false>>;
1756
+ impersonate: builder.Method<builder.CallableProjection<{
1757
+ audience?: string | undefined;
1758
+ ttlSeconds: number;
1759
+ grant?: unknown;
1760
+ identity: string;
1761
+ }, {
1762
+ readonly mode: 'value';
1763
+ readonly value: string;
1764
+ }, "authorized", true, false>>;
1630
1765
  }>;
1631
1766
  }, builder.AuthoredPropertyProjection<({
1632
1767
  claim: string;
@@ -1671,14 +1806,6 @@ declare const KernelDefinitions: {
1671
1806
  })[];
1672
1807
  };
1673
1808
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1674
- principal: string;
1675
- audience: string;
1676
- ttlSeconds: number;
1677
- attenuation: unknown;
1678
- }, {
1679
- readonly mode: 'value';
1680
- readonly value: string;
1681
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1682
1809
  iss: string;
1683
1810
  sub: string;
1684
1811
  }, {
@@ -1702,6 +1829,14 @@ declare const KernelDefinitions: {
1702
1829
  })[];
1703
1830
  } | null;
1704
1831
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1832
+ principal: string;
1833
+ audience: string;
1834
+ ttlSeconds: number;
1835
+ attenuation: unknown;
1836
+ }, {
1837
+ readonly mode: 'value';
1838
+ readonly value: string;
1839
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1705
1840
  policy: string;
1706
1841
  object: string;
1707
1842
  }, {
@@ -1716,17 +1851,30 @@ declare const KernelDefinitions: {
1716
1851
  }, {
1717
1852
  readonly mode: 'value';
1718
1853
  readonly value: string;
1719
- }, "authenticated", true, false>>, "mint", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1720
- iss: string;
1721
- sub: string;
1854
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1855
+ audience?: string | undefined;
1856
+ ttlSeconds: number;
1857
+ grant?: unknown;
1858
+ identity: string;
1722
1859
  }, {
1723
1860
  readonly mode: 'value';
1724
- readonly value: {
1725
- id: string;
1726
- iss: string;
1727
- sub: string;
1728
- frozen: boolean;
1729
- requiredClaims: ({
1861
+ readonly value: string;
1862
+ }, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1863
+ principal: string;
1864
+ audience: string;
1865
+ ttlSeconds: number;
1866
+ attenuation: unknown;
1867
+ }, {
1868
+ readonly mode: 'value';
1869
+ readonly value: string;
1870
+ }, "authenticated", true, false>>, "delegate", builder.ClassOwnerProjection<"node", {
1871
+ readonly abstract: true;
1872
+ readonly depth: 1;
1873
+ readonly properties: {
1874
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
1875
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
1876
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
1877
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
1730
1878
  claim: string;
1731
1879
  op: "contains";
1732
1880
  value: unknown;
@@ -1737,9 +1885,206 @@ declare const KernelDefinitions: {
1737
1885
  } | {
1738
1886
  claim: string;
1739
1887
  op: "exists";
1740
- })[];
1741
- } | null;
1742
- }, "authorized", true, false>>, "whois", builder.ClassOwnerProjection<"node", {
1888
+ })[], ({
1889
+ claim: string;
1890
+ op: "contains";
1891
+ value: unknown;
1892
+ } | {
1893
+ claim: string;
1894
+ op: "eq";
1895
+ value: unknown;
1896
+ } | {
1897
+ claim: string;
1898
+ op: "exists";
1899
+ })[], false, "requiredClaims", "self", never>;
1900
+ };
1901
+ readonly methods: Readonly<{
1902
+ delegate: builder.Method<builder.CallableProjection<{
1903
+ principal: string;
1904
+ audience: string;
1905
+ ttlSeconds: number;
1906
+ attenuation: unknown;
1907
+ }, {
1908
+ readonly mode: 'value';
1909
+ readonly value: string;
1910
+ }, "authenticated", true, false>>;
1911
+ can: builder.Method<builder.CallableProjection<{
1912
+ policy: string;
1913
+ object: string;
1914
+ }, {
1915
+ readonly mode: 'value';
1916
+ readonly value: {
1917
+ allowed: boolean;
1918
+ };
1919
+ }, "authenticated", true, false>>;
1920
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
1921
+ readonly mode: 'value';
1922
+ readonly value: {
1923
+ id: string;
1924
+ iss: string;
1925
+ sub: string;
1926
+ frozen: boolean;
1927
+ requiredClaims: ({
1928
+ claim: string;
1929
+ op: "contains";
1930
+ value: unknown;
1931
+ } | {
1932
+ claim: string;
1933
+ op: "eq";
1934
+ value: unknown;
1935
+ } | {
1936
+ claim: string;
1937
+ op: "exists";
1938
+ })[];
1939
+ };
1940
+ }, "authenticated", true, false>>;
1941
+ whois: builder.Method<builder.CallableProjection<{
1942
+ iss: string;
1943
+ sub: string;
1944
+ }, {
1945
+ readonly mode: 'value';
1946
+ readonly value: {
1947
+ id: string;
1948
+ iss: string;
1949
+ sub: string;
1950
+ frozen: boolean;
1951
+ requiredClaims: ({
1952
+ claim: string;
1953
+ op: "contains";
1954
+ value: unknown;
1955
+ } | {
1956
+ claim: string;
1957
+ op: "eq";
1958
+ value: unknown;
1959
+ } | {
1960
+ claim: string;
1961
+ op: "exists";
1962
+ })[];
1963
+ } | null;
1964
+ }, "authorized", true, false>>;
1965
+ mint: builder.Method<builder.CallableProjection<{
1966
+ audience?: string | undefined;
1967
+ ttlSeconds: number;
1968
+ grant?: unknown;
1969
+ }, {
1970
+ readonly mode: 'value';
1971
+ readonly value: string;
1972
+ }, "authenticated", true, false>>;
1973
+ impersonate: builder.Method<builder.CallableProjection<{
1974
+ audience?: string | undefined;
1975
+ ttlSeconds: number;
1976
+ grant?: unknown;
1977
+ identity: string;
1978
+ }, {
1979
+ readonly mode: 'value';
1980
+ readonly value: string;
1981
+ }, "authorized", true, false>>;
1982
+ }>;
1983
+ }, builder.AuthoredPropertyProjection<({
1984
+ claim: string;
1985
+ op: "contains";
1986
+ value: unknown;
1987
+ } | {
1988
+ claim: string;
1989
+ op: "eq";
1990
+ value: unknown;
1991
+ } | {
1992
+ claim: string;
1993
+ op: "exists";
1994
+ })[], ({
1995
+ claim: string;
1996
+ op: "contains";
1997
+ value: unknown;
1998
+ } | {
1999
+ claim: string;
2000
+ op: "eq";
2001
+ value: unknown;
2002
+ } | {
2003
+ claim: string;
2004
+ op: "exists";
2005
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
2006
+ readonly mode: 'value';
2007
+ readonly value: {
2008
+ id: string;
2009
+ iss: string;
2010
+ sub: string;
2011
+ frozen: boolean;
2012
+ requiredClaims: ({
2013
+ claim: string;
2014
+ op: "contains";
2015
+ value: unknown;
2016
+ } | {
2017
+ claim: string;
2018
+ op: "eq";
2019
+ value: unknown;
2020
+ } | {
2021
+ claim: string;
2022
+ op: "exists";
2023
+ })[];
2024
+ };
2025
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2026
+ iss: string;
2027
+ sub: string;
2028
+ }, {
2029
+ readonly mode: 'value';
2030
+ readonly value: {
2031
+ id: string;
2032
+ iss: string;
2033
+ sub: string;
2034
+ frozen: boolean;
2035
+ requiredClaims: ({
2036
+ claim: string;
2037
+ op: "contains";
2038
+ value: unknown;
2039
+ } | {
2040
+ claim: string;
2041
+ op: "eq";
2042
+ value: unknown;
2043
+ } | {
2044
+ claim: string;
2045
+ op: "exists";
2046
+ })[];
2047
+ } | null;
2048
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2049
+ principal: string;
2050
+ audience: string;
2051
+ ttlSeconds: number;
2052
+ attenuation: unknown;
2053
+ }, {
2054
+ readonly mode: 'value';
2055
+ readonly value: string;
2056
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2057
+ policy: string;
2058
+ object: string;
2059
+ }, {
2060
+ readonly mode: 'value';
2061
+ readonly value: {
2062
+ allowed: boolean;
2063
+ };
2064
+ }, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2065
+ audience?: string | undefined;
2066
+ ttlSeconds: number;
2067
+ grant?: unknown;
2068
+ }, {
2069
+ readonly mode: 'value';
2070
+ readonly value: string;
2071
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2072
+ audience?: string | undefined;
2073
+ ttlSeconds: number;
2074
+ grant?: unknown;
2075
+ identity: string;
2076
+ }, {
2077
+ readonly mode: 'value';
2078
+ readonly value: string;
2079
+ }, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2080
+ policy: string;
2081
+ object: string;
2082
+ }, {
2083
+ readonly mode: 'value';
2084
+ readonly value: {
2085
+ allowed: boolean;
2086
+ };
2087
+ }, "authenticated", true, false>>, "can", builder.ClassOwnerProjection<"node", {
1743
2088
  readonly abstract: true;
1744
2089
  readonly depth: 1;
1745
2090
  readonly properties: {
@@ -1842,6 +2187,15 @@ declare const KernelDefinitions: {
1842
2187
  readonly mode: 'value';
1843
2188
  readonly value: string;
1844
2189
  }, "authenticated", true, false>>;
2190
+ impersonate: builder.Method<builder.CallableProjection<{
2191
+ audience?: string | undefined;
2192
+ ttlSeconds: number;
2193
+ grant?: unknown;
2194
+ identity: string;
2195
+ }, {
2196
+ readonly mode: 'value';
2197
+ readonly value: string;
2198
+ }, "authorized", true, false>>;
1845
2199
  }>;
1846
2200
  }, builder.AuthoredPropertyProjection<({
1847
2201
  claim: string;
@@ -1886,14 +2240,6 @@ declare const KernelDefinitions: {
1886
2240
  })[];
1887
2241
  };
1888
2242
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1889
- principal: string;
1890
- audience: string;
1891
- ttlSeconds: number;
1892
- attenuation: unknown;
1893
- }, {
1894
- readonly mode: 'value';
1895
- readonly value: string;
1896
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1897
2243
  iss: string;
1898
2244
  sub: string;
1899
2245
  }, {
@@ -1917,6 +2263,14 @@ declare const KernelDefinitions: {
1917
2263
  })[];
1918
2264
  } | null;
1919
2265
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2266
+ principal: string;
2267
+ audience: string;
2268
+ ttlSeconds: number;
2269
+ attenuation: unknown;
2270
+ }, {
2271
+ readonly mode: 'value';
2272
+ readonly value: string;
2273
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1920
2274
  policy: string;
1921
2275
  object: string;
1922
2276
  }, {
@@ -1931,15 +2285,22 @@ declare const KernelDefinitions: {
1931
2285
  }, {
1932
2286
  readonly mode: 'value';
1933
2287
  readonly value: string;
1934
- }, "authenticated", true, false>>, "mint", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1935
- policy: string;
1936
- object: string;
2288
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2289
+ audience?: string | undefined;
2290
+ ttlSeconds: number;
2291
+ grant?: unknown;
2292
+ identity: string;
1937
2293
  }, {
1938
2294
  readonly mode: 'value';
1939
- readonly value: {
1940
- allowed: boolean;
1941
- };
1942
- }, "authenticated", true, false>>, "can", builder.ClassOwnerProjection<"node", {
2295
+ readonly value: string;
2296
+ }, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2297
+ audience?: string | undefined;
2298
+ ttlSeconds: number;
2299
+ grant?: unknown;
2300
+ }, {
2301
+ readonly mode: 'value';
2302
+ readonly value: string;
2303
+ }, "authenticated", true, false>>, "mint", builder.ClassOwnerProjection<"node", {
1943
2304
  readonly abstract: true;
1944
2305
  readonly depth: 1;
1945
2306
  readonly properties: {
@@ -2042,6 +2403,15 @@ declare const KernelDefinitions: {
2042
2403
  readonly mode: 'value';
2043
2404
  readonly value: string;
2044
2405
  }, "authenticated", true, false>>;
2406
+ impersonate: builder.Method<builder.CallableProjection<{
2407
+ audience?: string | undefined;
2408
+ ttlSeconds: number;
2409
+ grant?: unknown;
2410
+ identity: string;
2411
+ }, {
2412
+ readonly mode: 'value';
2413
+ readonly value: string;
2414
+ }, "authorized", true, false>>;
2045
2415
  }>;
2046
2416
  }, builder.AuthoredPropertyProjection<({
2047
2417
  claim: string;
@@ -2086,14 +2456,6 @@ declare const KernelDefinitions: {
2086
2456
  })[];
2087
2457
  };
2088
2458
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2089
- principal: string;
2090
- audience: string;
2091
- ttlSeconds: number;
2092
- attenuation: unknown;
2093
- }, {
2094
- readonly mode: 'value';
2095
- readonly value: string;
2096
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2097
2459
  iss: string;
2098
2460
  sub: string;
2099
2461
  }, {
@@ -2117,6 +2479,14 @@ declare const KernelDefinitions: {
2117
2479
  })[];
2118
2480
  } | null;
2119
2481
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2482
+ principal: string;
2483
+ audience: string;
2484
+ ttlSeconds: number;
2485
+ attenuation: unknown;
2486
+ }, {
2487
+ readonly mode: 'value';
2488
+ readonly value: string;
2489
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2120
2490
  policy: string;
2121
2491
  object: string;
2122
2492
  }, {
@@ -2131,14 +2501,23 @@ declare const KernelDefinitions: {
2131
2501
  }, {
2132
2502
  readonly mode: 'value';
2133
2503
  readonly value: string;
2134
- }, "authenticated", true, false>>, "mint", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2504
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2135
2505
  audience?: string | undefined;
2136
2506
  ttlSeconds: number;
2137
2507
  grant?: unknown;
2508
+ identity: string;
2138
2509
  }, {
2139
2510
  readonly mode: 'value';
2140
2511
  readonly value: string;
2141
- }, "authenticated", true, false>>, "mint", builder.ClassOwnerProjection<"node", {
2512
+ }, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2513
+ audience?: string | undefined;
2514
+ ttlSeconds: number;
2515
+ grant?: unknown;
2516
+ identity: string;
2517
+ }, {
2518
+ readonly mode: 'value';
2519
+ readonly value: string;
2520
+ }, "authorized", true, false>>, "impersonate", builder.ClassOwnerProjection<"node", {
2142
2521
  readonly abstract: true;
2143
2522
  readonly depth: 1;
2144
2523
  readonly properties: {
@@ -2241,6 +2620,15 @@ declare const KernelDefinitions: {
2241
2620
  readonly mode: 'value';
2242
2621
  readonly value: string;
2243
2622
  }, "authenticated", true, false>>;
2623
+ impersonate: builder.Method<builder.CallableProjection<{
2624
+ audience?: string | undefined;
2625
+ ttlSeconds: number;
2626
+ grant?: unknown;
2627
+ identity: string;
2628
+ }, {
2629
+ readonly mode: 'value';
2630
+ readonly value: string;
2631
+ }, "authorized", true, false>>;
2244
2632
  }>;
2245
2633
  }, builder.AuthoredPropertyProjection<({
2246
2634
  claim: string;
@@ -2285,14 +2673,6 @@ declare const KernelDefinitions: {
2285
2673
  })[];
2286
2674
  };
2287
2675
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2288
- principal: string;
2289
- audience: string;
2290
- ttlSeconds: number;
2291
- attenuation: unknown;
2292
- }, {
2293
- readonly mode: 'value';
2294
- readonly value: string;
2295
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2296
2676
  iss: string;
2297
2677
  sub: string;
2298
2678
  }, {
@@ -2316,6 +2696,14 @@ declare const KernelDefinitions: {
2316
2696
  })[];
2317
2697
  } | null;
2318
2698
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2699
+ principal: string;
2700
+ audience: string;
2701
+ ttlSeconds: number;
2702
+ attenuation: unknown;
2703
+ }, {
2704
+ readonly mode: 'value';
2705
+ readonly value: string;
2706
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2319
2707
  policy: string;
2320
2708
  object: string;
2321
2709
  }, {
@@ -2330,7 +2718,15 @@ declare const KernelDefinitions: {
2330
2718
  }, {
2331
2719
  readonly mode: 'value';
2332
2720
  readonly value: string;
2333
- }, "authenticated", true, false>>, "mint", unknown>>>>];
2721
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2722
+ audience?: string | undefined;
2723
+ ttlSeconds: number;
2724
+ grant?: unknown;
2725
+ identity: string;
2726
+ }, {
2727
+ readonly mode: 'value';
2728
+ readonly value: string;
2729
+ }, "authorized", true, false>>, "impersonate", unknown>>>>];
2334
2730
  readonly properties: {
2335
2731
  readonly origin: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "origin", "self", undefined>;
2336
2732
  readonly dependencyContext: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "dependencyContext", "self", never>;
@@ -2463,6 +2859,15 @@ declare const KernelDefinitions: {
2463
2859
  readonly mode: 'value';
2464
2860
  readonly value: string;
2465
2861
  }, "authenticated", true, false>>;
2862
+ impersonate: builder.Method<builder.CallableProjection<{
2863
+ audience?: string | undefined;
2864
+ ttlSeconds: number;
2865
+ grant?: unknown;
2866
+ identity: string;
2867
+ }, {
2868
+ readonly mode: 'value';
2869
+ readonly value: string;
2870
+ }, "authorized", true, false>>;
2466
2871
  }>;
2467
2872
  }, builder.AuthoredPropertyProjection<({
2468
2873
  claim: string;
@@ -2507,14 +2912,6 @@ declare const KernelDefinitions: {
2507
2912
  })[];
2508
2913
  };
2509
2914
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2510
- principal: string;
2511
- audience: string;
2512
- ttlSeconds: number;
2513
- attenuation: unknown;
2514
- }, {
2515
- readonly mode: 'value';
2516
- readonly value: string;
2517
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2518
2915
  iss: string;
2519
2916
  sub: string;
2520
2917
  }, {
@@ -2538,6 +2935,14 @@ declare const KernelDefinitions: {
2538
2935
  })[];
2539
2936
  } | null;
2540
2937
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2938
+ principal: string;
2939
+ audience: string;
2940
+ ttlSeconds: number;
2941
+ attenuation: unknown;
2942
+ }, {
2943
+ readonly mode: 'value';
2944
+ readonly value: string;
2945
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2541
2946
  policy: string;
2542
2947
  object: string;
2543
2948
  }, {
@@ -2552,7 +2957,15 @@ declare const KernelDefinitions: {
2552
2957
  }, {
2553
2958
  readonly mode: 'value';
2554
2959
  readonly value: string;
2555
- }, "authenticated", true, false>>, "mint", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", builder.ClassOwnerProjection<"node", {
2960
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2961
+ audience?: string | undefined;
2962
+ ttlSeconds: number;
2963
+ grant?: unknown;
2964
+ identity: string;
2965
+ }, {
2966
+ readonly mode: 'value';
2967
+ readonly value: string;
2968
+ }, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", builder.ClassOwnerProjection<"node", {
2556
2969
  readonly abstract: true;
2557
2970
  readonly depth: 1;
2558
2971
  readonly properties: {
@@ -2655,6 +3068,15 @@ declare const KernelDefinitions: {
2655
3068
  readonly mode: 'value';
2656
3069
  readonly value: string;
2657
3070
  }, "authenticated", true, false>>;
3071
+ impersonate: builder.Method<builder.CallableProjection<{
3072
+ audience?: string | undefined;
3073
+ ttlSeconds: number;
3074
+ grant?: unknown;
3075
+ identity: string;
3076
+ }, {
3077
+ readonly mode: 'value';
3078
+ readonly value: string;
3079
+ }, "authorized", true, false>>;
2658
3080
  }>;
2659
3081
  }, builder.AuthoredPropertyProjection<({
2660
3082
  claim: string;
@@ -2699,14 +3121,6 @@ declare const KernelDefinitions: {
2699
3121
  })[];
2700
3122
  };
2701
3123
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2702
- principal: string;
2703
- audience: string;
2704
- ttlSeconds: number;
2705
- attenuation: unknown;
2706
- }, {
2707
- readonly mode: 'value';
2708
- readonly value: string;
2709
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2710
3124
  iss: string;
2711
3125
  sub: string;
2712
3126
  }, {
@@ -2730,6 +3144,14 @@ declare const KernelDefinitions: {
2730
3144
  })[];
2731
3145
  } | null;
2732
3146
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3147
+ principal: string;
3148
+ audience: string;
3149
+ ttlSeconds: number;
3150
+ attenuation: unknown;
3151
+ }, {
3152
+ readonly mode: 'value';
3153
+ readonly value: string;
3154
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2733
3155
  policy: string;
2734
3156
  object: string;
2735
3157
  }, {
@@ -2744,7 +3166,15 @@ declare const KernelDefinitions: {
2744
3166
  }, {
2745
3167
  readonly mode: 'value';
2746
3168
  readonly value: string;
2747
- }, "authenticated", true, false>>, "mint", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", builder.ClassOwnerProjection<"node", {
3169
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3170
+ audience?: string | undefined;
3171
+ ttlSeconds: number;
3172
+ grant?: unknown;
3173
+ identity: string;
3174
+ }, {
3175
+ readonly mode: 'value';
3176
+ readonly value: string;
3177
+ }, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", builder.ClassOwnerProjection<"node", {
2748
3178
  readonly abstract: true;
2749
3179
  readonly depth: 1;
2750
3180
  readonly properties: {
@@ -2847,6 +3277,15 @@ declare const KernelDefinitions: {
2847
3277
  readonly mode: 'value';
2848
3278
  readonly value: string;
2849
3279
  }, "authenticated", true, false>>;
3280
+ impersonate: builder.Method<builder.CallableProjection<{
3281
+ audience?: string | undefined;
3282
+ ttlSeconds: number;
3283
+ grant?: unknown;
3284
+ identity: string;
3285
+ }, {
3286
+ readonly mode: 'value';
3287
+ readonly value: string;
3288
+ }, "authorized", true, false>>;
2850
3289
  }>;
2851
3290
  }, builder.AuthoredPropertyProjection<({
2852
3291
  claim: string;
@@ -2891,14 +3330,6 @@ declare const KernelDefinitions: {
2891
3330
  })[];
2892
3331
  };
2893
3332
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2894
- principal: string;
2895
- audience: string;
2896
- ttlSeconds: number;
2897
- attenuation: unknown;
2898
- }, {
2899
- readonly mode: 'value';
2900
- readonly value: string;
2901
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2902
3333
  iss: string;
2903
3334
  sub: string;
2904
3335
  }, {
@@ -2922,6 +3353,14 @@ declare const KernelDefinitions: {
2922
3353
  })[];
2923
3354
  } | null;
2924
3355
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3356
+ principal: string;
3357
+ audience: string;
3358
+ ttlSeconds: number;
3359
+ attenuation: unknown;
3360
+ }, {
3361
+ readonly mode: 'value';
3362
+ readonly value: string;
3363
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2925
3364
  policy: string;
2926
3365
  object: string;
2927
3366
  }, {
@@ -2936,7 +3375,15 @@ declare const KernelDefinitions: {
2936
3375
  }, {
2937
3376
  readonly mode: 'value';
2938
3377
  readonly value: string;
2939
- }, "authenticated", true, false>>, "mint", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
3378
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3379
+ audience?: string | undefined;
3380
+ ttlSeconds: number;
3381
+ grant?: unknown;
3382
+ identity: string;
3383
+ }, {
3384
+ readonly mode: 'value';
3385
+ readonly value: string;
3386
+ }, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
2940
3387
  readonly abstract: true;
2941
3388
  readonly depth: 1;
2942
3389
  readonly properties: {
@@ -3039,6 +3486,15 @@ declare const KernelDefinitions: {
3039
3486
  readonly mode: 'value';
3040
3487
  readonly value: string;
3041
3488
  }, "authenticated", true, false>>;
3489
+ impersonate: builder.Method<builder.CallableProjection<{
3490
+ audience?: string | undefined;
3491
+ ttlSeconds: number;
3492
+ grant?: unknown;
3493
+ identity: string;
3494
+ }, {
3495
+ readonly mode: 'value';
3496
+ readonly value: string;
3497
+ }, "authorized", true, false>>;
3042
3498
  }>;
3043
3499
  }, builder.AuthoredPropertyProjection<({
3044
3500
  claim: string;
@@ -3083,14 +3539,6 @@ declare const KernelDefinitions: {
3083
3539
  })[];
3084
3540
  };
3085
3541
  }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3086
- principal: string;
3087
- audience: string;
3088
- ttlSeconds: number;
3089
- attenuation: unknown;
3090
- }, {
3091
- readonly mode: 'value';
3092
- readonly value: string;
3093
- }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3094
3542
  iss: string;
3095
3543
  sub: string;
3096
3544
  }, {
@@ -3114,6 +3562,14 @@ declare const KernelDefinitions: {
3114
3562
  })[];
3115
3563
  } | null;
3116
3564
  }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3565
+ principal: string;
3566
+ audience: string;
3567
+ ttlSeconds: number;
3568
+ attenuation: unknown;
3569
+ }, {
3570
+ readonly mode: 'value';
3571
+ readonly value: string;
3572
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3117
3573
  policy: string;
3118
3574
  object: string;
3119
3575
  }, {
@@ -3128,7 +3584,15 @@ declare const KernelDefinitions: {
3128
3584
  }, {
3129
3585
  readonly mode: 'value';
3130
3586
  readonly value: string;
3131
- }, "authenticated", true, false>>, "mint", unknown>>, never> | (builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "dependencyContext", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "origin", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schema", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schemaRevision", "self", never>);
3587
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3588
+ audience?: string | undefined;
3589
+ ttlSeconds: number;
3590
+ grant?: unknown;
3591
+ identity: string;
3592
+ }, {
3593
+ readonly mode: 'value';
3594
+ readonly value: string;
3595
+ }, "authorized", true, false>>, "impersonate", unknown>>, never> | (builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "dependencyContext", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "origin", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schema", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schemaRevision", "self", never>);
3132
3596
  readonly abstractInstanceMethods: never;
3133
3597
  readonly abstractStaticMethods: never;
3134
3598
  readonly effectiveInstanceMethods: never;
@@ -3957,6 +4421,29 @@ declare const KernelDefinitions: {
3957
4421
  };
3958
4422
  })[];
3959
4423
  operations: ({
4424
+ op: "edge.update";
4425
+ edge: {
4426
+ source: string;
4427
+ target: string;
4428
+ class: string;
4429
+ };
4430
+ slug: unknown;
4431
+ props?: {
4432
+ set: Record<string, unknown>;
4433
+ unset: string[];
4434
+ } | undefined;
4435
+ } | {
4436
+ op: "edge.update";
4437
+ edge: {
4438
+ source: string;
4439
+ target: string;
4440
+ class: string;
4441
+ };
4442
+ props: {
4443
+ set: Record<string, unknown>;
4444
+ unset: string[];
4445
+ };
4446
+ } | {
3960
4447
  op: "node.create";
3961
4448
  as: string;
3962
4449
  class: string;
@@ -3984,29 +4471,6 @@ declare const KernelDefinitions: {
3984
4471
  };
3985
4472
  slug?: unknown;
3986
4473
  props: Record<string, unknown>;
3987
- } | {
3988
- op: "edge.update";
3989
- edge: {
3990
- source: string;
3991
- target: string;
3992
- class: string;
3993
- };
3994
- slug: unknown;
3995
- props?: {
3996
- set: Record<string, unknown>;
3997
- unset: string[];
3998
- } | undefined;
3999
- } | {
4000
- op: "edge.update";
4001
- edge: {
4002
- source: string;
4003
- target: string;
4004
- class: string;
4005
- };
4006
- props: {
4007
- set: Record<string, unknown>;
4008
- unset: string[];
4009
- };
4010
4474
  } | {
4011
4475
  op: "edge.delete";
4012
4476
  edge: {
@@ -4643,6 +5107,29 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
4643
5107
  };
4644
5108
  })[];
4645
5109
  operations: ({
5110
+ op: "edge.update";
5111
+ edge: {
5112
+ source: string;
5113
+ target: string;
5114
+ class: string;
5115
+ };
5116
+ slug: unknown;
5117
+ props?: {
5118
+ set: Record<string, unknown>;
5119
+ unset: string[];
5120
+ } | undefined;
5121
+ } | {
5122
+ op: "edge.update";
5123
+ edge: {
5124
+ source: string;
5125
+ target: string;
5126
+ class: string;
5127
+ };
5128
+ props: {
5129
+ set: Record<string, unknown>;
5130
+ unset: string[];
5131
+ };
5132
+ } | {
4646
5133
  op: "node.create";
4647
5134
  as: string;
4648
5135
  class: string;
@@ -4670,29 +5157,6 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
4670
5157
  };
4671
5158
  slug?: unknown;
4672
5159
  props: Record<string, unknown>;
4673
- } | {
4674
- op: "edge.update";
4675
- edge: {
4676
- source: string;
4677
- target: string;
4678
- class: string;
4679
- };
4680
- slug: unknown;
4681
- props?: {
4682
- set: Record<string, unknown>;
4683
- unset: string[];
4684
- } | undefined;
4685
- } | {
4686
- op: "edge.update";
4687
- edge: {
4688
- source: string;
4689
- target: string;
4690
- class: string;
4691
- };
4692
- props: {
4693
- set: Record<string, unknown>;
4694
- unset: string[];
4695
- };
4696
5160
  } | {
4697
5161
  op: "edge.delete";
4698
5162
  edge: {
@@ -5014,6 +5478,32 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
5014
5478
  readonly origin: "kernel.astrale.ai";
5015
5479
  };
5016
5480
  readonly key: "kernel.astrale.ai:function.uninstall";
5481
+ }) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
5482
+ iss: string;
5483
+ sub: string;
5484
+ }, {
5485
+ readonly mode: 'value';
5486
+ readonly value: {
5487
+ id: string;
5488
+ iss: string;
5489
+ sub: string;
5490
+ frozen: boolean;
5491
+ requiredClaims: ({
5492
+ claim: string;
5493
+ op: "contains";
5494
+ value: unknown;
5495
+ } | {
5496
+ claim: string;
5497
+ op: "eq";
5498
+ value: unknown;
5499
+ } | {
5500
+ claim: string;
5501
+ op: "exists";
5502
+ })[];
5503
+ } | null;
5504
+ }, true, false, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
5505
+ readonly name: "whois";
5506
+ readonly executable: true;
5017
5507
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
5018
5508
  target: string;
5019
5509
  }, {
@@ -5050,30 +5540,15 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
5050
5540
  readonly name: "resolve";
5051
5541
  readonly executable: true;
5052
5542
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
5053
- iss: string;
5054
- sub: string;
5543
+ audience?: string | undefined;
5544
+ ttlSeconds: number;
5545
+ grant?: unknown;
5546
+ identity: string;
5055
5547
  }, {
5056
5548
  readonly mode: 'value';
5057
- readonly value: {
5058
- id: string;
5059
- iss: string;
5060
- sub: string;
5061
- frozen: boolean;
5062
- requiredClaims: ({
5063
- claim: string;
5064
- op: "contains";
5065
- value: unknown;
5066
- } | {
5067
- claim: string;
5068
- op: "eq";
5069
- value: unknown;
5070
- } | {
5071
- claim: string;
5072
- op: "exists";
5073
- })[];
5074
- } | null;
5075
- }, true, false, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
5076
- readonly name: "whois";
5549
+ readonly value: string;
5550
+ }, true, false, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.impersonate"> & {
5551
+ readonly name: "impersonate";
5077
5552
  readonly executable: true;
5078
5553
  }))[];
5079
5554
  export { AuthorityOperationOrder, AuthorityOperations, operationOf } from '../authority/index.js';