@astrale-os/kernel-core 0.9.0-beta.52 → 0.9.0-beta.54

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.
@@ -16,7 +16,2504 @@ export declare const Function: builder.NodeClass<{
16
16
  readonly description: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", "self", never>;
17
17
  };
18
18
  readonly methods: Readonly<Record<never, never>>;
19
- }, builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", unknown, never>, never, never>, never>, never, never>];
19
+ }, builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", unknown, never>, never, never>, never>, never, never>, builder.ClassReferenceProjection<"node", {
20
+ readonly abstract: true;
21
+ readonly depth: 1;
22
+ readonly properties: {
23
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
24
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
25
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
26
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
27
+ claim: string;
28
+ op: "contains";
29
+ value: unknown;
30
+ } | {
31
+ claim: string;
32
+ op: "eq";
33
+ value: unknown;
34
+ } | {
35
+ claim: string;
36
+ op: "exists";
37
+ })[], ({
38
+ claim: string;
39
+ op: "contains";
40
+ value: unknown;
41
+ } | {
42
+ claim: string;
43
+ op: "eq";
44
+ value: unknown;
45
+ } | {
46
+ claim: string;
47
+ op: "exists";
48
+ })[], false, "requiredClaims", "self", never>;
49
+ };
50
+ readonly methods: Readonly<{
51
+ delegate: builder.Method<builder.CallableProjection<{
52
+ principal: string;
53
+ audience: string;
54
+ ttlSeconds: number;
55
+ attenuation: unknown;
56
+ }, {
57
+ readonly mode: 'value';
58
+ readonly value: string;
59
+ }, "authenticated", true, false>>;
60
+ can: builder.Method<builder.CallableProjection<{
61
+ policy: string;
62
+ object: string;
63
+ } | {
64
+ checks: {
65
+ policy: string;
66
+ object: string;
67
+ }[];
68
+ }, {
69
+ readonly mode: 'value';
70
+ readonly value: {
71
+ allowed: boolean;
72
+ } | {
73
+ decisions: {
74
+ allowed: boolean;
75
+ }[];
76
+ };
77
+ }, "authenticated", true, false>>;
78
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
79
+ readonly mode: 'value';
80
+ readonly value: {
81
+ id: string;
82
+ iss: string;
83
+ sub: string;
84
+ frozen: boolean;
85
+ requiredClaims: ({
86
+ claim: string;
87
+ op: "contains";
88
+ value: unknown;
89
+ } | {
90
+ claim: string;
91
+ op: "eq";
92
+ value: unknown;
93
+ } | {
94
+ claim: string;
95
+ op: "exists";
96
+ })[];
97
+ };
98
+ }, "authenticated", true, false>>;
99
+ whois: builder.Method<builder.CallableProjection<{
100
+ iss: string;
101
+ sub: string;
102
+ }, {
103
+ readonly mode: 'value';
104
+ readonly value: {
105
+ id: string;
106
+ iss: string;
107
+ sub: string;
108
+ frozen: boolean;
109
+ requiredClaims: ({
110
+ claim: string;
111
+ op: "contains";
112
+ value: unknown;
113
+ } | {
114
+ claim: string;
115
+ op: "eq";
116
+ value: unknown;
117
+ } | {
118
+ claim: string;
119
+ op: "exists";
120
+ })[];
121
+ } | null;
122
+ }, "authorized", true, false>>;
123
+ mint: builder.Method<builder.CallableProjection<{
124
+ audience?: string | undefined;
125
+ ttlSeconds: number;
126
+ grant?: unknown;
127
+ }, {
128
+ readonly mode: 'value';
129
+ readonly value: string;
130
+ }, "authenticated", true, false>>;
131
+ impersonate: builder.Method<builder.CallableProjection<{
132
+ audience?: string | undefined;
133
+ ttlSeconds: number;
134
+ grant?: unknown;
135
+ identity: string;
136
+ }, {
137
+ readonly mode: 'value';
138
+ readonly value: string;
139
+ }, "authorized", true, false>>;
140
+ }>;
141
+ }, builder.AuthoredPropertyProjection<({
142
+ claim: string;
143
+ op: "contains";
144
+ value: unknown;
145
+ } | {
146
+ claim: string;
147
+ op: "eq";
148
+ value: unknown;
149
+ } | {
150
+ claim: string;
151
+ op: "exists";
152
+ })[], ({
153
+ claim: string;
154
+ op: "contains";
155
+ value: unknown;
156
+ } | {
157
+ claim: string;
158
+ op: "eq";
159
+ value: unknown;
160
+ } | {
161
+ claim: string;
162
+ op: "exists";
163
+ })[], false, "requiredClaims", builder.ClassOwnerProjection<"node", {
164
+ readonly abstract: true;
165
+ readonly depth: 1;
166
+ readonly properties: {
167
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
168
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
169
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
170
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
171
+ claim: string;
172
+ op: "contains";
173
+ value: unknown;
174
+ } | {
175
+ claim: string;
176
+ op: "eq";
177
+ value: unknown;
178
+ } | {
179
+ claim: string;
180
+ op: "exists";
181
+ })[], ({
182
+ claim: string;
183
+ op: "contains";
184
+ value: unknown;
185
+ } | {
186
+ claim: string;
187
+ op: "eq";
188
+ value: unknown;
189
+ } | {
190
+ claim: string;
191
+ op: "exists";
192
+ })[], false, "requiredClaims", "self", never>;
193
+ };
194
+ readonly methods: Readonly<{
195
+ delegate: builder.Method<builder.CallableProjection<{
196
+ principal: string;
197
+ audience: string;
198
+ ttlSeconds: number;
199
+ attenuation: unknown;
200
+ }, {
201
+ readonly mode: 'value';
202
+ readonly value: string;
203
+ }, "authenticated", true, false>>;
204
+ can: builder.Method<builder.CallableProjection<{
205
+ policy: string;
206
+ object: string;
207
+ } | {
208
+ checks: {
209
+ policy: string;
210
+ object: string;
211
+ }[];
212
+ }, {
213
+ readonly mode: 'value';
214
+ readonly value: {
215
+ allowed: boolean;
216
+ } | {
217
+ decisions: {
218
+ allowed: boolean;
219
+ }[];
220
+ };
221
+ }, "authenticated", true, false>>;
222
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
223
+ readonly mode: 'value';
224
+ readonly value: {
225
+ id: string;
226
+ iss: string;
227
+ sub: string;
228
+ frozen: boolean;
229
+ requiredClaims: ({
230
+ claim: string;
231
+ op: "contains";
232
+ value: unknown;
233
+ } | {
234
+ claim: string;
235
+ op: "eq";
236
+ value: unknown;
237
+ } | {
238
+ claim: string;
239
+ op: "exists";
240
+ })[];
241
+ };
242
+ }, "authenticated", true, false>>;
243
+ whois: builder.Method<builder.CallableProjection<{
244
+ iss: string;
245
+ sub: string;
246
+ }, {
247
+ readonly mode: 'value';
248
+ readonly value: {
249
+ id: string;
250
+ iss: string;
251
+ sub: string;
252
+ frozen: boolean;
253
+ requiredClaims: ({
254
+ claim: string;
255
+ op: "contains";
256
+ value: unknown;
257
+ } | {
258
+ claim: string;
259
+ op: "eq";
260
+ value: unknown;
261
+ } | {
262
+ claim: string;
263
+ op: "exists";
264
+ })[];
265
+ } | null;
266
+ }, "authorized", true, false>>;
267
+ mint: builder.Method<builder.CallableProjection<{
268
+ audience?: string | undefined;
269
+ ttlSeconds: number;
270
+ grant?: unknown;
271
+ }, {
272
+ readonly mode: 'value';
273
+ readonly value: string;
274
+ }, "authenticated", true, false>>;
275
+ impersonate: builder.Method<builder.CallableProjection<{
276
+ audience?: string | undefined;
277
+ ttlSeconds: number;
278
+ grant?: unknown;
279
+ identity: string;
280
+ }, {
281
+ readonly mode: 'value';
282
+ readonly value: string;
283
+ }, "authorized", true, false>>;
284
+ }>;
285
+ }, builder.AuthoredPropertyProjection<({
286
+ claim: string;
287
+ op: "contains";
288
+ value: unknown;
289
+ } | {
290
+ claim: string;
291
+ op: "eq";
292
+ value: unknown;
293
+ } | {
294
+ claim: string;
295
+ op: "exists";
296
+ })[], ({
297
+ claim: string;
298
+ op: "contains";
299
+ value: unknown;
300
+ } | {
301
+ claim: string;
302
+ op: "eq";
303
+ value: unknown;
304
+ } | {
305
+ claim: string;
306
+ op: "exists";
307
+ })[], 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>, {
308
+ readonly mode: 'value';
309
+ readonly value: {
310
+ id: string;
311
+ iss: string;
312
+ sub: string;
313
+ frozen: boolean;
314
+ requiredClaims: ({
315
+ claim: string;
316
+ op: "contains";
317
+ value: unknown;
318
+ } | {
319
+ claim: string;
320
+ op: "eq";
321
+ value: unknown;
322
+ } | {
323
+ claim: string;
324
+ op: "exists";
325
+ })[];
326
+ };
327
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
328
+ principal: string;
329
+ audience: string;
330
+ ttlSeconds: number;
331
+ attenuation: unknown;
332
+ }, {
333
+ readonly mode: 'value';
334
+ readonly value: string;
335
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
336
+ iss: string;
337
+ sub: string;
338
+ }, {
339
+ readonly mode: 'value';
340
+ readonly value: {
341
+ id: string;
342
+ iss: string;
343
+ sub: string;
344
+ frozen: boolean;
345
+ requiredClaims: ({
346
+ claim: string;
347
+ op: "contains";
348
+ value: unknown;
349
+ } | {
350
+ claim: string;
351
+ op: "eq";
352
+ value: unknown;
353
+ } | {
354
+ claim: string;
355
+ op: "exists";
356
+ })[];
357
+ } | null;
358
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
359
+ audience?: string | undefined;
360
+ ttlSeconds: number;
361
+ grant?: unknown;
362
+ }, {
363
+ readonly mode: 'value';
364
+ readonly value: string;
365
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
366
+ audience?: string | undefined;
367
+ ttlSeconds: number;
368
+ grant?: unknown;
369
+ identity: string;
370
+ }, {
371
+ readonly mode: 'value';
372
+ readonly value: string;
373
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
374
+ policy: string;
375
+ object: string;
376
+ } | {
377
+ checks: {
378
+ policy: string;
379
+ object: string;
380
+ }[];
381
+ }, {
382
+ readonly mode: 'value';
383
+ readonly value: {
384
+ allowed: boolean;
385
+ } | {
386
+ decisions: {
387
+ allowed: boolean;
388
+ }[];
389
+ };
390
+ }, "authenticated", true, false>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", builder.ClassOwnerProjection<"node", {
391
+ readonly abstract: true;
392
+ readonly depth: 1;
393
+ readonly properties: {
394
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
395
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
396
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
397
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
398
+ claim: string;
399
+ op: "contains";
400
+ value: unknown;
401
+ } | {
402
+ claim: string;
403
+ op: "eq";
404
+ value: unknown;
405
+ } | {
406
+ claim: string;
407
+ op: "exists";
408
+ })[], ({
409
+ claim: string;
410
+ op: "contains";
411
+ value: unknown;
412
+ } | {
413
+ claim: string;
414
+ op: "eq";
415
+ value: unknown;
416
+ } | {
417
+ claim: string;
418
+ op: "exists";
419
+ })[], false, "requiredClaims", "self", never>;
420
+ };
421
+ readonly methods: Readonly<{
422
+ delegate: builder.Method<builder.CallableProjection<{
423
+ principal: string;
424
+ audience: string;
425
+ ttlSeconds: number;
426
+ attenuation: unknown;
427
+ }, {
428
+ readonly mode: 'value';
429
+ readonly value: string;
430
+ }, "authenticated", true, false>>;
431
+ can: builder.Method<builder.CallableProjection<{
432
+ policy: string;
433
+ object: string;
434
+ } | {
435
+ checks: {
436
+ policy: string;
437
+ object: string;
438
+ }[];
439
+ }, {
440
+ readonly mode: 'value';
441
+ readonly value: {
442
+ allowed: boolean;
443
+ } | {
444
+ decisions: {
445
+ allowed: boolean;
446
+ }[];
447
+ };
448
+ }, "authenticated", true, false>>;
449
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
450
+ readonly mode: 'value';
451
+ readonly value: {
452
+ id: string;
453
+ iss: string;
454
+ sub: string;
455
+ frozen: boolean;
456
+ requiredClaims: ({
457
+ claim: string;
458
+ op: "contains";
459
+ value: unknown;
460
+ } | {
461
+ claim: string;
462
+ op: "eq";
463
+ value: unknown;
464
+ } | {
465
+ claim: string;
466
+ op: "exists";
467
+ })[];
468
+ };
469
+ }, "authenticated", true, false>>;
470
+ whois: builder.Method<builder.CallableProjection<{
471
+ iss: string;
472
+ sub: string;
473
+ }, {
474
+ readonly mode: 'value';
475
+ readonly value: {
476
+ id: string;
477
+ iss: string;
478
+ sub: string;
479
+ frozen: boolean;
480
+ requiredClaims: ({
481
+ claim: string;
482
+ op: "contains";
483
+ value: unknown;
484
+ } | {
485
+ claim: string;
486
+ op: "eq";
487
+ value: unknown;
488
+ } | {
489
+ claim: string;
490
+ op: "exists";
491
+ })[];
492
+ } | null;
493
+ }, "authorized", true, false>>;
494
+ mint: builder.Method<builder.CallableProjection<{
495
+ audience?: string | undefined;
496
+ ttlSeconds: number;
497
+ grant?: unknown;
498
+ }, {
499
+ readonly mode: 'value';
500
+ readonly value: string;
501
+ }, "authenticated", true, false>>;
502
+ impersonate: builder.Method<builder.CallableProjection<{
503
+ audience?: string | undefined;
504
+ ttlSeconds: number;
505
+ grant?: unknown;
506
+ identity: string;
507
+ }, {
508
+ readonly mode: 'value';
509
+ readonly value: string;
510
+ }, "authorized", true, false>>;
511
+ }>;
512
+ }, builder.AuthoredPropertyProjection<({
513
+ claim: string;
514
+ op: "contains";
515
+ value: unknown;
516
+ } | {
517
+ claim: string;
518
+ op: "eq";
519
+ value: unknown;
520
+ } | {
521
+ claim: string;
522
+ op: "exists";
523
+ })[], ({
524
+ claim: string;
525
+ op: "contains";
526
+ value: unknown;
527
+ } | {
528
+ claim: string;
529
+ op: "eq";
530
+ value: unknown;
531
+ } | {
532
+ claim: string;
533
+ op: "exists";
534
+ })[], 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>, {
535
+ readonly mode: 'value';
536
+ readonly value: {
537
+ id: string;
538
+ iss: string;
539
+ sub: string;
540
+ frozen: boolean;
541
+ requiredClaims: ({
542
+ claim: string;
543
+ op: "contains";
544
+ value: unknown;
545
+ } | {
546
+ claim: string;
547
+ op: "eq";
548
+ value: unknown;
549
+ } | {
550
+ claim: string;
551
+ op: "exists";
552
+ })[];
553
+ };
554
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
555
+ principal: string;
556
+ audience: string;
557
+ ttlSeconds: number;
558
+ attenuation: unknown;
559
+ }, {
560
+ readonly mode: 'value';
561
+ readonly value: string;
562
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
563
+ iss: string;
564
+ sub: string;
565
+ }, {
566
+ readonly mode: 'value';
567
+ readonly value: {
568
+ id: string;
569
+ iss: string;
570
+ sub: string;
571
+ frozen: boolean;
572
+ requiredClaims: ({
573
+ claim: string;
574
+ op: "contains";
575
+ value: unknown;
576
+ } | {
577
+ claim: string;
578
+ op: "eq";
579
+ value: unknown;
580
+ } | {
581
+ claim: string;
582
+ op: "exists";
583
+ })[];
584
+ } | null;
585
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
586
+ audience?: string | undefined;
587
+ ttlSeconds: number;
588
+ grant?: unknown;
589
+ }, {
590
+ readonly mode: 'value';
591
+ readonly value: string;
592
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
593
+ audience?: string | undefined;
594
+ ttlSeconds: number;
595
+ grant?: unknown;
596
+ identity: string;
597
+ }, {
598
+ readonly mode: 'value';
599
+ readonly value: string;
600
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
601
+ policy: string;
602
+ object: string;
603
+ } | {
604
+ checks: {
605
+ policy: string;
606
+ object: string;
607
+ }[];
608
+ }, {
609
+ readonly mode: 'value';
610
+ readonly value: {
611
+ allowed: boolean;
612
+ } | {
613
+ decisions: {
614
+ allowed: boolean;
615
+ }[];
616
+ };
617
+ }, "authenticated", true, false>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", builder.ClassOwnerProjection<"node", {
618
+ readonly abstract: true;
619
+ readonly depth: 1;
620
+ readonly properties: {
621
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
622
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
623
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
624
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
625
+ claim: string;
626
+ op: "contains";
627
+ value: unknown;
628
+ } | {
629
+ claim: string;
630
+ op: "eq";
631
+ value: unknown;
632
+ } | {
633
+ claim: string;
634
+ op: "exists";
635
+ })[], ({
636
+ claim: string;
637
+ op: "contains";
638
+ value: unknown;
639
+ } | {
640
+ claim: string;
641
+ op: "eq";
642
+ value: unknown;
643
+ } | {
644
+ claim: string;
645
+ op: "exists";
646
+ })[], false, "requiredClaims", "self", never>;
647
+ };
648
+ readonly methods: Readonly<{
649
+ delegate: builder.Method<builder.CallableProjection<{
650
+ principal: string;
651
+ audience: string;
652
+ ttlSeconds: number;
653
+ attenuation: unknown;
654
+ }, {
655
+ readonly mode: 'value';
656
+ readonly value: string;
657
+ }, "authenticated", true, false>>;
658
+ can: builder.Method<builder.CallableProjection<{
659
+ policy: string;
660
+ object: string;
661
+ } | {
662
+ checks: {
663
+ policy: string;
664
+ object: string;
665
+ }[];
666
+ }, {
667
+ readonly mode: 'value';
668
+ readonly value: {
669
+ allowed: boolean;
670
+ } | {
671
+ decisions: {
672
+ allowed: boolean;
673
+ }[];
674
+ };
675
+ }, "authenticated", true, false>>;
676
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
677
+ readonly mode: 'value';
678
+ readonly value: {
679
+ id: string;
680
+ iss: string;
681
+ sub: string;
682
+ frozen: boolean;
683
+ requiredClaims: ({
684
+ claim: string;
685
+ op: "contains";
686
+ value: unknown;
687
+ } | {
688
+ claim: string;
689
+ op: "eq";
690
+ value: unknown;
691
+ } | {
692
+ claim: string;
693
+ op: "exists";
694
+ })[];
695
+ };
696
+ }, "authenticated", true, false>>;
697
+ whois: builder.Method<builder.CallableProjection<{
698
+ iss: string;
699
+ sub: string;
700
+ }, {
701
+ readonly mode: 'value';
702
+ readonly value: {
703
+ id: string;
704
+ iss: string;
705
+ sub: string;
706
+ frozen: boolean;
707
+ requiredClaims: ({
708
+ claim: string;
709
+ op: "contains";
710
+ value: unknown;
711
+ } | {
712
+ claim: string;
713
+ op: "eq";
714
+ value: unknown;
715
+ } | {
716
+ claim: string;
717
+ op: "exists";
718
+ })[];
719
+ } | null;
720
+ }, "authorized", true, false>>;
721
+ mint: builder.Method<builder.CallableProjection<{
722
+ audience?: string | undefined;
723
+ ttlSeconds: number;
724
+ grant?: unknown;
725
+ }, {
726
+ readonly mode: 'value';
727
+ readonly value: string;
728
+ }, "authenticated", true, false>>;
729
+ impersonate: builder.Method<builder.CallableProjection<{
730
+ audience?: string | undefined;
731
+ ttlSeconds: number;
732
+ grant?: unknown;
733
+ identity: string;
734
+ }, {
735
+ readonly mode: 'value';
736
+ readonly value: string;
737
+ }, "authorized", true, false>>;
738
+ }>;
739
+ }, builder.AuthoredPropertyProjection<({
740
+ claim: string;
741
+ op: "contains";
742
+ value: unknown;
743
+ } | {
744
+ claim: string;
745
+ op: "eq";
746
+ value: unknown;
747
+ } | {
748
+ claim: string;
749
+ op: "exists";
750
+ })[], ({
751
+ claim: string;
752
+ op: "contains";
753
+ value: unknown;
754
+ } | {
755
+ claim: string;
756
+ op: "eq";
757
+ value: unknown;
758
+ } | {
759
+ claim: string;
760
+ op: "exists";
761
+ })[], 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>, {
762
+ readonly mode: 'value';
763
+ readonly value: {
764
+ id: string;
765
+ iss: string;
766
+ sub: string;
767
+ frozen: boolean;
768
+ requiredClaims: ({
769
+ claim: string;
770
+ op: "contains";
771
+ value: unknown;
772
+ } | {
773
+ claim: string;
774
+ op: "eq";
775
+ value: unknown;
776
+ } | {
777
+ claim: string;
778
+ op: "exists";
779
+ })[];
780
+ };
781
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
782
+ principal: string;
783
+ audience: string;
784
+ ttlSeconds: number;
785
+ attenuation: unknown;
786
+ }, {
787
+ readonly mode: 'value';
788
+ readonly value: string;
789
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
790
+ iss: string;
791
+ sub: string;
792
+ }, {
793
+ readonly mode: 'value';
794
+ readonly value: {
795
+ id: string;
796
+ iss: string;
797
+ sub: string;
798
+ frozen: boolean;
799
+ requiredClaims: ({
800
+ claim: string;
801
+ op: "contains";
802
+ value: unknown;
803
+ } | {
804
+ claim: string;
805
+ op: "eq";
806
+ value: unknown;
807
+ } | {
808
+ claim: string;
809
+ op: "exists";
810
+ })[];
811
+ } | null;
812
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
813
+ audience?: string | undefined;
814
+ ttlSeconds: number;
815
+ grant?: unknown;
816
+ }, {
817
+ readonly mode: 'value';
818
+ readonly value: string;
819
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
820
+ audience?: string | undefined;
821
+ ttlSeconds: number;
822
+ grant?: unknown;
823
+ identity: string;
824
+ }, {
825
+ readonly mode: 'value';
826
+ readonly value: string;
827
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
828
+ policy: string;
829
+ object: string;
830
+ } | {
831
+ checks: {
832
+ policy: string;
833
+ object: string;
834
+ }[];
835
+ }, {
836
+ readonly mode: 'value';
837
+ readonly value: {
838
+ allowed: boolean;
839
+ } | {
840
+ decisions: {
841
+ allowed: boolean;
842
+ }[];
843
+ };
844
+ }, "authenticated", true, false>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
845
+ readonly abstract: true;
846
+ readonly depth: 1;
847
+ readonly properties: {
848
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
849
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
850
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
851
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
852
+ claim: string;
853
+ op: "contains";
854
+ value: unknown;
855
+ } | {
856
+ claim: string;
857
+ op: "eq";
858
+ value: unknown;
859
+ } | {
860
+ claim: string;
861
+ op: "exists";
862
+ })[], ({
863
+ claim: string;
864
+ op: "contains";
865
+ value: unknown;
866
+ } | {
867
+ claim: string;
868
+ op: "eq";
869
+ value: unknown;
870
+ } | {
871
+ claim: string;
872
+ op: "exists";
873
+ })[], false, "requiredClaims", "self", never>;
874
+ };
875
+ readonly methods: Readonly<{
876
+ delegate: builder.Method<builder.CallableProjection<{
877
+ principal: string;
878
+ audience: string;
879
+ ttlSeconds: number;
880
+ attenuation: unknown;
881
+ }, {
882
+ readonly mode: 'value';
883
+ readonly value: string;
884
+ }, "authenticated", true, false>>;
885
+ can: builder.Method<builder.CallableProjection<{
886
+ policy: string;
887
+ object: string;
888
+ } | {
889
+ checks: {
890
+ policy: string;
891
+ object: string;
892
+ }[];
893
+ }, {
894
+ readonly mode: 'value';
895
+ readonly value: {
896
+ allowed: boolean;
897
+ } | {
898
+ decisions: {
899
+ allowed: boolean;
900
+ }[];
901
+ };
902
+ }, "authenticated", true, false>>;
903
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
904
+ readonly mode: 'value';
905
+ readonly value: {
906
+ id: string;
907
+ iss: string;
908
+ sub: string;
909
+ frozen: boolean;
910
+ requiredClaims: ({
911
+ claim: string;
912
+ op: "contains";
913
+ value: unknown;
914
+ } | {
915
+ claim: string;
916
+ op: "eq";
917
+ value: unknown;
918
+ } | {
919
+ claim: string;
920
+ op: "exists";
921
+ })[];
922
+ };
923
+ }, "authenticated", true, false>>;
924
+ whois: builder.Method<builder.CallableProjection<{
925
+ iss: string;
926
+ sub: string;
927
+ }, {
928
+ readonly mode: 'value';
929
+ readonly value: {
930
+ id: string;
931
+ iss: string;
932
+ sub: string;
933
+ frozen: boolean;
934
+ requiredClaims: ({
935
+ claim: string;
936
+ op: "contains";
937
+ value: unknown;
938
+ } | {
939
+ claim: string;
940
+ op: "eq";
941
+ value: unknown;
942
+ } | {
943
+ claim: string;
944
+ op: "exists";
945
+ })[];
946
+ } | null;
947
+ }, "authorized", true, false>>;
948
+ mint: builder.Method<builder.CallableProjection<{
949
+ audience?: string | undefined;
950
+ ttlSeconds: number;
951
+ grant?: unknown;
952
+ }, {
953
+ readonly mode: 'value';
954
+ readonly value: string;
955
+ }, "authenticated", true, false>>;
956
+ impersonate: builder.Method<builder.CallableProjection<{
957
+ audience?: string | undefined;
958
+ ttlSeconds: number;
959
+ grant?: unknown;
960
+ identity: string;
961
+ }, {
962
+ readonly mode: 'value';
963
+ readonly value: string;
964
+ }, "authorized", true, false>>;
965
+ }>;
966
+ }, builder.AuthoredPropertyProjection<({
967
+ claim: string;
968
+ op: "contains";
969
+ value: unknown;
970
+ } | {
971
+ claim: string;
972
+ op: "eq";
973
+ value: unknown;
974
+ } | {
975
+ claim: string;
976
+ op: "exists";
977
+ })[], ({
978
+ claim: string;
979
+ op: "contains";
980
+ value: unknown;
981
+ } | {
982
+ claim: string;
983
+ op: "eq";
984
+ value: unknown;
985
+ } | {
986
+ claim: string;
987
+ op: "exists";
988
+ })[], 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>, {
989
+ readonly mode: 'value';
990
+ readonly value: {
991
+ id: string;
992
+ iss: string;
993
+ sub: string;
994
+ frozen: boolean;
995
+ requiredClaims: ({
996
+ claim: string;
997
+ op: "contains";
998
+ value: unknown;
999
+ } | {
1000
+ claim: string;
1001
+ op: "eq";
1002
+ value: unknown;
1003
+ } | {
1004
+ claim: string;
1005
+ op: "exists";
1006
+ })[];
1007
+ };
1008
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1009
+ principal: string;
1010
+ audience: string;
1011
+ ttlSeconds: number;
1012
+ attenuation: unknown;
1013
+ }, {
1014
+ readonly mode: 'value';
1015
+ readonly value: string;
1016
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1017
+ iss: string;
1018
+ sub: string;
1019
+ }, {
1020
+ readonly mode: 'value';
1021
+ readonly value: {
1022
+ id: string;
1023
+ iss: string;
1024
+ sub: string;
1025
+ frozen: boolean;
1026
+ requiredClaims: ({
1027
+ claim: string;
1028
+ op: "contains";
1029
+ value: unknown;
1030
+ } | {
1031
+ claim: string;
1032
+ op: "eq";
1033
+ value: unknown;
1034
+ } | {
1035
+ claim: string;
1036
+ op: "exists";
1037
+ })[];
1038
+ } | null;
1039
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1040
+ audience?: string | undefined;
1041
+ ttlSeconds: number;
1042
+ grant?: unknown;
1043
+ }, {
1044
+ readonly mode: 'value';
1045
+ readonly value: string;
1046
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1047
+ audience?: string | undefined;
1048
+ ttlSeconds: number;
1049
+ grant?: unknown;
1050
+ identity: string;
1051
+ }, {
1052
+ readonly mode: 'value';
1053
+ readonly value: string;
1054
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1055
+ policy: string;
1056
+ object: string;
1057
+ } | {
1058
+ checks: {
1059
+ policy: string;
1060
+ object: string;
1061
+ }[];
1062
+ }, {
1063
+ readonly mode: 'value';
1064
+ readonly value: {
1065
+ allowed: boolean;
1066
+ } | {
1067
+ decisions: {
1068
+ allowed: boolean;
1069
+ }[];
1070
+ };
1071
+ }, "authenticated", true, false>>, "can", unknown>>, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
1072
+ readonly mode: 'value';
1073
+ readonly value: {
1074
+ id: string;
1075
+ iss: string;
1076
+ sub: string;
1077
+ frozen: boolean;
1078
+ requiredClaims: ({
1079
+ claim: string;
1080
+ op: "contains";
1081
+ value: unknown;
1082
+ } | {
1083
+ claim: string;
1084
+ op: "eq";
1085
+ value: unknown;
1086
+ } | {
1087
+ claim: string;
1088
+ op: "exists";
1089
+ })[];
1090
+ };
1091
+ }, "authenticated", true, false>>, "whoami", builder.ClassOwnerProjection<"node", {
1092
+ readonly abstract: true;
1093
+ readonly depth: 1;
1094
+ readonly properties: {
1095
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
1096
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
1097
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
1098
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
1099
+ claim: string;
1100
+ op: "contains";
1101
+ value: unknown;
1102
+ } | {
1103
+ claim: string;
1104
+ op: "eq";
1105
+ value: unknown;
1106
+ } | {
1107
+ claim: string;
1108
+ op: "exists";
1109
+ })[], ({
1110
+ claim: string;
1111
+ op: "contains";
1112
+ value: unknown;
1113
+ } | {
1114
+ claim: string;
1115
+ op: "eq";
1116
+ value: unknown;
1117
+ } | {
1118
+ claim: string;
1119
+ op: "exists";
1120
+ })[], false, "requiredClaims", "self", never>;
1121
+ };
1122
+ readonly methods: Readonly<{
1123
+ delegate: builder.Method<builder.CallableProjection<{
1124
+ principal: string;
1125
+ audience: string;
1126
+ ttlSeconds: number;
1127
+ attenuation: unknown;
1128
+ }, {
1129
+ readonly mode: 'value';
1130
+ readonly value: string;
1131
+ }, "authenticated", true, false>>;
1132
+ can: builder.Method<builder.CallableProjection<{
1133
+ policy: string;
1134
+ object: string;
1135
+ } | {
1136
+ checks: {
1137
+ policy: string;
1138
+ object: string;
1139
+ }[];
1140
+ }, {
1141
+ readonly mode: 'value';
1142
+ readonly value: {
1143
+ allowed: boolean;
1144
+ } | {
1145
+ decisions: {
1146
+ allowed: boolean;
1147
+ }[];
1148
+ };
1149
+ }, "authenticated", true, false>>;
1150
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
1151
+ readonly mode: 'value';
1152
+ readonly value: {
1153
+ id: string;
1154
+ iss: string;
1155
+ sub: string;
1156
+ frozen: boolean;
1157
+ requiredClaims: ({
1158
+ claim: string;
1159
+ op: "contains";
1160
+ value: unknown;
1161
+ } | {
1162
+ claim: string;
1163
+ op: "eq";
1164
+ value: unknown;
1165
+ } | {
1166
+ claim: string;
1167
+ op: "exists";
1168
+ })[];
1169
+ };
1170
+ }, "authenticated", true, false>>;
1171
+ whois: builder.Method<builder.CallableProjection<{
1172
+ iss: string;
1173
+ sub: string;
1174
+ }, {
1175
+ readonly mode: 'value';
1176
+ readonly value: {
1177
+ id: string;
1178
+ iss: string;
1179
+ sub: string;
1180
+ frozen: boolean;
1181
+ requiredClaims: ({
1182
+ claim: string;
1183
+ op: "contains";
1184
+ value: unknown;
1185
+ } | {
1186
+ claim: string;
1187
+ op: "eq";
1188
+ value: unknown;
1189
+ } | {
1190
+ claim: string;
1191
+ op: "exists";
1192
+ })[];
1193
+ } | null;
1194
+ }, "authorized", true, false>>;
1195
+ mint: builder.Method<builder.CallableProjection<{
1196
+ audience?: string | undefined;
1197
+ ttlSeconds: number;
1198
+ grant?: unknown;
1199
+ }, {
1200
+ readonly mode: 'value';
1201
+ readonly value: string;
1202
+ }, "authenticated", true, false>>;
1203
+ impersonate: builder.Method<builder.CallableProjection<{
1204
+ audience?: string | undefined;
1205
+ ttlSeconds: number;
1206
+ grant?: unknown;
1207
+ identity: string;
1208
+ }, {
1209
+ readonly mode: 'value';
1210
+ readonly value: string;
1211
+ }, "authorized", true, false>>;
1212
+ }>;
1213
+ }, builder.AuthoredPropertyProjection<({
1214
+ claim: string;
1215
+ op: "contains";
1216
+ value: unknown;
1217
+ } | {
1218
+ claim: string;
1219
+ op: "eq";
1220
+ value: unknown;
1221
+ } | {
1222
+ claim: string;
1223
+ op: "exists";
1224
+ })[], ({
1225
+ claim: string;
1226
+ op: "contains";
1227
+ value: unknown;
1228
+ } | {
1229
+ claim: string;
1230
+ op: "eq";
1231
+ value: unknown;
1232
+ } | {
1233
+ claim: string;
1234
+ op: "exists";
1235
+ })[], 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>, {
1236
+ readonly mode: 'value';
1237
+ readonly value: {
1238
+ id: string;
1239
+ iss: string;
1240
+ sub: string;
1241
+ frozen: boolean;
1242
+ requiredClaims: ({
1243
+ claim: string;
1244
+ op: "contains";
1245
+ value: unknown;
1246
+ } | {
1247
+ claim: string;
1248
+ op: "eq";
1249
+ value: unknown;
1250
+ } | {
1251
+ claim: string;
1252
+ op: "exists";
1253
+ })[];
1254
+ };
1255
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1256
+ principal: string;
1257
+ audience: string;
1258
+ ttlSeconds: number;
1259
+ attenuation: unknown;
1260
+ }, {
1261
+ readonly mode: 'value';
1262
+ readonly value: string;
1263
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1264
+ iss: string;
1265
+ sub: string;
1266
+ }, {
1267
+ readonly mode: 'value';
1268
+ readonly value: {
1269
+ id: string;
1270
+ iss: string;
1271
+ sub: string;
1272
+ frozen: boolean;
1273
+ requiredClaims: ({
1274
+ claim: string;
1275
+ op: "contains";
1276
+ value: unknown;
1277
+ } | {
1278
+ claim: string;
1279
+ op: "eq";
1280
+ value: unknown;
1281
+ } | {
1282
+ claim: string;
1283
+ op: "exists";
1284
+ })[];
1285
+ } | null;
1286
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1287
+ audience?: string | undefined;
1288
+ ttlSeconds: number;
1289
+ grant?: unknown;
1290
+ }, {
1291
+ readonly mode: 'value';
1292
+ readonly value: string;
1293
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1294
+ audience?: string | undefined;
1295
+ ttlSeconds: number;
1296
+ grant?: unknown;
1297
+ identity: string;
1298
+ }, {
1299
+ readonly mode: 'value';
1300
+ readonly value: string;
1301
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1302
+ policy: string;
1303
+ object: string;
1304
+ } | {
1305
+ checks: {
1306
+ policy: string;
1307
+ object: string;
1308
+ }[];
1309
+ }, {
1310
+ readonly mode: 'value';
1311
+ readonly value: {
1312
+ allowed: boolean;
1313
+ } | {
1314
+ decisions: {
1315
+ allowed: boolean;
1316
+ }[];
1317
+ };
1318
+ }, "authenticated", true, false>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1319
+ principal: string;
1320
+ audience: string;
1321
+ ttlSeconds: number;
1322
+ attenuation: unknown;
1323
+ }, {
1324
+ readonly mode: 'value';
1325
+ readonly value: string;
1326
+ }, "authenticated", true, false>>, "delegate", builder.ClassOwnerProjection<"node", {
1327
+ readonly abstract: true;
1328
+ readonly depth: 1;
1329
+ readonly properties: {
1330
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
1331
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
1332
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
1333
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
1334
+ claim: string;
1335
+ op: "contains";
1336
+ value: unknown;
1337
+ } | {
1338
+ claim: string;
1339
+ op: "eq";
1340
+ value: unknown;
1341
+ } | {
1342
+ claim: string;
1343
+ op: "exists";
1344
+ })[], ({
1345
+ claim: string;
1346
+ op: "contains";
1347
+ value: unknown;
1348
+ } | {
1349
+ claim: string;
1350
+ op: "eq";
1351
+ value: unknown;
1352
+ } | {
1353
+ claim: string;
1354
+ op: "exists";
1355
+ })[], false, "requiredClaims", "self", never>;
1356
+ };
1357
+ readonly methods: Readonly<{
1358
+ delegate: builder.Method<builder.CallableProjection<{
1359
+ principal: string;
1360
+ audience: string;
1361
+ ttlSeconds: number;
1362
+ attenuation: unknown;
1363
+ }, {
1364
+ readonly mode: 'value';
1365
+ readonly value: string;
1366
+ }, "authenticated", true, false>>;
1367
+ can: builder.Method<builder.CallableProjection<{
1368
+ policy: string;
1369
+ object: string;
1370
+ } | {
1371
+ checks: {
1372
+ policy: string;
1373
+ object: string;
1374
+ }[];
1375
+ }, {
1376
+ readonly mode: 'value';
1377
+ readonly value: {
1378
+ allowed: boolean;
1379
+ } | {
1380
+ decisions: {
1381
+ allowed: boolean;
1382
+ }[];
1383
+ };
1384
+ }, "authenticated", true, false>>;
1385
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
1386
+ readonly mode: 'value';
1387
+ readonly value: {
1388
+ id: string;
1389
+ iss: string;
1390
+ sub: string;
1391
+ frozen: boolean;
1392
+ requiredClaims: ({
1393
+ claim: string;
1394
+ op: "contains";
1395
+ value: unknown;
1396
+ } | {
1397
+ claim: string;
1398
+ op: "eq";
1399
+ value: unknown;
1400
+ } | {
1401
+ claim: string;
1402
+ op: "exists";
1403
+ })[];
1404
+ };
1405
+ }, "authenticated", true, false>>;
1406
+ whois: builder.Method<builder.CallableProjection<{
1407
+ iss: string;
1408
+ sub: string;
1409
+ }, {
1410
+ readonly mode: 'value';
1411
+ readonly value: {
1412
+ id: string;
1413
+ iss: string;
1414
+ sub: string;
1415
+ frozen: boolean;
1416
+ requiredClaims: ({
1417
+ claim: string;
1418
+ op: "contains";
1419
+ value: unknown;
1420
+ } | {
1421
+ claim: string;
1422
+ op: "eq";
1423
+ value: unknown;
1424
+ } | {
1425
+ claim: string;
1426
+ op: "exists";
1427
+ })[];
1428
+ } | null;
1429
+ }, "authorized", true, false>>;
1430
+ mint: builder.Method<builder.CallableProjection<{
1431
+ audience?: string | undefined;
1432
+ ttlSeconds: number;
1433
+ grant?: unknown;
1434
+ }, {
1435
+ readonly mode: 'value';
1436
+ readonly value: string;
1437
+ }, "authenticated", true, false>>;
1438
+ impersonate: builder.Method<builder.CallableProjection<{
1439
+ audience?: string | undefined;
1440
+ ttlSeconds: number;
1441
+ grant?: unknown;
1442
+ identity: string;
1443
+ }, {
1444
+ readonly mode: 'value';
1445
+ readonly value: string;
1446
+ }, "authorized", true, false>>;
1447
+ }>;
1448
+ }, builder.AuthoredPropertyProjection<({
1449
+ claim: string;
1450
+ op: "contains";
1451
+ value: unknown;
1452
+ } | {
1453
+ claim: string;
1454
+ op: "eq";
1455
+ value: unknown;
1456
+ } | {
1457
+ claim: string;
1458
+ op: "exists";
1459
+ })[], ({
1460
+ claim: string;
1461
+ op: "contains";
1462
+ value: unknown;
1463
+ } | {
1464
+ claim: string;
1465
+ op: "eq";
1466
+ value: unknown;
1467
+ } | {
1468
+ claim: string;
1469
+ op: "exists";
1470
+ })[], 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>, {
1471
+ readonly mode: 'value';
1472
+ readonly value: {
1473
+ id: string;
1474
+ iss: string;
1475
+ sub: string;
1476
+ frozen: boolean;
1477
+ requiredClaims: ({
1478
+ claim: string;
1479
+ op: "contains";
1480
+ value: unknown;
1481
+ } | {
1482
+ claim: string;
1483
+ op: "eq";
1484
+ value: unknown;
1485
+ } | {
1486
+ claim: string;
1487
+ op: "exists";
1488
+ })[];
1489
+ };
1490
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1491
+ principal: string;
1492
+ audience: string;
1493
+ ttlSeconds: number;
1494
+ attenuation: unknown;
1495
+ }, {
1496
+ readonly mode: 'value';
1497
+ readonly value: string;
1498
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1499
+ iss: string;
1500
+ sub: string;
1501
+ }, {
1502
+ readonly mode: 'value';
1503
+ readonly value: {
1504
+ id: string;
1505
+ iss: string;
1506
+ sub: string;
1507
+ frozen: boolean;
1508
+ requiredClaims: ({
1509
+ claim: string;
1510
+ op: "contains";
1511
+ value: unknown;
1512
+ } | {
1513
+ claim: string;
1514
+ op: "eq";
1515
+ value: unknown;
1516
+ } | {
1517
+ claim: string;
1518
+ op: "exists";
1519
+ })[];
1520
+ } | null;
1521
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1522
+ audience?: string | undefined;
1523
+ ttlSeconds: number;
1524
+ grant?: unknown;
1525
+ }, {
1526
+ readonly mode: 'value';
1527
+ readonly value: string;
1528
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1529
+ audience?: string | undefined;
1530
+ ttlSeconds: number;
1531
+ grant?: unknown;
1532
+ identity: string;
1533
+ }, {
1534
+ readonly mode: 'value';
1535
+ readonly value: string;
1536
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1537
+ policy: string;
1538
+ object: string;
1539
+ } | {
1540
+ checks: {
1541
+ policy: string;
1542
+ object: string;
1543
+ }[];
1544
+ }, {
1545
+ readonly mode: 'value';
1546
+ readonly value: {
1547
+ allowed: boolean;
1548
+ } | {
1549
+ decisions: {
1550
+ allowed: boolean;
1551
+ }[];
1552
+ };
1553
+ }, "authenticated", true, false>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1554
+ iss: string;
1555
+ sub: string;
1556
+ }, {
1557
+ readonly mode: 'value';
1558
+ readonly value: {
1559
+ id: string;
1560
+ iss: string;
1561
+ sub: string;
1562
+ frozen: boolean;
1563
+ requiredClaims: ({
1564
+ claim: string;
1565
+ op: "contains";
1566
+ value: unknown;
1567
+ } | {
1568
+ claim: string;
1569
+ op: "eq";
1570
+ value: unknown;
1571
+ } | {
1572
+ claim: string;
1573
+ op: "exists";
1574
+ })[];
1575
+ } | null;
1576
+ }, "authorized", true, false>>, "whois", builder.ClassOwnerProjection<"node", {
1577
+ readonly abstract: true;
1578
+ readonly depth: 1;
1579
+ readonly properties: {
1580
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
1581
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
1582
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
1583
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
1584
+ claim: string;
1585
+ op: "contains";
1586
+ value: unknown;
1587
+ } | {
1588
+ claim: string;
1589
+ op: "eq";
1590
+ value: unknown;
1591
+ } | {
1592
+ claim: string;
1593
+ op: "exists";
1594
+ })[], ({
1595
+ claim: string;
1596
+ op: "contains";
1597
+ value: unknown;
1598
+ } | {
1599
+ claim: string;
1600
+ op: "eq";
1601
+ value: unknown;
1602
+ } | {
1603
+ claim: string;
1604
+ op: "exists";
1605
+ })[], false, "requiredClaims", "self", never>;
1606
+ };
1607
+ readonly methods: Readonly<{
1608
+ delegate: builder.Method<builder.CallableProjection<{
1609
+ principal: string;
1610
+ audience: string;
1611
+ ttlSeconds: number;
1612
+ attenuation: unknown;
1613
+ }, {
1614
+ readonly mode: 'value';
1615
+ readonly value: string;
1616
+ }, "authenticated", true, false>>;
1617
+ can: builder.Method<builder.CallableProjection<{
1618
+ policy: string;
1619
+ object: string;
1620
+ } | {
1621
+ checks: {
1622
+ policy: string;
1623
+ object: string;
1624
+ }[];
1625
+ }, {
1626
+ readonly mode: 'value';
1627
+ readonly value: {
1628
+ allowed: boolean;
1629
+ } | {
1630
+ decisions: {
1631
+ allowed: boolean;
1632
+ }[];
1633
+ };
1634
+ }, "authenticated", true, false>>;
1635
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
1636
+ readonly mode: 'value';
1637
+ readonly value: {
1638
+ id: string;
1639
+ iss: string;
1640
+ sub: string;
1641
+ frozen: boolean;
1642
+ requiredClaims: ({
1643
+ claim: string;
1644
+ op: "contains";
1645
+ value: unknown;
1646
+ } | {
1647
+ claim: string;
1648
+ op: "eq";
1649
+ value: unknown;
1650
+ } | {
1651
+ claim: string;
1652
+ op: "exists";
1653
+ })[];
1654
+ };
1655
+ }, "authenticated", true, false>>;
1656
+ whois: builder.Method<builder.CallableProjection<{
1657
+ iss: string;
1658
+ sub: string;
1659
+ }, {
1660
+ readonly mode: 'value';
1661
+ readonly value: {
1662
+ id: string;
1663
+ iss: string;
1664
+ sub: string;
1665
+ frozen: boolean;
1666
+ requiredClaims: ({
1667
+ claim: string;
1668
+ op: "contains";
1669
+ value: unknown;
1670
+ } | {
1671
+ claim: string;
1672
+ op: "eq";
1673
+ value: unknown;
1674
+ } | {
1675
+ claim: string;
1676
+ op: "exists";
1677
+ })[];
1678
+ } | null;
1679
+ }, "authorized", true, false>>;
1680
+ mint: builder.Method<builder.CallableProjection<{
1681
+ audience?: string | undefined;
1682
+ ttlSeconds: number;
1683
+ grant?: unknown;
1684
+ }, {
1685
+ readonly mode: 'value';
1686
+ readonly value: string;
1687
+ }, "authenticated", true, false>>;
1688
+ impersonate: builder.Method<builder.CallableProjection<{
1689
+ audience?: string | undefined;
1690
+ ttlSeconds: number;
1691
+ grant?: unknown;
1692
+ identity: string;
1693
+ }, {
1694
+ readonly mode: 'value';
1695
+ readonly value: string;
1696
+ }, "authorized", true, false>>;
1697
+ }>;
1698
+ }, builder.AuthoredPropertyProjection<({
1699
+ claim: string;
1700
+ op: "contains";
1701
+ value: unknown;
1702
+ } | {
1703
+ claim: string;
1704
+ op: "eq";
1705
+ value: unknown;
1706
+ } | {
1707
+ claim: string;
1708
+ op: "exists";
1709
+ })[], ({
1710
+ claim: string;
1711
+ op: "contains";
1712
+ value: unknown;
1713
+ } | {
1714
+ claim: string;
1715
+ op: "eq";
1716
+ value: unknown;
1717
+ } | {
1718
+ claim: string;
1719
+ op: "exists";
1720
+ })[], 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>, {
1721
+ readonly mode: 'value';
1722
+ readonly value: {
1723
+ id: string;
1724
+ iss: string;
1725
+ sub: string;
1726
+ frozen: boolean;
1727
+ requiredClaims: ({
1728
+ claim: string;
1729
+ op: "contains";
1730
+ value: unknown;
1731
+ } | {
1732
+ claim: string;
1733
+ op: "eq";
1734
+ value: unknown;
1735
+ } | {
1736
+ claim: string;
1737
+ op: "exists";
1738
+ })[];
1739
+ };
1740
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1741
+ principal: string;
1742
+ audience: string;
1743
+ ttlSeconds: number;
1744
+ attenuation: unknown;
1745
+ }, {
1746
+ readonly mode: 'value';
1747
+ readonly value: string;
1748
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1749
+ iss: string;
1750
+ sub: string;
1751
+ }, {
1752
+ readonly mode: 'value';
1753
+ readonly value: {
1754
+ id: string;
1755
+ iss: string;
1756
+ sub: string;
1757
+ frozen: boolean;
1758
+ requiredClaims: ({
1759
+ claim: string;
1760
+ op: "contains";
1761
+ value: unknown;
1762
+ } | {
1763
+ claim: string;
1764
+ op: "eq";
1765
+ value: unknown;
1766
+ } | {
1767
+ claim: string;
1768
+ op: "exists";
1769
+ })[];
1770
+ } | null;
1771
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1772
+ audience?: string | undefined;
1773
+ ttlSeconds: number;
1774
+ grant?: unknown;
1775
+ }, {
1776
+ readonly mode: 'value';
1777
+ readonly value: string;
1778
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1779
+ audience?: string | undefined;
1780
+ ttlSeconds: number;
1781
+ grant?: unknown;
1782
+ identity: string;
1783
+ }, {
1784
+ readonly mode: 'value';
1785
+ readonly value: string;
1786
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1787
+ policy: string;
1788
+ object: string;
1789
+ } | {
1790
+ checks: {
1791
+ policy: string;
1792
+ object: string;
1793
+ }[];
1794
+ }, {
1795
+ readonly mode: 'value';
1796
+ readonly value: {
1797
+ allowed: boolean;
1798
+ } | {
1799
+ decisions: {
1800
+ allowed: boolean;
1801
+ }[];
1802
+ };
1803
+ }, "authenticated", true, false>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1804
+ audience?: string | undefined;
1805
+ ttlSeconds: number;
1806
+ grant?: unknown;
1807
+ }, {
1808
+ readonly mode: 'value';
1809
+ readonly value: string;
1810
+ }, "authenticated", true, false>>, "mint", builder.ClassOwnerProjection<"node", {
1811
+ readonly abstract: true;
1812
+ readonly depth: 1;
1813
+ readonly properties: {
1814
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
1815
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
1816
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
1817
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
1818
+ claim: string;
1819
+ op: "contains";
1820
+ value: unknown;
1821
+ } | {
1822
+ claim: string;
1823
+ op: "eq";
1824
+ value: unknown;
1825
+ } | {
1826
+ claim: string;
1827
+ op: "exists";
1828
+ })[], ({
1829
+ claim: string;
1830
+ op: "contains";
1831
+ value: unknown;
1832
+ } | {
1833
+ claim: string;
1834
+ op: "eq";
1835
+ value: unknown;
1836
+ } | {
1837
+ claim: string;
1838
+ op: "exists";
1839
+ })[], false, "requiredClaims", "self", never>;
1840
+ };
1841
+ readonly methods: Readonly<{
1842
+ delegate: builder.Method<builder.CallableProjection<{
1843
+ principal: string;
1844
+ audience: string;
1845
+ ttlSeconds: number;
1846
+ attenuation: unknown;
1847
+ }, {
1848
+ readonly mode: 'value';
1849
+ readonly value: string;
1850
+ }, "authenticated", true, false>>;
1851
+ can: builder.Method<builder.CallableProjection<{
1852
+ policy: string;
1853
+ object: string;
1854
+ } | {
1855
+ checks: {
1856
+ policy: string;
1857
+ object: string;
1858
+ }[];
1859
+ }, {
1860
+ readonly mode: 'value';
1861
+ readonly value: {
1862
+ allowed: boolean;
1863
+ } | {
1864
+ decisions: {
1865
+ allowed: boolean;
1866
+ }[];
1867
+ };
1868
+ }, "authenticated", true, false>>;
1869
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
1870
+ readonly mode: 'value';
1871
+ readonly value: {
1872
+ id: string;
1873
+ iss: string;
1874
+ sub: string;
1875
+ frozen: boolean;
1876
+ requiredClaims: ({
1877
+ claim: string;
1878
+ op: "contains";
1879
+ value: unknown;
1880
+ } | {
1881
+ claim: string;
1882
+ op: "eq";
1883
+ value: unknown;
1884
+ } | {
1885
+ claim: string;
1886
+ op: "exists";
1887
+ })[];
1888
+ };
1889
+ }, "authenticated", true, false>>;
1890
+ whois: builder.Method<builder.CallableProjection<{
1891
+ iss: string;
1892
+ sub: string;
1893
+ }, {
1894
+ readonly mode: 'value';
1895
+ readonly value: {
1896
+ id: string;
1897
+ iss: string;
1898
+ sub: string;
1899
+ frozen: boolean;
1900
+ requiredClaims: ({
1901
+ claim: string;
1902
+ op: "contains";
1903
+ value: unknown;
1904
+ } | {
1905
+ claim: string;
1906
+ op: "eq";
1907
+ value: unknown;
1908
+ } | {
1909
+ claim: string;
1910
+ op: "exists";
1911
+ })[];
1912
+ } | null;
1913
+ }, "authorized", true, false>>;
1914
+ mint: builder.Method<builder.CallableProjection<{
1915
+ audience?: string | undefined;
1916
+ ttlSeconds: number;
1917
+ grant?: unknown;
1918
+ }, {
1919
+ readonly mode: 'value';
1920
+ readonly value: string;
1921
+ }, "authenticated", true, false>>;
1922
+ impersonate: builder.Method<builder.CallableProjection<{
1923
+ audience?: string | undefined;
1924
+ ttlSeconds: number;
1925
+ grant?: unknown;
1926
+ identity: string;
1927
+ }, {
1928
+ readonly mode: 'value';
1929
+ readonly value: string;
1930
+ }, "authorized", true, false>>;
1931
+ }>;
1932
+ }, builder.AuthoredPropertyProjection<({
1933
+ claim: string;
1934
+ op: "contains";
1935
+ value: unknown;
1936
+ } | {
1937
+ claim: string;
1938
+ op: "eq";
1939
+ value: unknown;
1940
+ } | {
1941
+ claim: string;
1942
+ op: "exists";
1943
+ })[], ({
1944
+ claim: string;
1945
+ op: "contains";
1946
+ value: unknown;
1947
+ } | {
1948
+ claim: string;
1949
+ op: "eq";
1950
+ value: unknown;
1951
+ } | {
1952
+ claim: string;
1953
+ op: "exists";
1954
+ })[], 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>, {
1955
+ readonly mode: 'value';
1956
+ readonly value: {
1957
+ id: string;
1958
+ iss: string;
1959
+ sub: string;
1960
+ frozen: boolean;
1961
+ requiredClaims: ({
1962
+ claim: string;
1963
+ op: "contains";
1964
+ value: unknown;
1965
+ } | {
1966
+ claim: string;
1967
+ op: "eq";
1968
+ value: unknown;
1969
+ } | {
1970
+ claim: string;
1971
+ op: "exists";
1972
+ })[];
1973
+ };
1974
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1975
+ principal: string;
1976
+ audience: string;
1977
+ ttlSeconds: number;
1978
+ attenuation: unknown;
1979
+ }, {
1980
+ readonly mode: 'value';
1981
+ readonly value: string;
1982
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1983
+ iss: string;
1984
+ sub: string;
1985
+ }, {
1986
+ readonly mode: 'value';
1987
+ readonly value: {
1988
+ id: string;
1989
+ iss: string;
1990
+ sub: string;
1991
+ frozen: boolean;
1992
+ requiredClaims: ({
1993
+ claim: string;
1994
+ op: "contains";
1995
+ value: unknown;
1996
+ } | {
1997
+ claim: string;
1998
+ op: "eq";
1999
+ value: unknown;
2000
+ } | {
2001
+ claim: string;
2002
+ op: "exists";
2003
+ })[];
2004
+ } | null;
2005
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2006
+ audience?: string | undefined;
2007
+ ttlSeconds: number;
2008
+ grant?: unknown;
2009
+ }, {
2010
+ readonly mode: 'value';
2011
+ readonly value: string;
2012
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2013
+ audience?: string | undefined;
2014
+ ttlSeconds: number;
2015
+ grant?: unknown;
2016
+ identity: string;
2017
+ }, {
2018
+ readonly mode: 'value';
2019
+ readonly value: string;
2020
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2021
+ policy: string;
2022
+ object: string;
2023
+ } | {
2024
+ checks: {
2025
+ policy: string;
2026
+ object: string;
2027
+ }[];
2028
+ }, {
2029
+ readonly mode: 'value';
2030
+ readonly value: {
2031
+ allowed: boolean;
2032
+ } | {
2033
+ decisions: {
2034
+ allowed: boolean;
2035
+ }[];
2036
+ };
2037
+ }, "authenticated", true, false>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2038
+ audience?: string | undefined;
2039
+ ttlSeconds: number;
2040
+ grant?: unknown;
2041
+ identity: string;
2042
+ }, {
2043
+ readonly mode: 'value';
2044
+ readonly value: string;
2045
+ }, "authorized", true, false>>, "impersonate", builder.ClassOwnerProjection<"node", {
2046
+ readonly abstract: true;
2047
+ readonly depth: 1;
2048
+ readonly properties: {
2049
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
2050
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
2051
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
2052
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
2053
+ claim: string;
2054
+ op: "contains";
2055
+ value: unknown;
2056
+ } | {
2057
+ claim: string;
2058
+ op: "eq";
2059
+ value: unknown;
2060
+ } | {
2061
+ claim: string;
2062
+ op: "exists";
2063
+ })[], ({
2064
+ claim: string;
2065
+ op: "contains";
2066
+ value: unknown;
2067
+ } | {
2068
+ claim: string;
2069
+ op: "eq";
2070
+ value: unknown;
2071
+ } | {
2072
+ claim: string;
2073
+ op: "exists";
2074
+ })[], false, "requiredClaims", "self", never>;
2075
+ };
2076
+ readonly methods: Readonly<{
2077
+ delegate: builder.Method<builder.CallableProjection<{
2078
+ principal: string;
2079
+ audience: string;
2080
+ ttlSeconds: number;
2081
+ attenuation: unknown;
2082
+ }, {
2083
+ readonly mode: 'value';
2084
+ readonly value: string;
2085
+ }, "authenticated", true, false>>;
2086
+ can: builder.Method<builder.CallableProjection<{
2087
+ policy: string;
2088
+ object: string;
2089
+ } | {
2090
+ checks: {
2091
+ policy: string;
2092
+ object: string;
2093
+ }[];
2094
+ }, {
2095
+ readonly mode: 'value';
2096
+ readonly value: {
2097
+ allowed: boolean;
2098
+ } | {
2099
+ decisions: {
2100
+ allowed: boolean;
2101
+ }[];
2102
+ };
2103
+ }, "authenticated", true, false>>;
2104
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
2105
+ readonly mode: 'value';
2106
+ readonly value: {
2107
+ id: string;
2108
+ iss: string;
2109
+ sub: string;
2110
+ frozen: boolean;
2111
+ requiredClaims: ({
2112
+ claim: string;
2113
+ op: "contains";
2114
+ value: unknown;
2115
+ } | {
2116
+ claim: string;
2117
+ op: "eq";
2118
+ value: unknown;
2119
+ } | {
2120
+ claim: string;
2121
+ op: "exists";
2122
+ })[];
2123
+ };
2124
+ }, "authenticated", true, false>>;
2125
+ whois: builder.Method<builder.CallableProjection<{
2126
+ iss: string;
2127
+ sub: string;
2128
+ }, {
2129
+ readonly mode: 'value';
2130
+ readonly value: {
2131
+ id: string;
2132
+ iss: string;
2133
+ sub: string;
2134
+ frozen: boolean;
2135
+ requiredClaims: ({
2136
+ claim: string;
2137
+ op: "contains";
2138
+ value: unknown;
2139
+ } | {
2140
+ claim: string;
2141
+ op: "eq";
2142
+ value: unknown;
2143
+ } | {
2144
+ claim: string;
2145
+ op: "exists";
2146
+ })[];
2147
+ } | null;
2148
+ }, "authorized", true, false>>;
2149
+ mint: builder.Method<builder.CallableProjection<{
2150
+ audience?: string | undefined;
2151
+ ttlSeconds: number;
2152
+ grant?: unknown;
2153
+ }, {
2154
+ readonly mode: 'value';
2155
+ readonly value: string;
2156
+ }, "authenticated", true, false>>;
2157
+ impersonate: builder.Method<builder.CallableProjection<{
2158
+ audience?: string | undefined;
2159
+ ttlSeconds: number;
2160
+ grant?: unknown;
2161
+ identity: string;
2162
+ }, {
2163
+ readonly mode: 'value';
2164
+ readonly value: string;
2165
+ }, "authorized", true, false>>;
2166
+ }>;
2167
+ }, builder.AuthoredPropertyProjection<({
2168
+ claim: string;
2169
+ op: "contains";
2170
+ value: unknown;
2171
+ } | {
2172
+ claim: string;
2173
+ op: "eq";
2174
+ value: unknown;
2175
+ } | {
2176
+ claim: string;
2177
+ op: "exists";
2178
+ })[], ({
2179
+ claim: string;
2180
+ op: "contains";
2181
+ value: unknown;
2182
+ } | {
2183
+ claim: string;
2184
+ op: "eq";
2185
+ value: unknown;
2186
+ } | {
2187
+ claim: string;
2188
+ op: "exists";
2189
+ })[], 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>, {
2190
+ readonly mode: 'value';
2191
+ readonly value: {
2192
+ id: string;
2193
+ iss: string;
2194
+ sub: string;
2195
+ frozen: boolean;
2196
+ requiredClaims: ({
2197
+ claim: string;
2198
+ op: "contains";
2199
+ value: unknown;
2200
+ } | {
2201
+ claim: string;
2202
+ op: "eq";
2203
+ value: unknown;
2204
+ } | {
2205
+ claim: string;
2206
+ op: "exists";
2207
+ })[];
2208
+ };
2209
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2210
+ principal: string;
2211
+ audience: string;
2212
+ ttlSeconds: number;
2213
+ attenuation: unknown;
2214
+ }, {
2215
+ readonly mode: 'value';
2216
+ readonly value: string;
2217
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2218
+ iss: string;
2219
+ sub: string;
2220
+ }, {
2221
+ readonly mode: 'value';
2222
+ readonly value: {
2223
+ id: string;
2224
+ iss: string;
2225
+ sub: string;
2226
+ frozen: boolean;
2227
+ requiredClaims: ({
2228
+ claim: string;
2229
+ op: "contains";
2230
+ value: unknown;
2231
+ } | {
2232
+ claim: string;
2233
+ op: "eq";
2234
+ value: unknown;
2235
+ } | {
2236
+ claim: string;
2237
+ op: "exists";
2238
+ })[];
2239
+ } | null;
2240
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2241
+ audience?: string | undefined;
2242
+ ttlSeconds: number;
2243
+ grant?: unknown;
2244
+ }, {
2245
+ readonly mode: 'value';
2246
+ readonly value: string;
2247
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2248
+ audience?: string | undefined;
2249
+ ttlSeconds: number;
2250
+ grant?: unknown;
2251
+ identity: string;
2252
+ }, {
2253
+ readonly mode: 'value';
2254
+ readonly value: string;
2255
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2256
+ policy: string;
2257
+ object: string;
2258
+ } | {
2259
+ checks: {
2260
+ policy: string;
2261
+ object: string;
2262
+ }[];
2263
+ }, {
2264
+ readonly mode: 'value';
2265
+ readonly value: {
2266
+ allowed: boolean;
2267
+ } | {
2268
+ decisions: {
2269
+ allowed: boolean;
2270
+ }[];
2271
+ };
2272
+ }, "authenticated", true, false>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2273
+ policy: string;
2274
+ object: string;
2275
+ } | {
2276
+ checks: {
2277
+ policy: string;
2278
+ object: string;
2279
+ }[];
2280
+ }, {
2281
+ readonly mode: 'value';
2282
+ readonly value: {
2283
+ allowed: boolean;
2284
+ } | {
2285
+ decisions: {
2286
+ allowed: boolean;
2287
+ }[];
2288
+ };
2289
+ }, "authenticated", true, false>>, "can", builder.ClassOwnerProjection<"node", {
2290
+ readonly abstract: true;
2291
+ readonly depth: 1;
2292
+ readonly properties: {
2293
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
2294
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
2295
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
2296
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
2297
+ claim: string;
2298
+ op: "contains";
2299
+ value: unknown;
2300
+ } | {
2301
+ claim: string;
2302
+ op: "eq";
2303
+ value: unknown;
2304
+ } | {
2305
+ claim: string;
2306
+ op: "exists";
2307
+ })[], ({
2308
+ claim: string;
2309
+ op: "contains";
2310
+ value: unknown;
2311
+ } | {
2312
+ claim: string;
2313
+ op: "eq";
2314
+ value: unknown;
2315
+ } | {
2316
+ claim: string;
2317
+ op: "exists";
2318
+ })[], false, "requiredClaims", "self", never>;
2319
+ };
2320
+ readonly methods: Readonly<{
2321
+ delegate: builder.Method<builder.CallableProjection<{
2322
+ principal: string;
2323
+ audience: string;
2324
+ ttlSeconds: number;
2325
+ attenuation: unknown;
2326
+ }, {
2327
+ readonly mode: 'value';
2328
+ readonly value: string;
2329
+ }, "authenticated", true, false>>;
2330
+ can: builder.Method<builder.CallableProjection<{
2331
+ policy: string;
2332
+ object: string;
2333
+ } | {
2334
+ checks: {
2335
+ policy: string;
2336
+ object: string;
2337
+ }[];
2338
+ }, {
2339
+ readonly mode: 'value';
2340
+ readonly value: {
2341
+ allowed: boolean;
2342
+ } | {
2343
+ decisions: {
2344
+ allowed: boolean;
2345
+ }[];
2346
+ };
2347
+ }, "authenticated", true, false>>;
2348
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
2349
+ readonly mode: 'value';
2350
+ readonly value: {
2351
+ id: string;
2352
+ iss: string;
2353
+ sub: string;
2354
+ frozen: boolean;
2355
+ requiredClaims: ({
2356
+ claim: string;
2357
+ op: "contains";
2358
+ value: unknown;
2359
+ } | {
2360
+ claim: string;
2361
+ op: "eq";
2362
+ value: unknown;
2363
+ } | {
2364
+ claim: string;
2365
+ op: "exists";
2366
+ })[];
2367
+ };
2368
+ }, "authenticated", true, false>>;
2369
+ whois: builder.Method<builder.CallableProjection<{
2370
+ iss: string;
2371
+ sub: string;
2372
+ }, {
2373
+ readonly mode: 'value';
2374
+ readonly value: {
2375
+ id: string;
2376
+ iss: string;
2377
+ sub: string;
2378
+ frozen: boolean;
2379
+ requiredClaims: ({
2380
+ claim: string;
2381
+ op: "contains";
2382
+ value: unknown;
2383
+ } | {
2384
+ claim: string;
2385
+ op: "eq";
2386
+ value: unknown;
2387
+ } | {
2388
+ claim: string;
2389
+ op: "exists";
2390
+ })[];
2391
+ } | null;
2392
+ }, "authorized", true, false>>;
2393
+ mint: builder.Method<builder.CallableProjection<{
2394
+ audience?: string | undefined;
2395
+ ttlSeconds: number;
2396
+ grant?: unknown;
2397
+ }, {
2398
+ readonly mode: 'value';
2399
+ readonly value: string;
2400
+ }, "authenticated", true, false>>;
2401
+ impersonate: builder.Method<builder.CallableProjection<{
2402
+ audience?: string | undefined;
2403
+ ttlSeconds: number;
2404
+ grant?: unknown;
2405
+ identity: string;
2406
+ }, {
2407
+ readonly mode: 'value';
2408
+ readonly value: string;
2409
+ }, "authorized", true, false>>;
2410
+ }>;
2411
+ }, builder.AuthoredPropertyProjection<({
2412
+ claim: string;
2413
+ op: "contains";
2414
+ value: unknown;
2415
+ } | {
2416
+ claim: string;
2417
+ op: "eq";
2418
+ value: unknown;
2419
+ } | {
2420
+ claim: string;
2421
+ op: "exists";
2422
+ })[], ({
2423
+ claim: string;
2424
+ op: "contains";
2425
+ value: unknown;
2426
+ } | {
2427
+ claim: string;
2428
+ op: "eq";
2429
+ value: unknown;
2430
+ } | {
2431
+ claim: string;
2432
+ op: "exists";
2433
+ })[], 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>, {
2434
+ readonly mode: 'value';
2435
+ readonly value: {
2436
+ id: string;
2437
+ iss: string;
2438
+ sub: string;
2439
+ frozen: boolean;
2440
+ requiredClaims: ({
2441
+ claim: string;
2442
+ op: "contains";
2443
+ value: unknown;
2444
+ } | {
2445
+ claim: string;
2446
+ op: "eq";
2447
+ value: unknown;
2448
+ } | {
2449
+ claim: string;
2450
+ op: "exists";
2451
+ })[];
2452
+ };
2453
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2454
+ principal: string;
2455
+ audience: string;
2456
+ ttlSeconds: number;
2457
+ attenuation: unknown;
2458
+ }, {
2459
+ readonly mode: 'value';
2460
+ readonly value: string;
2461
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2462
+ iss: string;
2463
+ sub: string;
2464
+ }, {
2465
+ readonly mode: 'value';
2466
+ readonly value: {
2467
+ id: string;
2468
+ iss: string;
2469
+ sub: string;
2470
+ frozen: boolean;
2471
+ requiredClaims: ({
2472
+ claim: string;
2473
+ op: "contains";
2474
+ value: unknown;
2475
+ } | {
2476
+ claim: string;
2477
+ op: "eq";
2478
+ value: unknown;
2479
+ } | {
2480
+ claim: string;
2481
+ op: "exists";
2482
+ })[];
2483
+ } | null;
2484
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2485
+ audience?: string | undefined;
2486
+ ttlSeconds: number;
2487
+ grant?: unknown;
2488
+ }, {
2489
+ readonly mode: 'value';
2490
+ readonly value: string;
2491
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2492
+ audience?: string | undefined;
2493
+ ttlSeconds: number;
2494
+ grant?: unknown;
2495
+ identity: string;
2496
+ }, {
2497
+ readonly mode: 'value';
2498
+ readonly value: string;
2499
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2500
+ policy: string;
2501
+ object: string;
2502
+ } | {
2503
+ checks: {
2504
+ policy: string;
2505
+ object: string;
2506
+ }[];
2507
+ }, {
2508
+ readonly mode: 'value';
2509
+ readonly value: {
2510
+ allowed: boolean;
2511
+ } | {
2512
+ decisions: {
2513
+ allowed: boolean;
2514
+ }[];
2515
+ };
2516
+ }, "authenticated", true, false>>, "can", unknown>>>>];
20
2517
  readonly properties: {
21
2518
  readonly kind: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "kind", "self", undefined>;
22
2519
  readonly input: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "input", "self", undefined>;
@@ -46,14 +2543,944 @@ export declare const Function: builder.NodeClass<{
46
2543
  };
47
2544
  }, "authenticated", true, false>>;
48
2545
  }>;
49
- readonly effectiveProperties: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", builder.ClassOwnerProjection<"node", {
2546
+ readonly effectiveProperties: builder.AuthoredPropertyProjection<({
2547
+ claim: string;
2548
+ op: "contains";
2549
+ value: unknown;
2550
+ } | {
2551
+ claim: string;
2552
+ op: "eq";
2553
+ value: unknown;
2554
+ } | {
2555
+ claim: string;
2556
+ op: "exists";
2557
+ })[], ({
2558
+ claim: string;
2559
+ op: "contains";
2560
+ value: unknown;
2561
+ } | {
2562
+ claim: string;
2563
+ op: "eq";
2564
+ value: unknown;
2565
+ } | {
2566
+ claim: string;
2567
+ op: "exists";
2568
+ })[], false, "requiredClaims", builder.ClassOwnerProjection<"node", {
2569
+ readonly abstract: true;
2570
+ readonly depth: 1;
2571
+ readonly properties: {
2572
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
2573
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
2574
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
2575
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
2576
+ claim: string;
2577
+ op: "contains";
2578
+ value: unknown;
2579
+ } | {
2580
+ claim: string;
2581
+ op: "eq";
2582
+ value: unknown;
2583
+ } | {
2584
+ claim: string;
2585
+ op: "exists";
2586
+ })[], ({
2587
+ claim: string;
2588
+ op: "contains";
2589
+ value: unknown;
2590
+ } | {
2591
+ claim: string;
2592
+ op: "eq";
2593
+ value: unknown;
2594
+ } | {
2595
+ claim: string;
2596
+ op: "exists";
2597
+ })[], false, "requiredClaims", "self", never>;
2598
+ };
2599
+ readonly methods: Readonly<{
2600
+ delegate: builder.Method<builder.CallableProjection<{
2601
+ principal: string;
2602
+ audience: string;
2603
+ ttlSeconds: number;
2604
+ attenuation: unknown;
2605
+ }, {
2606
+ readonly mode: 'value';
2607
+ readonly value: string;
2608
+ }, "authenticated", true, false>>;
2609
+ can: builder.Method<builder.CallableProjection<{
2610
+ policy: string;
2611
+ object: string;
2612
+ } | {
2613
+ checks: {
2614
+ policy: string;
2615
+ object: string;
2616
+ }[];
2617
+ }, {
2618
+ readonly mode: 'value';
2619
+ readonly value: {
2620
+ allowed: boolean;
2621
+ } | {
2622
+ decisions: {
2623
+ allowed: boolean;
2624
+ }[];
2625
+ };
2626
+ }, "authenticated", true, false>>;
2627
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
2628
+ readonly mode: 'value';
2629
+ readonly value: {
2630
+ id: string;
2631
+ iss: string;
2632
+ sub: string;
2633
+ frozen: boolean;
2634
+ requiredClaims: ({
2635
+ claim: string;
2636
+ op: "contains";
2637
+ value: unknown;
2638
+ } | {
2639
+ claim: string;
2640
+ op: "eq";
2641
+ value: unknown;
2642
+ } | {
2643
+ claim: string;
2644
+ op: "exists";
2645
+ })[];
2646
+ };
2647
+ }, "authenticated", true, false>>;
2648
+ whois: builder.Method<builder.CallableProjection<{
2649
+ iss: string;
2650
+ sub: string;
2651
+ }, {
2652
+ readonly mode: 'value';
2653
+ readonly value: {
2654
+ id: string;
2655
+ iss: string;
2656
+ sub: string;
2657
+ frozen: boolean;
2658
+ requiredClaims: ({
2659
+ claim: string;
2660
+ op: "contains";
2661
+ value: unknown;
2662
+ } | {
2663
+ claim: string;
2664
+ op: "eq";
2665
+ value: unknown;
2666
+ } | {
2667
+ claim: string;
2668
+ op: "exists";
2669
+ })[];
2670
+ } | null;
2671
+ }, "authorized", true, false>>;
2672
+ mint: builder.Method<builder.CallableProjection<{
2673
+ audience?: string | undefined;
2674
+ ttlSeconds: number;
2675
+ grant?: unknown;
2676
+ }, {
2677
+ readonly mode: 'value';
2678
+ readonly value: string;
2679
+ }, "authenticated", true, false>>;
2680
+ impersonate: builder.Method<builder.CallableProjection<{
2681
+ audience?: string | undefined;
2682
+ ttlSeconds: number;
2683
+ grant?: unknown;
2684
+ identity: string;
2685
+ }, {
2686
+ readonly mode: 'value';
2687
+ readonly value: string;
2688
+ }, "authorized", true, false>>;
2689
+ }>;
2690
+ }, builder.AuthoredPropertyProjection<({
2691
+ claim: string;
2692
+ op: "contains";
2693
+ value: unknown;
2694
+ } | {
2695
+ claim: string;
2696
+ op: "eq";
2697
+ value: unknown;
2698
+ } | {
2699
+ claim: string;
2700
+ op: "exists";
2701
+ })[], ({
2702
+ claim: string;
2703
+ op: "contains";
2704
+ value: unknown;
2705
+ } | {
2706
+ claim: string;
2707
+ op: "eq";
2708
+ value: unknown;
2709
+ } | {
2710
+ claim: string;
2711
+ op: "exists";
2712
+ })[], 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>, {
2713
+ readonly mode: 'value';
2714
+ readonly value: {
2715
+ id: string;
2716
+ iss: string;
2717
+ sub: string;
2718
+ frozen: boolean;
2719
+ requiredClaims: ({
2720
+ claim: string;
2721
+ op: "contains";
2722
+ value: unknown;
2723
+ } | {
2724
+ claim: string;
2725
+ op: "eq";
2726
+ value: unknown;
2727
+ } | {
2728
+ claim: string;
2729
+ op: "exists";
2730
+ })[];
2731
+ };
2732
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2733
+ principal: string;
2734
+ audience: string;
2735
+ ttlSeconds: number;
2736
+ attenuation: unknown;
2737
+ }, {
2738
+ readonly mode: 'value';
2739
+ readonly value: string;
2740
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2741
+ iss: string;
2742
+ sub: string;
2743
+ }, {
2744
+ readonly mode: 'value';
2745
+ readonly value: {
2746
+ id: string;
2747
+ iss: string;
2748
+ sub: string;
2749
+ frozen: boolean;
2750
+ requiredClaims: ({
2751
+ claim: string;
2752
+ op: "contains";
2753
+ value: unknown;
2754
+ } | {
2755
+ claim: string;
2756
+ op: "eq";
2757
+ value: unknown;
2758
+ } | {
2759
+ claim: string;
2760
+ op: "exists";
2761
+ })[];
2762
+ } | null;
2763
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2764
+ audience?: string | undefined;
2765
+ ttlSeconds: number;
2766
+ grant?: unknown;
2767
+ }, {
2768
+ readonly mode: 'value';
2769
+ readonly value: string;
2770
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2771
+ audience?: string | undefined;
2772
+ ttlSeconds: number;
2773
+ grant?: unknown;
2774
+ identity: string;
2775
+ }, {
2776
+ readonly mode: 'value';
2777
+ readonly value: string;
2778
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2779
+ policy: string;
2780
+ object: string;
2781
+ } | {
2782
+ checks: {
2783
+ policy: string;
2784
+ object: string;
2785
+ }[];
2786
+ }, {
2787
+ readonly mode: 'value';
2788
+ readonly value: {
2789
+ allowed: boolean;
2790
+ } | {
2791
+ decisions: {
2792
+ allowed: boolean;
2793
+ }[];
2794
+ };
2795
+ }, "authenticated", true, false>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", builder.ClassOwnerProjection<"node", {
50
2796
  readonly abstract: true;
51
2797
  readonly depth: 1;
52
2798
  readonly properties: {
53
2799
  readonly description: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", "self", never>;
54
2800
  };
55
2801
  readonly methods: Readonly<Record<never, never>>;
56
- }, builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", unknown, never>, never, never>, never> | (builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "abstract", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "auth", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "input", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "kind", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "output", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "policy", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "static", "self", never>);
2802
+ }, builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", unknown, never>, never, never>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", builder.ClassOwnerProjection<"node", {
2803
+ readonly abstract: true;
2804
+ readonly depth: 1;
2805
+ readonly properties: {
2806
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
2807
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
2808
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
2809
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
2810
+ claim: string;
2811
+ op: "contains";
2812
+ value: unknown;
2813
+ } | {
2814
+ claim: string;
2815
+ op: "eq";
2816
+ value: unknown;
2817
+ } | {
2818
+ claim: string;
2819
+ op: "exists";
2820
+ })[], ({
2821
+ claim: string;
2822
+ op: "contains";
2823
+ value: unknown;
2824
+ } | {
2825
+ claim: string;
2826
+ op: "eq";
2827
+ value: unknown;
2828
+ } | {
2829
+ claim: string;
2830
+ op: "exists";
2831
+ })[], false, "requiredClaims", "self", never>;
2832
+ };
2833
+ readonly methods: Readonly<{
2834
+ delegate: builder.Method<builder.CallableProjection<{
2835
+ principal: string;
2836
+ audience: string;
2837
+ ttlSeconds: number;
2838
+ attenuation: unknown;
2839
+ }, {
2840
+ readonly mode: 'value';
2841
+ readonly value: string;
2842
+ }, "authenticated", true, false>>;
2843
+ can: builder.Method<builder.CallableProjection<{
2844
+ policy: string;
2845
+ object: string;
2846
+ } | {
2847
+ checks: {
2848
+ policy: string;
2849
+ object: string;
2850
+ }[];
2851
+ }, {
2852
+ readonly mode: 'value';
2853
+ readonly value: {
2854
+ allowed: boolean;
2855
+ } | {
2856
+ decisions: {
2857
+ allowed: boolean;
2858
+ }[];
2859
+ };
2860
+ }, "authenticated", true, false>>;
2861
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
2862
+ readonly mode: 'value';
2863
+ readonly value: {
2864
+ id: string;
2865
+ iss: string;
2866
+ sub: string;
2867
+ frozen: boolean;
2868
+ requiredClaims: ({
2869
+ claim: string;
2870
+ op: "contains";
2871
+ value: unknown;
2872
+ } | {
2873
+ claim: string;
2874
+ op: "eq";
2875
+ value: unknown;
2876
+ } | {
2877
+ claim: string;
2878
+ op: "exists";
2879
+ })[];
2880
+ };
2881
+ }, "authenticated", true, false>>;
2882
+ whois: builder.Method<builder.CallableProjection<{
2883
+ iss: string;
2884
+ sub: string;
2885
+ }, {
2886
+ readonly mode: 'value';
2887
+ readonly value: {
2888
+ id: string;
2889
+ iss: string;
2890
+ sub: string;
2891
+ frozen: boolean;
2892
+ requiredClaims: ({
2893
+ claim: string;
2894
+ op: "contains";
2895
+ value: unknown;
2896
+ } | {
2897
+ claim: string;
2898
+ op: "eq";
2899
+ value: unknown;
2900
+ } | {
2901
+ claim: string;
2902
+ op: "exists";
2903
+ })[];
2904
+ } | null;
2905
+ }, "authorized", true, false>>;
2906
+ mint: builder.Method<builder.CallableProjection<{
2907
+ audience?: string | undefined;
2908
+ ttlSeconds: number;
2909
+ grant?: unknown;
2910
+ }, {
2911
+ readonly mode: 'value';
2912
+ readonly value: string;
2913
+ }, "authenticated", true, false>>;
2914
+ impersonate: builder.Method<builder.CallableProjection<{
2915
+ audience?: string | undefined;
2916
+ ttlSeconds: number;
2917
+ grant?: unknown;
2918
+ identity: string;
2919
+ }, {
2920
+ readonly mode: 'value';
2921
+ readonly value: string;
2922
+ }, "authorized", true, false>>;
2923
+ }>;
2924
+ }, builder.AuthoredPropertyProjection<({
2925
+ claim: string;
2926
+ op: "contains";
2927
+ value: unknown;
2928
+ } | {
2929
+ claim: string;
2930
+ op: "eq";
2931
+ value: unknown;
2932
+ } | {
2933
+ claim: string;
2934
+ op: "exists";
2935
+ })[], ({
2936
+ claim: string;
2937
+ op: "contains";
2938
+ value: unknown;
2939
+ } | {
2940
+ claim: string;
2941
+ op: "eq";
2942
+ value: unknown;
2943
+ } | {
2944
+ claim: string;
2945
+ op: "exists";
2946
+ })[], 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>, {
2947
+ readonly mode: 'value';
2948
+ readonly value: {
2949
+ id: string;
2950
+ iss: string;
2951
+ sub: string;
2952
+ frozen: boolean;
2953
+ requiredClaims: ({
2954
+ claim: string;
2955
+ op: "contains";
2956
+ value: unknown;
2957
+ } | {
2958
+ claim: string;
2959
+ op: "eq";
2960
+ value: unknown;
2961
+ } | {
2962
+ claim: string;
2963
+ op: "exists";
2964
+ })[];
2965
+ };
2966
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2967
+ principal: string;
2968
+ audience: string;
2969
+ ttlSeconds: number;
2970
+ attenuation: unknown;
2971
+ }, {
2972
+ readonly mode: 'value';
2973
+ readonly value: string;
2974
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2975
+ iss: string;
2976
+ sub: string;
2977
+ }, {
2978
+ readonly mode: 'value';
2979
+ readonly value: {
2980
+ id: string;
2981
+ iss: string;
2982
+ sub: string;
2983
+ frozen: boolean;
2984
+ requiredClaims: ({
2985
+ claim: string;
2986
+ op: "contains";
2987
+ value: unknown;
2988
+ } | {
2989
+ claim: string;
2990
+ op: "eq";
2991
+ value: unknown;
2992
+ } | {
2993
+ claim: string;
2994
+ op: "exists";
2995
+ })[];
2996
+ } | null;
2997
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2998
+ audience?: string | undefined;
2999
+ ttlSeconds: number;
3000
+ grant?: unknown;
3001
+ }, {
3002
+ readonly mode: 'value';
3003
+ readonly value: string;
3004
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3005
+ audience?: string | undefined;
3006
+ ttlSeconds: number;
3007
+ grant?: unknown;
3008
+ identity: string;
3009
+ }, {
3010
+ readonly mode: 'value';
3011
+ readonly value: string;
3012
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3013
+ policy: string;
3014
+ object: string;
3015
+ } | {
3016
+ checks: {
3017
+ policy: string;
3018
+ object: string;
3019
+ }[];
3020
+ }, {
3021
+ readonly mode: 'value';
3022
+ readonly value: {
3023
+ allowed: boolean;
3024
+ } | {
3025
+ decisions: {
3026
+ allowed: boolean;
3027
+ }[];
3028
+ };
3029
+ }, "authenticated", true, false>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", builder.ClassOwnerProjection<"node", {
3030
+ readonly abstract: true;
3031
+ readonly depth: 1;
3032
+ readonly properties: {
3033
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
3034
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
3035
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
3036
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
3037
+ claim: string;
3038
+ op: "contains";
3039
+ value: unknown;
3040
+ } | {
3041
+ claim: string;
3042
+ op: "eq";
3043
+ value: unknown;
3044
+ } | {
3045
+ claim: string;
3046
+ op: "exists";
3047
+ })[], ({
3048
+ claim: string;
3049
+ op: "contains";
3050
+ value: unknown;
3051
+ } | {
3052
+ claim: string;
3053
+ op: "eq";
3054
+ value: unknown;
3055
+ } | {
3056
+ claim: string;
3057
+ op: "exists";
3058
+ })[], false, "requiredClaims", "self", never>;
3059
+ };
3060
+ readonly methods: Readonly<{
3061
+ delegate: builder.Method<builder.CallableProjection<{
3062
+ principal: string;
3063
+ audience: string;
3064
+ ttlSeconds: number;
3065
+ attenuation: unknown;
3066
+ }, {
3067
+ readonly mode: 'value';
3068
+ readonly value: string;
3069
+ }, "authenticated", true, false>>;
3070
+ can: builder.Method<builder.CallableProjection<{
3071
+ policy: string;
3072
+ object: string;
3073
+ } | {
3074
+ checks: {
3075
+ policy: string;
3076
+ object: string;
3077
+ }[];
3078
+ }, {
3079
+ readonly mode: 'value';
3080
+ readonly value: {
3081
+ allowed: boolean;
3082
+ } | {
3083
+ decisions: {
3084
+ allowed: boolean;
3085
+ }[];
3086
+ };
3087
+ }, "authenticated", true, false>>;
3088
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
3089
+ readonly mode: 'value';
3090
+ readonly value: {
3091
+ id: string;
3092
+ iss: string;
3093
+ sub: string;
3094
+ frozen: boolean;
3095
+ requiredClaims: ({
3096
+ claim: string;
3097
+ op: "contains";
3098
+ value: unknown;
3099
+ } | {
3100
+ claim: string;
3101
+ op: "eq";
3102
+ value: unknown;
3103
+ } | {
3104
+ claim: string;
3105
+ op: "exists";
3106
+ })[];
3107
+ };
3108
+ }, "authenticated", true, false>>;
3109
+ whois: builder.Method<builder.CallableProjection<{
3110
+ iss: string;
3111
+ sub: string;
3112
+ }, {
3113
+ readonly mode: 'value';
3114
+ readonly value: {
3115
+ id: string;
3116
+ iss: string;
3117
+ sub: string;
3118
+ frozen: boolean;
3119
+ requiredClaims: ({
3120
+ claim: string;
3121
+ op: "contains";
3122
+ value: unknown;
3123
+ } | {
3124
+ claim: string;
3125
+ op: "eq";
3126
+ value: unknown;
3127
+ } | {
3128
+ claim: string;
3129
+ op: "exists";
3130
+ })[];
3131
+ } | null;
3132
+ }, "authorized", true, false>>;
3133
+ mint: builder.Method<builder.CallableProjection<{
3134
+ audience?: string | undefined;
3135
+ ttlSeconds: number;
3136
+ grant?: unknown;
3137
+ }, {
3138
+ readonly mode: 'value';
3139
+ readonly value: string;
3140
+ }, "authenticated", true, false>>;
3141
+ impersonate: builder.Method<builder.CallableProjection<{
3142
+ audience?: string | undefined;
3143
+ ttlSeconds: number;
3144
+ grant?: unknown;
3145
+ identity: string;
3146
+ }, {
3147
+ readonly mode: 'value';
3148
+ readonly value: string;
3149
+ }, "authorized", true, false>>;
3150
+ }>;
3151
+ }, builder.AuthoredPropertyProjection<({
3152
+ claim: string;
3153
+ op: "contains";
3154
+ value: unknown;
3155
+ } | {
3156
+ claim: string;
3157
+ op: "eq";
3158
+ value: unknown;
3159
+ } | {
3160
+ claim: string;
3161
+ op: "exists";
3162
+ })[], ({
3163
+ claim: string;
3164
+ op: "contains";
3165
+ value: unknown;
3166
+ } | {
3167
+ claim: string;
3168
+ op: "eq";
3169
+ value: unknown;
3170
+ } | {
3171
+ claim: string;
3172
+ op: "exists";
3173
+ })[], 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>, {
3174
+ readonly mode: 'value';
3175
+ readonly value: {
3176
+ id: string;
3177
+ iss: string;
3178
+ sub: string;
3179
+ frozen: boolean;
3180
+ requiredClaims: ({
3181
+ claim: string;
3182
+ op: "contains";
3183
+ value: unknown;
3184
+ } | {
3185
+ claim: string;
3186
+ op: "eq";
3187
+ value: unknown;
3188
+ } | {
3189
+ claim: string;
3190
+ op: "exists";
3191
+ })[];
3192
+ };
3193
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3194
+ principal: string;
3195
+ audience: string;
3196
+ ttlSeconds: number;
3197
+ attenuation: unknown;
3198
+ }, {
3199
+ readonly mode: 'value';
3200
+ readonly value: string;
3201
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3202
+ iss: string;
3203
+ sub: string;
3204
+ }, {
3205
+ readonly mode: 'value';
3206
+ readonly value: {
3207
+ id: string;
3208
+ iss: string;
3209
+ sub: string;
3210
+ frozen: boolean;
3211
+ requiredClaims: ({
3212
+ claim: string;
3213
+ op: "contains";
3214
+ value: unknown;
3215
+ } | {
3216
+ claim: string;
3217
+ op: "eq";
3218
+ value: unknown;
3219
+ } | {
3220
+ claim: string;
3221
+ op: "exists";
3222
+ })[];
3223
+ } | null;
3224
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3225
+ audience?: string | undefined;
3226
+ ttlSeconds: number;
3227
+ grant?: unknown;
3228
+ }, {
3229
+ readonly mode: 'value';
3230
+ readonly value: string;
3231
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3232
+ audience?: string | undefined;
3233
+ ttlSeconds: number;
3234
+ grant?: unknown;
3235
+ identity: string;
3236
+ }, {
3237
+ readonly mode: 'value';
3238
+ readonly value: string;
3239
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3240
+ policy: string;
3241
+ object: string;
3242
+ } | {
3243
+ checks: {
3244
+ policy: string;
3245
+ object: string;
3246
+ }[];
3247
+ }, {
3248
+ readonly mode: 'value';
3249
+ readonly value: {
3250
+ allowed: boolean;
3251
+ } | {
3252
+ decisions: {
3253
+ allowed: boolean;
3254
+ }[];
3255
+ };
3256
+ }, "authenticated", true, false>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
3257
+ readonly abstract: true;
3258
+ readonly depth: 1;
3259
+ readonly properties: {
3260
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
3261
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
3262
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
3263
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
3264
+ claim: string;
3265
+ op: "contains";
3266
+ value: unknown;
3267
+ } | {
3268
+ claim: string;
3269
+ op: "eq";
3270
+ value: unknown;
3271
+ } | {
3272
+ claim: string;
3273
+ op: "exists";
3274
+ })[], ({
3275
+ claim: string;
3276
+ op: "contains";
3277
+ value: unknown;
3278
+ } | {
3279
+ claim: string;
3280
+ op: "eq";
3281
+ value: unknown;
3282
+ } | {
3283
+ claim: string;
3284
+ op: "exists";
3285
+ })[], false, "requiredClaims", "self", never>;
3286
+ };
3287
+ readonly methods: Readonly<{
3288
+ delegate: builder.Method<builder.CallableProjection<{
3289
+ principal: string;
3290
+ audience: string;
3291
+ ttlSeconds: number;
3292
+ attenuation: unknown;
3293
+ }, {
3294
+ readonly mode: 'value';
3295
+ readonly value: string;
3296
+ }, "authenticated", true, false>>;
3297
+ can: builder.Method<builder.CallableProjection<{
3298
+ policy: string;
3299
+ object: string;
3300
+ } | {
3301
+ checks: {
3302
+ policy: string;
3303
+ object: string;
3304
+ }[];
3305
+ }, {
3306
+ readonly mode: 'value';
3307
+ readonly value: {
3308
+ allowed: boolean;
3309
+ } | {
3310
+ decisions: {
3311
+ allowed: boolean;
3312
+ }[];
3313
+ };
3314
+ }, "authenticated", true, false>>;
3315
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
3316
+ readonly mode: 'value';
3317
+ readonly value: {
3318
+ id: string;
3319
+ iss: string;
3320
+ sub: string;
3321
+ frozen: boolean;
3322
+ requiredClaims: ({
3323
+ claim: string;
3324
+ op: "contains";
3325
+ value: unknown;
3326
+ } | {
3327
+ claim: string;
3328
+ op: "eq";
3329
+ value: unknown;
3330
+ } | {
3331
+ claim: string;
3332
+ op: "exists";
3333
+ })[];
3334
+ };
3335
+ }, "authenticated", true, false>>;
3336
+ whois: builder.Method<builder.CallableProjection<{
3337
+ iss: string;
3338
+ sub: string;
3339
+ }, {
3340
+ readonly mode: 'value';
3341
+ readonly value: {
3342
+ id: string;
3343
+ iss: string;
3344
+ sub: string;
3345
+ frozen: boolean;
3346
+ requiredClaims: ({
3347
+ claim: string;
3348
+ op: "contains";
3349
+ value: unknown;
3350
+ } | {
3351
+ claim: string;
3352
+ op: "eq";
3353
+ value: unknown;
3354
+ } | {
3355
+ claim: string;
3356
+ op: "exists";
3357
+ })[];
3358
+ } | null;
3359
+ }, "authorized", true, false>>;
3360
+ mint: builder.Method<builder.CallableProjection<{
3361
+ audience?: string | undefined;
3362
+ ttlSeconds: number;
3363
+ grant?: unknown;
3364
+ }, {
3365
+ readonly mode: 'value';
3366
+ readonly value: string;
3367
+ }, "authenticated", true, false>>;
3368
+ impersonate: builder.Method<builder.CallableProjection<{
3369
+ audience?: string | undefined;
3370
+ ttlSeconds: number;
3371
+ grant?: unknown;
3372
+ identity: string;
3373
+ }, {
3374
+ readonly mode: 'value';
3375
+ readonly value: string;
3376
+ }, "authorized", true, false>>;
3377
+ }>;
3378
+ }, builder.AuthoredPropertyProjection<({
3379
+ claim: string;
3380
+ op: "contains";
3381
+ value: unknown;
3382
+ } | {
3383
+ claim: string;
3384
+ op: "eq";
3385
+ value: unknown;
3386
+ } | {
3387
+ claim: string;
3388
+ op: "exists";
3389
+ })[], ({
3390
+ claim: string;
3391
+ op: "contains";
3392
+ value: unknown;
3393
+ } | {
3394
+ claim: string;
3395
+ op: "eq";
3396
+ value: unknown;
3397
+ } | {
3398
+ claim: string;
3399
+ op: "exists";
3400
+ })[], 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>, {
3401
+ readonly mode: 'value';
3402
+ readonly value: {
3403
+ id: string;
3404
+ iss: string;
3405
+ sub: string;
3406
+ frozen: boolean;
3407
+ requiredClaims: ({
3408
+ claim: string;
3409
+ op: "contains";
3410
+ value: unknown;
3411
+ } | {
3412
+ claim: string;
3413
+ op: "eq";
3414
+ value: unknown;
3415
+ } | {
3416
+ claim: string;
3417
+ op: "exists";
3418
+ })[];
3419
+ };
3420
+ }, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3421
+ principal: string;
3422
+ audience: string;
3423
+ ttlSeconds: number;
3424
+ attenuation: unknown;
3425
+ }, {
3426
+ readonly mode: 'value';
3427
+ readonly value: string;
3428
+ }, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3429
+ iss: string;
3430
+ sub: string;
3431
+ }, {
3432
+ readonly mode: 'value';
3433
+ readonly value: {
3434
+ id: string;
3435
+ iss: string;
3436
+ sub: string;
3437
+ frozen: boolean;
3438
+ requiredClaims: ({
3439
+ claim: string;
3440
+ op: "contains";
3441
+ value: unknown;
3442
+ } | {
3443
+ claim: string;
3444
+ op: "eq";
3445
+ value: unknown;
3446
+ } | {
3447
+ claim: string;
3448
+ op: "exists";
3449
+ })[];
3450
+ } | null;
3451
+ }, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3452
+ audience?: string | undefined;
3453
+ ttlSeconds: number;
3454
+ grant?: unknown;
3455
+ }, {
3456
+ readonly mode: 'value';
3457
+ readonly value: string;
3458
+ }, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3459
+ audience?: string | undefined;
3460
+ ttlSeconds: number;
3461
+ grant?: unknown;
3462
+ identity: string;
3463
+ }, {
3464
+ readonly mode: 'value';
3465
+ readonly value: string;
3466
+ }, "authorized", true, false>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3467
+ policy: string;
3468
+ object: string;
3469
+ } | {
3470
+ checks: {
3471
+ policy: string;
3472
+ object: string;
3473
+ }[];
3474
+ }, {
3475
+ readonly mode: 'value';
3476
+ readonly value: {
3477
+ allowed: boolean;
3478
+ } | {
3479
+ decisions: {
3480
+ allowed: boolean;
3481
+ }[];
3482
+ };
3483
+ }, "authenticated", true, false>>, "can", unknown>>, never> | (builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "abstract", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "auth", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "input", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "kind", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "output", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "policy", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "static", "self", never>);
57
3484
  readonly abstractInstanceMethods: never;
58
3485
  readonly abstractStaticMethods: never;
59
3486
  readonly effectiveInstanceMethods: never;