@astrale-domains/shell 0.1.0-beta.24 → 0.1.0-beta.26

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.
@@ -22,5 +22,2309 @@ type ChangeResult = {
22
22
  readonly code: string;
23
23
  readonly outcomeKnown: boolean;
24
24
  };
25
- export declare const setGroupMembership: import("@astrale-os/sdk/mutation").Mutation<import("@astrale-os/sdk/schema").ResolvedDomainOfInput<"shell.astrale.ai", import("../../schema/index.js").ShellSchemaInput>, Change, ChangeResult>;
25
+ export declare const setGroupMembership: import("@astrale-os/sdk/mutation").Mutation<import("@astrale-os/sdk/schema").ResolvedDomainOfInput<"shell.astrale.ai", {
26
+ readonly dependencies: {
27
+ readonly kernel: import("@astrale-os/sdk/schema").KernelSchema;
28
+ };
29
+ readonly classes: {
30
+ readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
31
+ readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
32
+ readonly extends: readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
33
+ frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
34
+ readonly name: "frozen";
35
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
36
+ };
37
+ iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
38
+ readonly name: "iss";
39
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
40
+ };
41
+ requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
42
+ claim: string;
43
+ op: "contains";
44
+ value: unknown;
45
+ } | {
46
+ claim: string;
47
+ op: "eq";
48
+ value: unknown;
49
+ } | {
50
+ claim: string;
51
+ op: "exists";
52
+ })[], false, never> & {
53
+ readonly name: "requiredClaims";
54
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
55
+ };
56
+ sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
57
+ readonly name: "sub";
58
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
59
+ };
60
+ }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<({
61
+ claim: string;
62
+ op: "contains";
63
+ value: unknown;
64
+ } | {
65
+ claim: string;
66
+ op: "eq";
67
+ value: unknown;
68
+ } | {
69
+ claim: string;
70
+ op: "exists";
71
+ })[], false, never> & {
72
+ readonly name: "requiredClaims";
73
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
74
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
75
+ readonly name: "frozen";
76
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
77
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
78
+ readonly name: "iss";
79
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
80
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
81
+ readonly name: "sub";
82
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
83
+ })> & {
84
+ readonly byKey: Readonly<{
85
+ "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
86
+ readonly name: "frozen";
87
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
88
+ };
89
+ "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
90
+ readonly name: "iss";
91
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
92
+ };
93
+ "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
94
+ claim: string;
95
+ op: "contains";
96
+ value: unknown;
97
+ } | {
98
+ claim: string;
99
+ op: "eq";
100
+ value: unknown;
101
+ } | {
102
+ claim: string;
103
+ op: "exists";
104
+ })[], false, never> & {
105
+ readonly name: "requiredClaims";
106
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
107
+ };
108
+ "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
109
+ readonly name: "sub";
110
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
111
+ };
112
+ }>;
113
+ get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
114
+ "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
115
+ readonly name: "frozen";
116
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
117
+ };
118
+ "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
119
+ readonly name: "iss";
120
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
121
+ };
122
+ "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
123
+ claim: string;
124
+ op: "contains";
125
+ value: unknown;
126
+ } | {
127
+ claim: string;
128
+ op: "eq";
129
+ value: unknown;
130
+ } | {
131
+ claim: string;
132
+ op: "exists";
133
+ })[], false, never> & {
134
+ readonly name: "requiredClaims";
135
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
136
+ };
137
+ "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
138
+ readonly name: "sub";
139
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
140
+ };
141
+ }>[Key];
142
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
143
+ from(input: Readonly<{
144
+ readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
145
+ readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
146
+ readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
147
+ claim: string;
148
+ op: "contains";
149
+ value: unknown;
150
+ } | {
151
+ claim: string;
152
+ op: "eq";
153
+ value: unknown;
154
+ } | {
155
+ claim: string;
156
+ op: "exists";
157
+ })[] | undefined;
158
+ readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
159
+ } & {
160
+ readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
161
+ readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
162
+ readonly requiredClaims?: ({
163
+ claim: string;
164
+ op: "contains";
165
+ value: unknown;
166
+ } | {
167
+ claim: string;
168
+ op: "eq";
169
+ value: unknown;
170
+ } | {
171
+ claim: string;
172
+ op: "exists";
173
+ })[] | undefined;
174
+ readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
175
+ }>): import("@astrale-os/sdk/schema").PropertyValues;
176
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
177
+ readonly byKey: Readonly<{}>;
178
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
179
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
180
+ }, Readonly<Readonly<{
181
+ can: import("@astrale-os/sdk/schema").ResolvedMethod<{
182
+ policy: string;
183
+ object: string;
184
+ }, {
185
+ readonly mode: 'value';
186
+ readonly value: {
187
+ allowed: boolean;
188
+ };
189
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
190
+ readonly name: "can";
191
+ };
192
+ delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
193
+ principal: string;
194
+ audience: string;
195
+ ttlSeconds: number;
196
+ attenuation: unknown;
197
+ }, {
198
+ readonly mode: 'value';
199
+ readonly value: string;
200
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
201
+ readonly name: "delegate";
202
+ };
203
+ mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
204
+ audience?: string | undefined;
205
+ ttlSeconds: number;
206
+ grant?: unknown;
207
+ }, {
208
+ readonly mode: 'value';
209
+ readonly value: string;
210
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
211
+ readonly name: "mint";
212
+ };
213
+ whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
214
+ readonly mode: 'value';
215
+ readonly value: {
216
+ id: string;
217
+ iss: string;
218
+ sub: string;
219
+ frozen: boolean;
220
+ requiredClaims: ({
221
+ claim: string;
222
+ op: "contains";
223
+ value: unknown;
224
+ } | {
225
+ claim: string;
226
+ op: "eq";
227
+ value: unknown;
228
+ } | {
229
+ claim: string;
230
+ op: "exists";
231
+ })[];
232
+ };
233
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
234
+ readonly name: "whoami";
235
+ };
236
+ whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
237
+ iss: string;
238
+ sub: string;
239
+ }, {
240
+ readonly mode: 'value';
241
+ readonly value: {
242
+ id: string;
243
+ iss: string;
244
+ sub: string;
245
+ frozen: boolean;
246
+ requiredClaims: ({
247
+ claim: string;
248
+ op: "contains";
249
+ value: unknown;
250
+ } | {
251
+ claim: string;
252
+ op: "eq";
253
+ value: unknown;
254
+ } | {
255
+ claim: string;
256
+ op: "exists";
257
+ })[];
258
+ } | null;
259
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
260
+ readonly name: "whois";
261
+ };
262
+ }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
263
+ readonly mode: 'value';
264
+ readonly value: {
265
+ id: string;
266
+ iss: string;
267
+ sub: string;
268
+ frozen: boolean;
269
+ requiredClaims: ({
270
+ claim: string;
271
+ op: "contains";
272
+ value: unknown;
273
+ } | {
274
+ claim: string;
275
+ op: "eq";
276
+ value: unknown;
277
+ } | {
278
+ claim: string;
279
+ op: "exists";
280
+ })[];
281
+ };
282
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
283
+ readonly name: "whoami";
284
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
285
+ principal: string;
286
+ audience: string;
287
+ ttlSeconds: number;
288
+ attenuation: unknown;
289
+ }, {
290
+ readonly mode: 'value';
291
+ readonly value: string;
292
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
293
+ readonly name: "delegate";
294
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
295
+ iss: string;
296
+ sub: string;
297
+ }, {
298
+ readonly mode: 'value';
299
+ readonly value: {
300
+ id: string;
301
+ iss: string;
302
+ sub: string;
303
+ frozen: boolean;
304
+ requiredClaims: ({
305
+ claim: string;
306
+ op: "contains";
307
+ value: unknown;
308
+ } | {
309
+ claim: string;
310
+ op: "eq";
311
+ value: unknown;
312
+ } | {
313
+ claim: string;
314
+ op: "exists";
315
+ })[];
316
+ } | null;
317
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
318
+ readonly name: "whois";
319
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
320
+ policy: string;
321
+ object: string;
322
+ }, {
323
+ readonly mode: 'value';
324
+ readonly value: {
325
+ allowed: boolean;
326
+ };
327
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
328
+ readonly name: "can";
329
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
330
+ audience?: string | undefined;
331
+ ttlSeconds: number;
332
+ grant?: unknown;
333
+ }, {
334
+ readonly mode: 'value';
335
+ readonly value: string;
336
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
337
+ readonly name: "mint";
338
+ })> & {
339
+ readonly byKey: Readonly<{
340
+ "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
341
+ policy: string;
342
+ object: string;
343
+ }, {
344
+ readonly mode: 'value';
345
+ readonly value: {
346
+ allowed: boolean;
347
+ };
348
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
349
+ readonly name: "can";
350
+ };
351
+ "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
352
+ principal: string;
353
+ audience: string;
354
+ ttlSeconds: number;
355
+ attenuation: unknown;
356
+ }, {
357
+ readonly mode: 'value';
358
+ readonly value: string;
359
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
360
+ readonly name: "delegate";
361
+ };
362
+ "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
363
+ audience?: string | undefined;
364
+ ttlSeconds: number;
365
+ grant?: unknown;
366
+ }, {
367
+ readonly mode: 'value';
368
+ readonly value: string;
369
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
370
+ readonly name: "mint";
371
+ };
372
+ "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
373
+ readonly mode: 'value';
374
+ readonly value: {
375
+ id: string;
376
+ iss: string;
377
+ sub: string;
378
+ frozen: boolean;
379
+ requiredClaims: ({
380
+ claim: string;
381
+ op: "contains";
382
+ value: unknown;
383
+ } | {
384
+ claim: string;
385
+ op: "eq";
386
+ value: unknown;
387
+ } | {
388
+ claim: string;
389
+ op: "exists";
390
+ })[];
391
+ };
392
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
393
+ readonly name: "whoami";
394
+ };
395
+ "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
396
+ iss: string;
397
+ sub: string;
398
+ }, {
399
+ readonly mode: 'value';
400
+ readonly value: {
401
+ id: string;
402
+ iss: string;
403
+ sub: string;
404
+ frozen: boolean;
405
+ requiredClaims: ({
406
+ claim: string;
407
+ op: "contains";
408
+ value: unknown;
409
+ } | {
410
+ claim: string;
411
+ op: "eq";
412
+ value: unknown;
413
+ } | {
414
+ claim: string;
415
+ op: "exists";
416
+ })[];
417
+ } | null;
418
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
419
+ readonly name: "whois";
420
+ };
421
+ }>;
422
+ get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.delegate" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
423
+ "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
424
+ policy: string;
425
+ object: string;
426
+ }, {
427
+ readonly mode: 'value';
428
+ readonly value: {
429
+ allowed: boolean;
430
+ };
431
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
432
+ readonly name: "can";
433
+ };
434
+ "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
435
+ principal: string;
436
+ audience: string;
437
+ ttlSeconds: number;
438
+ attenuation: unknown;
439
+ }, {
440
+ readonly mode: 'value';
441
+ readonly value: string;
442
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
443
+ readonly name: "delegate";
444
+ };
445
+ "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
446
+ audience?: string | undefined;
447
+ ttlSeconds: number;
448
+ grant?: unknown;
449
+ }, {
450
+ readonly mode: 'value';
451
+ readonly value: string;
452
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
453
+ readonly name: "mint";
454
+ };
455
+ "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
456
+ readonly mode: 'value';
457
+ readonly value: {
458
+ id: string;
459
+ iss: string;
460
+ sub: string;
461
+ frozen: boolean;
462
+ requiredClaims: ({
463
+ claim: string;
464
+ op: "contains";
465
+ value: unknown;
466
+ } | {
467
+ claim: string;
468
+ op: "eq";
469
+ value: unknown;
470
+ } | {
471
+ claim: string;
472
+ op: "exists";
473
+ })[];
474
+ };
475
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
476
+ readonly name: "whoami";
477
+ };
478
+ "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
479
+ iss: string;
480
+ sub: string;
481
+ }, {
482
+ readonly mode: 'value';
483
+ readonly value: {
484
+ id: string;
485
+ iss: string;
486
+ sub: string;
487
+ frozen: boolean;
488
+ requiredClaims: ({
489
+ claim: string;
490
+ op: "contains";
491
+ value: unknown;
492
+ } | {
493
+ claim: string;
494
+ op: "eq";
495
+ value: unknown;
496
+ } | {
497
+ claim: string;
498
+ op: "exists";
499
+ })[];
500
+ } | null;
501
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
502
+ readonly name: "whois";
503
+ };
504
+ }>[Key];
505
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
506
+ }, Readonly<Readonly<{
507
+ frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
508
+ readonly name: "frozen";
509
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
510
+ };
511
+ iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
512
+ readonly name: "iss";
513
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
514
+ };
515
+ requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
516
+ claim: string;
517
+ op: "contains";
518
+ value: unknown;
519
+ } | {
520
+ claim: string;
521
+ op: "eq";
522
+ value: unknown;
523
+ } | {
524
+ claim: string;
525
+ op: "exists";
526
+ })[], false, never> & {
527
+ readonly name: "requiredClaims";
528
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
529
+ };
530
+ sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
531
+ readonly name: "sub";
532
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
533
+ };
534
+ }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<({
535
+ claim: string;
536
+ op: "contains";
537
+ value: unknown;
538
+ } | {
539
+ claim: string;
540
+ op: "eq";
541
+ value: unknown;
542
+ } | {
543
+ claim: string;
544
+ op: "exists";
545
+ })[], false, never> & {
546
+ readonly name: "requiredClaims";
547
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
548
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
549
+ readonly name: "frozen";
550
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
551
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
552
+ readonly name: "iss";
553
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
554
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
555
+ readonly name: "sub";
556
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
557
+ })> & {
558
+ readonly byKey: Readonly<{
559
+ "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
560
+ readonly name: "frozen";
561
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
562
+ };
563
+ "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
564
+ readonly name: "iss";
565
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
566
+ };
567
+ "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
568
+ claim: string;
569
+ op: "contains";
570
+ value: unknown;
571
+ } | {
572
+ claim: string;
573
+ op: "eq";
574
+ value: unknown;
575
+ } | {
576
+ claim: string;
577
+ op: "exists";
578
+ })[], false, never> & {
579
+ readonly name: "requiredClaims";
580
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
581
+ };
582
+ "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
583
+ readonly name: "sub";
584
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
585
+ };
586
+ }>;
587
+ get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
588
+ "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
589
+ readonly name: "frozen";
590
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
591
+ };
592
+ "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
593
+ readonly name: "iss";
594
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
595
+ };
596
+ "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
597
+ claim: string;
598
+ op: "contains";
599
+ value: unknown;
600
+ } | {
601
+ claim: string;
602
+ op: "eq";
603
+ value: unknown;
604
+ } | {
605
+ claim: string;
606
+ op: "exists";
607
+ })[], false, never> & {
608
+ readonly name: "requiredClaims";
609
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
610
+ };
611
+ "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
612
+ readonly name: "sub";
613
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
614
+ };
615
+ }>[Key];
616
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
617
+ from(input: Readonly<{
618
+ readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
619
+ readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
620
+ readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
621
+ claim: string;
622
+ op: "contains";
623
+ value: unknown;
624
+ } | {
625
+ claim: string;
626
+ op: "eq";
627
+ value: unknown;
628
+ } | {
629
+ claim: string;
630
+ op: "exists";
631
+ })[] | undefined;
632
+ readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
633
+ } & {
634
+ readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
635
+ readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
636
+ readonly requiredClaims?: ({
637
+ claim: string;
638
+ op: "contains";
639
+ value: unknown;
640
+ } | {
641
+ claim: string;
642
+ op: "eq";
643
+ value: unknown;
644
+ } | {
645
+ claim: string;
646
+ op: "exists";
647
+ })[] | undefined;
648
+ readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
649
+ }>): import("@astrale-os/sdk/schema").PropertyValues;
650
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
651
+ readonly byKey: Readonly<{}>;
652
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
653
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
654
+ }, Readonly<Readonly<{
655
+ can: import("@astrale-os/sdk/schema").ResolvedMethod<{
656
+ policy: string;
657
+ object: string;
658
+ }, {
659
+ readonly mode: 'value';
660
+ readonly value: {
661
+ allowed: boolean;
662
+ };
663
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
664
+ readonly name: "can";
665
+ };
666
+ delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
667
+ principal: string;
668
+ audience: string;
669
+ ttlSeconds: number;
670
+ attenuation: unknown;
671
+ }, {
672
+ readonly mode: 'value';
673
+ readonly value: string;
674
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
675
+ readonly name: "delegate";
676
+ };
677
+ mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
678
+ audience?: string | undefined;
679
+ ttlSeconds: number;
680
+ grant?: unknown;
681
+ }, {
682
+ readonly mode: 'value';
683
+ readonly value: string;
684
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
685
+ readonly name: "mint";
686
+ };
687
+ whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
688
+ readonly mode: 'value';
689
+ readonly value: {
690
+ id: string;
691
+ iss: string;
692
+ sub: string;
693
+ frozen: boolean;
694
+ requiredClaims: ({
695
+ claim: string;
696
+ op: "contains";
697
+ value: unknown;
698
+ } | {
699
+ claim: string;
700
+ op: "eq";
701
+ value: unknown;
702
+ } | {
703
+ claim: string;
704
+ op: "exists";
705
+ })[];
706
+ };
707
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
708
+ readonly name: "whoami";
709
+ };
710
+ whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
711
+ iss: string;
712
+ sub: string;
713
+ }, {
714
+ readonly mode: 'value';
715
+ readonly value: {
716
+ id: string;
717
+ iss: string;
718
+ sub: string;
719
+ frozen: boolean;
720
+ requiredClaims: ({
721
+ claim: string;
722
+ op: "contains";
723
+ value: unknown;
724
+ } | {
725
+ claim: string;
726
+ op: "eq";
727
+ value: unknown;
728
+ } | {
729
+ claim: string;
730
+ op: "exists";
731
+ })[];
732
+ } | null;
733
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
734
+ readonly name: "whois";
735
+ };
736
+ }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
737
+ readonly mode: 'value';
738
+ readonly value: {
739
+ id: string;
740
+ iss: string;
741
+ sub: string;
742
+ frozen: boolean;
743
+ requiredClaims: ({
744
+ claim: string;
745
+ op: "contains";
746
+ value: unknown;
747
+ } | {
748
+ claim: string;
749
+ op: "eq";
750
+ value: unknown;
751
+ } | {
752
+ claim: string;
753
+ op: "exists";
754
+ })[];
755
+ };
756
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
757
+ readonly name: "whoami";
758
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
759
+ principal: string;
760
+ audience: string;
761
+ ttlSeconds: number;
762
+ attenuation: unknown;
763
+ }, {
764
+ readonly mode: 'value';
765
+ readonly value: string;
766
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
767
+ readonly name: "delegate";
768
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
769
+ policy: string;
770
+ object: string;
771
+ }, {
772
+ readonly mode: 'value';
773
+ readonly value: {
774
+ allowed: boolean;
775
+ };
776
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
777
+ readonly name: "can";
778
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
779
+ iss: string;
780
+ sub: string;
781
+ }, {
782
+ readonly mode: 'value';
783
+ readonly value: {
784
+ id: string;
785
+ iss: string;
786
+ sub: string;
787
+ frozen: boolean;
788
+ requiredClaims: ({
789
+ claim: string;
790
+ op: "contains";
791
+ value: unknown;
792
+ } | {
793
+ claim: string;
794
+ op: "eq";
795
+ value: unknown;
796
+ } | {
797
+ claim: string;
798
+ op: "exists";
799
+ })[];
800
+ } | null;
801
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
802
+ readonly name: "whois";
803
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
804
+ audience?: string | undefined;
805
+ ttlSeconds: number;
806
+ grant?: unknown;
807
+ }, {
808
+ readonly mode: 'value';
809
+ readonly value: string;
810
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
811
+ readonly name: "mint";
812
+ })> & {
813
+ readonly byKey: Readonly<{
814
+ "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
815
+ policy: string;
816
+ object: string;
817
+ }, {
818
+ readonly mode: 'value';
819
+ readonly value: {
820
+ allowed: boolean;
821
+ };
822
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
823
+ readonly name: "can";
824
+ };
825
+ "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
826
+ principal: string;
827
+ audience: string;
828
+ ttlSeconds: number;
829
+ attenuation: unknown;
830
+ }, {
831
+ readonly mode: 'value';
832
+ readonly value: string;
833
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
834
+ readonly name: "delegate";
835
+ };
836
+ "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
837
+ audience?: string | undefined;
838
+ ttlSeconds: number;
839
+ grant?: unknown;
840
+ }, {
841
+ readonly mode: 'value';
842
+ readonly value: string;
843
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
844
+ readonly name: "mint";
845
+ };
846
+ "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
847
+ readonly mode: 'value';
848
+ readonly value: {
849
+ id: string;
850
+ iss: string;
851
+ sub: string;
852
+ frozen: boolean;
853
+ requiredClaims: ({
854
+ claim: string;
855
+ op: "contains";
856
+ value: unknown;
857
+ } | {
858
+ claim: string;
859
+ op: "eq";
860
+ value: unknown;
861
+ } | {
862
+ claim: string;
863
+ op: "exists";
864
+ })[];
865
+ };
866
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
867
+ readonly name: "whoami";
868
+ };
869
+ "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
870
+ iss: string;
871
+ sub: string;
872
+ }, {
873
+ readonly mode: 'value';
874
+ readonly value: {
875
+ id: string;
876
+ iss: string;
877
+ sub: string;
878
+ frozen: boolean;
879
+ requiredClaims: ({
880
+ claim: string;
881
+ op: "contains";
882
+ value: unknown;
883
+ } | {
884
+ claim: string;
885
+ op: "eq";
886
+ value: unknown;
887
+ } | {
888
+ claim: string;
889
+ op: "exists";
890
+ })[];
891
+ } | null;
892
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
893
+ readonly name: "whois";
894
+ };
895
+ }>;
896
+ get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.delegate" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
897
+ "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
898
+ policy: string;
899
+ object: string;
900
+ }, {
901
+ readonly mode: 'value';
902
+ readonly value: {
903
+ allowed: boolean;
904
+ };
905
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
906
+ readonly name: "can";
907
+ };
908
+ "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
909
+ principal: string;
910
+ audience: string;
911
+ ttlSeconds: number;
912
+ attenuation: unknown;
913
+ }, {
914
+ readonly mode: 'value';
915
+ readonly value: string;
916
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
917
+ readonly name: "delegate";
918
+ };
919
+ "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
920
+ audience?: string | undefined;
921
+ ttlSeconds: number;
922
+ grant?: unknown;
923
+ }, {
924
+ readonly mode: 'value';
925
+ readonly value: string;
926
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
927
+ readonly name: "mint";
928
+ };
929
+ "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
930
+ readonly mode: 'value';
931
+ readonly value: {
932
+ id: string;
933
+ iss: string;
934
+ sub: string;
935
+ frozen: boolean;
936
+ requiredClaims: ({
937
+ claim: string;
938
+ op: "contains";
939
+ value: unknown;
940
+ } | {
941
+ claim: string;
942
+ op: "eq";
943
+ value: unknown;
944
+ } | {
945
+ claim: string;
946
+ op: "exists";
947
+ })[];
948
+ };
949
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
950
+ readonly name: "whoami";
951
+ };
952
+ "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
953
+ iss: string;
954
+ sub: string;
955
+ }, {
956
+ readonly mode: 'value';
957
+ readonly value: {
958
+ id: string;
959
+ iss: string;
960
+ sub: string;
961
+ frozen: boolean;
962
+ requiredClaims: ({
963
+ claim: string;
964
+ op: "contains";
965
+ value: unknown;
966
+ } | {
967
+ claim: string;
968
+ op: "eq";
969
+ value: unknown;
970
+ } | {
971
+ claim: string;
972
+ op: "exists";
973
+ })[];
974
+ } | null;
975
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
976
+ readonly name: "whois";
977
+ };
978
+ }>[Key];
979
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
980
+ }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
981
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
982
+ readonly origin: "kernel.astrale.ai";
983
+ };
984
+ readonly kind: 'node';
985
+ readonly abstract: true;
986
+ }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
987
+ readonly byKey: Readonly<{}>;
988
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
989
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
990
+ from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
991
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
992
+ readonly byKey: Readonly<{}>;
993
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
994
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
995
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
996
+ readonly byKey: Readonly<{}>;
997
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
998
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
999
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
1000
+ readonly byKey: Readonly<{}>;
1001
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
1002
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1003
+ from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
1004
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
1005
+ readonly byKey: Readonly<{}>;
1006
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
1007
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1008
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
1009
+ readonly byKey: Readonly<{}>;
1010
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
1011
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1012
+ }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
1013
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
1014
+ readonly origin: "kernel.astrale.ai";
1015
+ };
1016
+ readonly kind: 'node';
1017
+ readonly abstract: true;
1018
+ }, readonly import("@astrale-os/sdk/schema").AnyResolvedClass[]> & {
1019
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
1020
+ readonly origin: "kernel.astrale.ai";
1021
+ };
1022
+ readonly key: "kernel.astrale.ai:class.Node";
1023
+ }]> & {
1024
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
1025
+ readonly origin: "kernel.astrale.ai";
1026
+ };
1027
+ readonly key: "kernel.astrale.ai:class.Identity";
1028
+ }];
1029
+ readonly properties: {
1030
+ readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
1031
+ };
1032
+ readonly methods: {
1033
+ readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1034
+ user: string;
1035
+ email: string;
1036
+ }, {
1037
+ readonly mode: 'value';
1038
+ readonly value: {
1039
+ invitationId: string;
1040
+ user: string;
1041
+ state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
1042
+ };
1043
+ }, "authorized", true, false>>;
1044
+ };
1045
+ }>;
1046
+ readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
1047
+ readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
1048
+ readonly extends: readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
1049
+ frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1050
+ readonly name: "frozen";
1051
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1052
+ };
1053
+ iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1054
+ readonly name: "iss";
1055
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1056
+ };
1057
+ requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
1058
+ claim: string;
1059
+ op: "contains";
1060
+ value: unknown;
1061
+ } | {
1062
+ claim: string;
1063
+ op: "eq";
1064
+ value: unknown;
1065
+ } | {
1066
+ claim: string;
1067
+ op: "exists";
1068
+ })[], false, never> & {
1069
+ readonly name: "requiredClaims";
1070
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1071
+ };
1072
+ sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1073
+ readonly name: "sub";
1074
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1075
+ };
1076
+ }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<({
1077
+ claim: string;
1078
+ op: "contains";
1079
+ value: unknown;
1080
+ } | {
1081
+ claim: string;
1082
+ op: "eq";
1083
+ value: unknown;
1084
+ } | {
1085
+ claim: string;
1086
+ op: "exists";
1087
+ })[], false, never> & {
1088
+ readonly name: "requiredClaims";
1089
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1090
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1091
+ readonly name: "frozen";
1092
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1093
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1094
+ readonly name: "iss";
1095
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1096
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1097
+ readonly name: "sub";
1098
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1099
+ })> & {
1100
+ readonly byKey: Readonly<{
1101
+ "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1102
+ readonly name: "frozen";
1103
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1104
+ };
1105
+ "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1106
+ readonly name: "iss";
1107
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1108
+ };
1109
+ "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
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, never> & {
1121
+ readonly name: "requiredClaims";
1122
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1123
+ };
1124
+ "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1125
+ readonly name: "sub";
1126
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1127
+ };
1128
+ }>;
1129
+ get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
1130
+ "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1131
+ readonly name: "frozen";
1132
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1133
+ };
1134
+ "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1135
+ readonly name: "iss";
1136
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1137
+ };
1138
+ "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
1139
+ claim: string;
1140
+ op: "contains";
1141
+ value: unknown;
1142
+ } | {
1143
+ claim: string;
1144
+ op: "eq";
1145
+ value: unknown;
1146
+ } | {
1147
+ claim: string;
1148
+ op: "exists";
1149
+ })[], false, never> & {
1150
+ readonly name: "requiredClaims";
1151
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1152
+ };
1153
+ "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1154
+ readonly name: "sub";
1155
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1156
+ };
1157
+ }>[Key];
1158
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1159
+ from(input: Readonly<{
1160
+ readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1161
+ readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1162
+ readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
1163
+ claim: string;
1164
+ op: "contains";
1165
+ value: unknown;
1166
+ } | {
1167
+ claim: string;
1168
+ op: "eq";
1169
+ value: unknown;
1170
+ } | {
1171
+ claim: string;
1172
+ op: "exists";
1173
+ })[] | undefined;
1174
+ readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1175
+ } & {
1176
+ readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1177
+ readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1178
+ readonly requiredClaims?: ({
1179
+ claim: string;
1180
+ op: "contains";
1181
+ value: unknown;
1182
+ } | {
1183
+ claim: string;
1184
+ op: "eq";
1185
+ value: unknown;
1186
+ } | {
1187
+ claim: string;
1188
+ op: "exists";
1189
+ })[] | undefined;
1190
+ readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1191
+ }>): import("@astrale-os/sdk/schema").PropertyValues;
1192
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
1193
+ readonly byKey: Readonly<{}>;
1194
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
1195
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1196
+ }, Readonly<Readonly<{
1197
+ can: import("@astrale-os/sdk/schema").ResolvedMethod<{
1198
+ policy: string;
1199
+ object: string;
1200
+ }, {
1201
+ readonly mode: 'value';
1202
+ readonly value: {
1203
+ allowed: boolean;
1204
+ };
1205
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1206
+ readonly name: "can";
1207
+ };
1208
+ delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
1209
+ principal: string;
1210
+ audience: string;
1211
+ ttlSeconds: number;
1212
+ attenuation: unknown;
1213
+ }, {
1214
+ readonly mode: 'value';
1215
+ readonly value: string;
1216
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1217
+ readonly name: "delegate";
1218
+ };
1219
+ mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
1220
+ audience?: string | undefined;
1221
+ ttlSeconds: number;
1222
+ grant?: unknown;
1223
+ }, {
1224
+ readonly mode: 'value';
1225
+ readonly value: string;
1226
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1227
+ readonly name: "mint";
1228
+ };
1229
+ whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1230
+ readonly mode: 'value';
1231
+ readonly value: {
1232
+ id: string;
1233
+ iss: string;
1234
+ sub: string;
1235
+ frozen: boolean;
1236
+ requiredClaims: ({
1237
+ claim: string;
1238
+ op: "contains";
1239
+ value: unknown;
1240
+ } | {
1241
+ claim: string;
1242
+ op: "eq";
1243
+ value: unknown;
1244
+ } | {
1245
+ claim: string;
1246
+ op: "exists";
1247
+ })[];
1248
+ };
1249
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1250
+ readonly name: "whoami";
1251
+ };
1252
+ whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
1253
+ iss: string;
1254
+ sub: string;
1255
+ }, {
1256
+ readonly mode: 'value';
1257
+ readonly value: {
1258
+ id: string;
1259
+ iss: string;
1260
+ sub: string;
1261
+ frozen: boolean;
1262
+ requiredClaims: ({
1263
+ claim: string;
1264
+ op: "contains";
1265
+ value: unknown;
1266
+ } | {
1267
+ claim: string;
1268
+ op: "eq";
1269
+ value: unknown;
1270
+ } | {
1271
+ claim: string;
1272
+ op: "exists";
1273
+ })[];
1274
+ } | null;
1275
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1276
+ readonly name: "whois";
1277
+ };
1278
+ }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1279
+ readonly mode: 'value';
1280
+ readonly value: {
1281
+ id: string;
1282
+ iss: string;
1283
+ sub: string;
1284
+ frozen: boolean;
1285
+ requiredClaims: ({
1286
+ claim: string;
1287
+ op: "contains";
1288
+ value: unknown;
1289
+ } | {
1290
+ claim: string;
1291
+ op: "eq";
1292
+ value: unknown;
1293
+ } | {
1294
+ claim: string;
1295
+ op: "exists";
1296
+ })[];
1297
+ };
1298
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1299
+ readonly name: "whoami";
1300
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1301
+ principal: string;
1302
+ audience: string;
1303
+ ttlSeconds: number;
1304
+ attenuation: unknown;
1305
+ }, {
1306
+ readonly mode: 'value';
1307
+ readonly value: string;
1308
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1309
+ readonly name: "delegate";
1310
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1311
+ iss: string;
1312
+ sub: string;
1313
+ }, {
1314
+ readonly mode: 'value';
1315
+ readonly value: {
1316
+ id: string;
1317
+ iss: string;
1318
+ sub: string;
1319
+ frozen: boolean;
1320
+ requiredClaims: ({
1321
+ claim: string;
1322
+ op: "contains";
1323
+ value: unknown;
1324
+ } | {
1325
+ claim: string;
1326
+ op: "eq";
1327
+ value: unknown;
1328
+ } | {
1329
+ claim: string;
1330
+ op: "exists";
1331
+ })[];
1332
+ } | null;
1333
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1334
+ readonly name: "whois";
1335
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1336
+ policy: string;
1337
+ object: string;
1338
+ }, {
1339
+ readonly mode: 'value';
1340
+ readonly value: {
1341
+ allowed: boolean;
1342
+ };
1343
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1344
+ readonly name: "can";
1345
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1346
+ audience?: string | undefined;
1347
+ ttlSeconds: number;
1348
+ grant?: unknown;
1349
+ }, {
1350
+ readonly mode: 'value';
1351
+ readonly value: string;
1352
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1353
+ readonly name: "mint";
1354
+ })> & {
1355
+ readonly byKey: Readonly<{
1356
+ "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
1357
+ policy: string;
1358
+ object: string;
1359
+ }, {
1360
+ readonly mode: 'value';
1361
+ readonly value: {
1362
+ allowed: boolean;
1363
+ };
1364
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1365
+ readonly name: "can";
1366
+ };
1367
+ "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1368
+ principal: string;
1369
+ audience: string;
1370
+ ttlSeconds: number;
1371
+ attenuation: unknown;
1372
+ }, {
1373
+ readonly mode: 'value';
1374
+ readonly value: string;
1375
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1376
+ readonly name: "delegate";
1377
+ };
1378
+ "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
1379
+ audience?: string | undefined;
1380
+ ttlSeconds: number;
1381
+ grant?: unknown;
1382
+ }, {
1383
+ readonly mode: 'value';
1384
+ readonly value: string;
1385
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1386
+ readonly name: "mint";
1387
+ };
1388
+ "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1389
+ readonly mode: 'value';
1390
+ readonly value: {
1391
+ id: string;
1392
+ iss: string;
1393
+ sub: string;
1394
+ frozen: boolean;
1395
+ requiredClaims: ({
1396
+ claim: string;
1397
+ op: "contains";
1398
+ value: unknown;
1399
+ } | {
1400
+ claim: string;
1401
+ op: "eq";
1402
+ value: unknown;
1403
+ } | {
1404
+ claim: string;
1405
+ op: "exists";
1406
+ })[];
1407
+ };
1408
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1409
+ readonly name: "whoami";
1410
+ };
1411
+ "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
1412
+ iss: string;
1413
+ sub: string;
1414
+ }, {
1415
+ readonly mode: 'value';
1416
+ readonly value: {
1417
+ id: string;
1418
+ iss: string;
1419
+ sub: string;
1420
+ frozen: boolean;
1421
+ requiredClaims: ({
1422
+ claim: string;
1423
+ op: "contains";
1424
+ value: unknown;
1425
+ } | {
1426
+ claim: string;
1427
+ op: "eq";
1428
+ value: unknown;
1429
+ } | {
1430
+ claim: string;
1431
+ op: "exists";
1432
+ })[];
1433
+ } | null;
1434
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1435
+ readonly name: "whois";
1436
+ };
1437
+ }>;
1438
+ get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.delegate" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
1439
+ "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
1440
+ policy: string;
1441
+ object: string;
1442
+ }, {
1443
+ readonly mode: 'value';
1444
+ readonly value: {
1445
+ allowed: boolean;
1446
+ };
1447
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1448
+ readonly name: "can";
1449
+ };
1450
+ "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1451
+ principal: string;
1452
+ audience: string;
1453
+ ttlSeconds: number;
1454
+ attenuation: unknown;
1455
+ }, {
1456
+ readonly mode: 'value';
1457
+ readonly value: string;
1458
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1459
+ readonly name: "delegate";
1460
+ };
1461
+ "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
1462
+ audience?: string | undefined;
1463
+ ttlSeconds: number;
1464
+ grant?: unknown;
1465
+ }, {
1466
+ readonly mode: 'value';
1467
+ readonly value: string;
1468
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1469
+ readonly name: "mint";
1470
+ };
1471
+ "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1472
+ readonly mode: 'value';
1473
+ readonly value: {
1474
+ id: string;
1475
+ iss: string;
1476
+ sub: string;
1477
+ frozen: boolean;
1478
+ requiredClaims: ({
1479
+ claim: string;
1480
+ op: "contains";
1481
+ value: unknown;
1482
+ } | {
1483
+ claim: string;
1484
+ op: "eq";
1485
+ value: unknown;
1486
+ } | {
1487
+ claim: string;
1488
+ op: "exists";
1489
+ })[];
1490
+ };
1491
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1492
+ readonly name: "whoami";
1493
+ };
1494
+ "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
1495
+ iss: string;
1496
+ sub: string;
1497
+ }, {
1498
+ readonly mode: 'value';
1499
+ readonly value: {
1500
+ id: string;
1501
+ iss: string;
1502
+ sub: string;
1503
+ frozen: boolean;
1504
+ requiredClaims: ({
1505
+ claim: string;
1506
+ op: "contains";
1507
+ value: unknown;
1508
+ } | {
1509
+ claim: string;
1510
+ op: "eq";
1511
+ value: unknown;
1512
+ } | {
1513
+ claim: string;
1514
+ op: "exists";
1515
+ })[];
1516
+ } | null;
1517
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1518
+ readonly name: "whois";
1519
+ };
1520
+ }>[Key];
1521
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1522
+ }, Readonly<Readonly<{
1523
+ frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1524
+ readonly name: "frozen";
1525
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1526
+ };
1527
+ iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1528
+ readonly name: "iss";
1529
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1530
+ };
1531
+ requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
1532
+ claim: string;
1533
+ op: "contains";
1534
+ value: unknown;
1535
+ } | {
1536
+ claim: string;
1537
+ op: "eq";
1538
+ value: unknown;
1539
+ } | {
1540
+ claim: string;
1541
+ op: "exists";
1542
+ })[], false, never> & {
1543
+ readonly name: "requiredClaims";
1544
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1545
+ };
1546
+ sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1547
+ readonly name: "sub";
1548
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1549
+ };
1550
+ }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<({
1551
+ claim: string;
1552
+ op: "contains";
1553
+ value: unknown;
1554
+ } | {
1555
+ claim: string;
1556
+ op: "eq";
1557
+ value: unknown;
1558
+ } | {
1559
+ claim: string;
1560
+ op: "exists";
1561
+ })[], false, never> & {
1562
+ readonly name: "requiredClaims";
1563
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1564
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1565
+ readonly name: "frozen";
1566
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1567
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1568
+ readonly name: "iss";
1569
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1570
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1571
+ readonly name: "sub";
1572
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1573
+ })> & {
1574
+ readonly byKey: Readonly<{
1575
+ "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1576
+ readonly name: "frozen";
1577
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1578
+ };
1579
+ "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1580
+ readonly name: "iss";
1581
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1582
+ };
1583
+ "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
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
+ })[], false, never> & {
1595
+ readonly name: "requiredClaims";
1596
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1597
+ };
1598
+ "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1599
+ readonly name: "sub";
1600
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1601
+ };
1602
+ }>;
1603
+ get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
1604
+ "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1605
+ readonly name: "frozen";
1606
+ readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1607
+ };
1608
+ "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1609
+ readonly name: "iss";
1610
+ readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1611
+ };
1612
+ "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
1613
+ claim: string;
1614
+ op: "contains";
1615
+ value: unknown;
1616
+ } | {
1617
+ claim: string;
1618
+ op: "eq";
1619
+ value: unknown;
1620
+ } | {
1621
+ claim: string;
1622
+ op: "exists";
1623
+ })[], false, never> & {
1624
+ readonly name: "requiredClaims";
1625
+ readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1626
+ };
1627
+ "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1628
+ readonly name: "sub";
1629
+ readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1630
+ };
1631
+ }>[Key];
1632
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1633
+ from(input: Readonly<{
1634
+ readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1635
+ readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1636
+ readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
1637
+ claim: string;
1638
+ op: "contains";
1639
+ value: unknown;
1640
+ } | {
1641
+ claim: string;
1642
+ op: "eq";
1643
+ value: unknown;
1644
+ } | {
1645
+ claim: string;
1646
+ op: "exists";
1647
+ })[] | undefined;
1648
+ readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1649
+ } & {
1650
+ readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1651
+ readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1652
+ readonly requiredClaims?: ({
1653
+ claim: string;
1654
+ op: "contains";
1655
+ value: unknown;
1656
+ } | {
1657
+ claim: string;
1658
+ op: "eq";
1659
+ value: unknown;
1660
+ } | {
1661
+ claim: string;
1662
+ op: "exists";
1663
+ })[] | undefined;
1664
+ readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1665
+ }>): import("@astrale-os/sdk/schema").PropertyValues;
1666
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
1667
+ readonly byKey: Readonly<{}>;
1668
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
1669
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1670
+ }, Readonly<Readonly<{
1671
+ can: import("@astrale-os/sdk/schema").ResolvedMethod<{
1672
+ policy: string;
1673
+ object: string;
1674
+ }, {
1675
+ readonly mode: 'value';
1676
+ readonly value: {
1677
+ allowed: boolean;
1678
+ };
1679
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1680
+ readonly name: "can";
1681
+ };
1682
+ delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
1683
+ principal: string;
1684
+ audience: string;
1685
+ ttlSeconds: number;
1686
+ attenuation: unknown;
1687
+ }, {
1688
+ readonly mode: 'value';
1689
+ readonly value: string;
1690
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1691
+ readonly name: "delegate";
1692
+ };
1693
+ mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
1694
+ audience?: string | undefined;
1695
+ ttlSeconds: number;
1696
+ grant?: unknown;
1697
+ }, {
1698
+ readonly mode: 'value';
1699
+ readonly value: string;
1700
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1701
+ readonly name: "mint";
1702
+ };
1703
+ whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1704
+ readonly mode: 'value';
1705
+ readonly value: {
1706
+ id: string;
1707
+ iss: string;
1708
+ sub: string;
1709
+ frozen: boolean;
1710
+ requiredClaims: ({
1711
+ claim: string;
1712
+ op: "contains";
1713
+ value: unknown;
1714
+ } | {
1715
+ claim: string;
1716
+ op: "eq";
1717
+ value: unknown;
1718
+ } | {
1719
+ claim: string;
1720
+ op: "exists";
1721
+ })[];
1722
+ };
1723
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1724
+ readonly name: "whoami";
1725
+ };
1726
+ whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
1727
+ iss: string;
1728
+ sub: string;
1729
+ }, {
1730
+ readonly mode: 'value';
1731
+ readonly value: {
1732
+ id: string;
1733
+ iss: string;
1734
+ sub: string;
1735
+ frozen: boolean;
1736
+ requiredClaims: ({
1737
+ claim: string;
1738
+ op: "contains";
1739
+ value: unknown;
1740
+ } | {
1741
+ claim: string;
1742
+ op: "eq";
1743
+ value: unknown;
1744
+ } | {
1745
+ claim: string;
1746
+ op: "exists";
1747
+ })[];
1748
+ } | null;
1749
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1750
+ readonly name: "whois";
1751
+ };
1752
+ }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1753
+ readonly mode: 'value';
1754
+ readonly value: {
1755
+ id: string;
1756
+ iss: string;
1757
+ sub: string;
1758
+ frozen: boolean;
1759
+ requiredClaims: ({
1760
+ claim: string;
1761
+ op: "contains";
1762
+ value: unknown;
1763
+ } | {
1764
+ claim: string;
1765
+ op: "eq";
1766
+ value: unknown;
1767
+ } | {
1768
+ claim: string;
1769
+ op: "exists";
1770
+ })[];
1771
+ };
1772
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1773
+ readonly name: "whoami";
1774
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1775
+ principal: string;
1776
+ audience: string;
1777
+ ttlSeconds: number;
1778
+ attenuation: unknown;
1779
+ }, {
1780
+ readonly mode: 'value';
1781
+ readonly value: string;
1782
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1783
+ readonly name: "delegate";
1784
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1785
+ policy: string;
1786
+ object: string;
1787
+ }, {
1788
+ readonly mode: 'value';
1789
+ readonly value: {
1790
+ allowed: boolean;
1791
+ };
1792
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1793
+ readonly name: "can";
1794
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1795
+ iss: string;
1796
+ sub: string;
1797
+ }, {
1798
+ readonly mode: 'value';
1799
+ readonly value: {
1800
+ id: string;
1801
+ iss: string;
1802
+ sub: string;
1803
+ frozen: boolean;
1804
+ requiredClaims: ({
1805
+ claim: string;
1806
+ op: "contains";
1807
+ value: unknown;
1808
+ } | {
1809
+ claim: string;
1810
+ op: "eq";
1811
+ value: unknown;
1812
+ } | {
1813
+ claim: string;
1814
+ op: "exists";
1815
+ })[];
1816
+ } | null;
1817
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1818
+ readonly name: "whois";
1819
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1820
+ audience?: string | undefined;
1821
+ ttlSeconds: number;
1822
+ grant?: unknown;
1823
+ }, {
1824
+ readonly mode: 'value';
1825
+ readonly value: string;
1826
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1827
+ readonly name: "mint";
1828
+ })> & {
1829
+ readonly byKey: Readonly<{
1830
+ "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
1831
+ policy: string;
1832
+ object: string;
1833
+ }, {
1834
+ readonly mode: 'value';
1835
+ readonly value: {
1836
+ allowed: boolean;
1837
+ };
1838
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1839
+ readonly name: "can";
1840
+ };
1841
+ "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1842
+ principal: string;
1843
+ audience: string;
1844
+ ttlSeconds: number;
1845
+ attenuation: unknown;
1846
+ }, {
1847
+ readonly mode: 'value';
1848
+ readonly value: string;
1849
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1850
+ readonly name: "delegate";
1851
+ };
1852
+ "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
1853
+ audience?: string | undefined;
1854
+ ttlSeconds: number;
1855
+ grant?: unknown;
1856
+ }, {
1857
+ readonly mode: 'value';
1858
+ readonly value: string;
1859
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1860
+ readonly name: "mint";
1861
+ };
1862
+ "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1863
+ readonly mode: 'value';
1864
+ readonly value: {
1865
+ id: string;
1866
+ iss: string;
1867
+ sub: string;
1868
+ frozen: boolean;
1869
+ requiredClaims: ({
1870
+ claim: string;
1871
+ op: "contains";
1872
+ value: unknown;
1873
+ } | {
1874
+ claim: string;
1875
+ op: "eq";
1876
+ value: unknown;
1877
+ } | {
1878
+ claim: string;
1879
+ op: "exists";
1880
+ })[];
1881
+ };
1882
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1883
+ readonly name: "whoami";
1884
+ };
1885
+ "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
1886
+ iss: string;
1887
+ sub: string;
1888
+ }, {
1889
+ readonly mode: 'value';
1890
+ readonly value: {
1891
+ id: string;
1892
+ iss: string;
1893
+ sub: string;
1894
+ frozen: boolean;
1895
+ requiredClaims: ({
1896
+ claim: string;
1897
+ op: "contains";
1898
+ value: unknown;
1899
+ } | {
1900
+ claim: string;
1901
+ op: "eq";
1902
+ value: unknown;
1903
+ } | {
1904
+ claim: string;
1905
+ op: "exists";
1906
+ })[];
1907
+ } | null;
1908
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1909
+ readonly name: "whois";
1910
+ };
1911
+ }>;
1912
+ get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.delegate" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
1913
+ "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
1914
+ policy: string;
1915
+ object: string;
1916
+ }, {
1917
+ readonly mode: 'value';
1918
+ readonly value: {
1919
+ allowed: boolean;
1920
+ };
1921
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1922
+ readonly name: "can";
1923
+ };
1924
+ "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1925
+ principal: string;
1926
+ audience: string;
1927
+ ttlSeconds: number;
1928
+ attenuation: unknown;
1929
+ }, {
1930
+ readonly mode: 'value';
1931
+ readonly value: string;
1932
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1933
+ readonly name: "delegate";
1934
+ };
1935
+ "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
1936
+ audience?: string | undefined;
1937
+ ttlSeconds: number;
1938
+ grant?: unknown;
1939
+ }, {
1940
+ readonly mode: 'value';
1941
+ readonly value: string;
1942
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1943
+ readonly name: "mint";
1944
+ };
1945
+ "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1946
+ readonly mode: 'value';
1947
+ readonly value: {
1948
+ id: string;
1949
+ iss: string;
1950
+ sub: string;
1951
+ frozen: boolean;
1952
+ requiredClaims: ({
1953
+ claim: string;
1954
+ op: "contains";
1955
+ value: unknown;
1956
+ } | {
1957
+ claim: string;
1958
+ op: "eq";
1959
+ value: unknown;
1960
+ } | {
1961
+ claim: string;
1962
+ op: "exists";
1963
+ })[];
1964
+ };
1965
+ }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1966
+ readonly name: "whoami";
1967
+ };
1968
+ "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
1969
+ iss: string;
1970
+ sub: string;
1971
+ }, {
1972
+ readonly mode: 'value';
1973
+ readonly value: {
1974
+ id: string;
1975
+ iss: string;
1976
+ sub: string;
1977
+ frozen: boolean;
1978
+ requiredClaims: ({
1979
+ claim: string;
1980
+ op: "contains";
1981
+ value: unknown;
1982
+ } | {
1983
+ claim: string;
1984
+ op: "eq";
1985
+ value: unknown;
1986
+ } | {
1987
+ claim: string;
1988
+ op: "exists";
1989
+ })[];
1990
+ } | null;
1991
+ }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1992
+ readonly name: "whois";
1993
+ };
1994
+ }>[Key];
1995
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1996
+ }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
1997
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
1998
+ readonly origin: "kernel.astrale.ai";
1999
+ };
2000
+ readonly kind: 'node';
2001
+ readonly abstract: true;
2002
+ }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
2003
+ readonly byKey: Readonly<{}>;
2004
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2005
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2006
+ from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2007
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2008
+ readonly byKey: Readonly<{}>;
2009
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2010
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2011
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2012
+ readonly byKey: Readonly<{}>;
2013
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2014
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2015
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2016
+ readonly byKey: Readonly<{}>;
2017
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2018
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2019
+ from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2020
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2021
+ readonly byKey: Readonly<{}>;
2022
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2023
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2024
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2025
+ readonly byKey: Readonly<{}>;
2026
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2027
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2028
+ }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2029
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2030
+ readonly origin: "kernel.astrale.ai";
2031
+ };
2032
+ readonly kind: 'node';
2033
+ readonly abstract: true;
2034
+ }, readonly import("@astrale-os/sdk/schema").AnyResolvedClass[]> & {
2035
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2036
+ readonly origin: "kernel.astrale.ai";
2037
+ };
2038
+ readonly key: "kernel.astrale.ai:class.Node";
2039
+ }]> & {
2040
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
2041
+ readonly origin: "kernel.astrale.ai";
2042
+ };
2043
+ readonly key: "kernel.astrale.ai:class.Identity";
2044
+ }, import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
2045
+ name: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2046
+ readonly name: "name";
2047
+ readonly key: "kernel.astrale.ai:class.Named.property.name";
2048
+ };
2049
+ }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2050
+ readonly name: "name";
2051
+ readonly key: "kernel.astrale.ai:class.Named.property.name";
2052
+ }> & {
2053
+ readonly byKey: Readonly<{
2054
+ "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2055
+ readonly name: "name";
2056
+ readonly key: "kernel.astrale.ai:class.Named.property.name";
2057
+ };
2058
+ }>;
2059
+ get<Key extends "kernel.astrale.ai:class.Named.property.name">(key: Key): Readonly<{
2060
+ "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2061
+ readonly name: "name";
2062
+ readonly key: "kernel.astrale.ai:class.Named.property.name";
2063
+ };
2064
+ }>[Key];
2065
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2066
+ from(input: Readonly<{
2067
+ readonly "kernel.astrale.ai:class.Named.property.name"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2068
+ } & {
2069
+ readonly name?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2070
+ }>): import("@astrale-os/sdk/schema").PropertyValues;
2071
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2072
+ readonly byKey: Readonly<{}>;
2073
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2074
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2075
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2076
+ readonly byKey: Readonly<{}>;
2077
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2078
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2079
+ }, Readonly<Readonly<{
2080
+ name: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2081
+ readonly name: "name";
2082
+ readonly key: "kernel.astrale.ai:class.Named.property.name";
2083
+ };
2084
+ }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2085
+ readonly name: "name";
2086
+ readonly key: "kernel.astrale.ai:class.Named.property.name";
2087
+ }> & {
2088
+ readonly byKey: Readonly<{
2089
+ "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2090
+ readonly name: "name";
2091
+ readonly key: "kernel.astrale.ai:class.Named.property.name";
2092
+ };
2093
+ }>;
2094
+ get<Key extends "kernel.astrale.ai:class.Named.property.name">(key: Key): Readonly<{
2095
+ "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2096
+ readonly name: "name";
2097
+ readonly key: "kernel.astrale.ai:class.Named.property.name";
2098
+ };
2099
+ }>[Key];
2100
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2101
+ from(input: Readonly<{
2102
+ readonly "kernel.astrale.ai:class.Named.property.name"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2103
+ } & {
2104
+ readonly name?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2105
+ }>): import("@astrale-os/sdk/schema").PropertyValues;
2106
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2107
+ readonly byKey: Readonly<{}>;
2108
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2109
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2110
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2111
+ readonly byKey: Readonly<{}>;
2112
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2113
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2114
+ }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2115
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Named"> & {
2116
+ readonly origin: "kernel.astrale.ai";
2117
+ };
2118
+ readonly kind: 'node';
2119
+ readonly abstract: true;
2120
+ }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
2121
+ readonly byKey: Readonly<{}>;
2122
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2123
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2124
+ from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2125
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2126
+ readonly byKey: Readonly<{}>;
2127
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2128
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2129
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2130
+ readonly byKey: Readonly<{}>;
2131
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2132
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2133
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2134
+ readonly byKey: Readonly<{}>;
2135
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2136
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2137
+ from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2138
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2139
+ readonly byKey: Readonly<{}>;
2140
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2141
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2142
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2143
+ readonly byKey: Readonly<{}>;
2144
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2145
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2146
+ }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2147
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2148
+ readonly origin: "kernel.astrale.ai";
2149
+ };
2150
+ readonly kind: 'node';
2151
+ readonly abstract: true;
2152
+ }, readonly import("@astrale-os/sdk/schema").AnyResolvedClass[]> & {
2153
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2154
+ readonly origin: "kernel.astrale.ai";
2155
+ };
2156
+ readonly key: "kernel.astrale.ai:class.Node";
2157
+ }]> & {
2158
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Named"> & {
2159
+ readonly origin: "kernel.astrale.ai";
2160
+ };
2161
+ readonly key: "kernel.astrale.ai:class.Named";
2162
+ }, import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
2163
+ description: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2164
+ readonly name: "description";
2165
+ readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2166
+ };
2167
+ }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2168
+ readonly name: "description";
2169
+ readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2170
+ }> & {
2171
+ readonly byKey: Readonly<{
2172
+ "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2173
+ readonly name: "description";
2174
+ readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2175
+ };
2176
+ }>;
2177
+ get<Key extends "kernel.astrale.ai:class.Descriptable.property.description">(key: Key): Readonly<{
2178
+ "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2179
+ readonly name: "description";
2180
+ readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2181
+ };
2182
+ }>[Key];
2183
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2184
+ from(input: Readonly<{
2185
+ readonly "kernel.astrale.ai:class.Descriptable.property.description"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2186
+ } & {
2187
+ readonly description?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2188
+ }>): import("@astrale-os/sdk/schema").PropertyValues;
2189
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2190
+ readonly byKey: Readonly<{}>;
2191
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2192
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2193
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2194
+ readonly byKey: Readonly<{}>;
2195
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2196
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2197
+ }, Readonly<Readonly<{
2198
+ description: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2199
+ readonly name: "description";
2200
+ readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2201
+ };
2202
+ }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2203
+ readonly name: "description";
2204
+ readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2205
+ }> & {
2206
+ readonly byKey: Readonly<{
2207
+ "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2208
+ readonly name: "description";
2209
+ readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2210
+ };
2211
+ }>;
2212
+ get<Key extends "kernel.astrale.ai:class.Descriptable.property.description">(key: Key): Readonly<{
2213
+ "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2214
+ readonly name: "description";
2215
+ readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2216
+ };
2217
+ }>[Key];
2218
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2219
+ from(input: Readonly<{
2220
+ readonly "kernel.astrale.ai:class.Descriptable.property.description"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2221
+ } & {
2222
+ readonly description?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2223
+ }>): import("@astrale-os/sdk/schema").PropertyValues;
2224
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2225
+ readonly byKey: Readonly<{}>;
2226
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2227
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2228
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2229
+ readonly byKey: Readonly<{}>;
2230
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2231
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2232
+ }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2233
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Descriptable"> & {
2234
+ readonly origin: "kernel.astrale.ai";
2235
+ };
2236
+ readonly kind: 'node';
2237
+ readonly abstract: true;
2238
+ }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
2239
+ readonly byKey: Readonly<{}>;
2240
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2241
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2242
+ from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2243
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2244
+ readonly byKey: Readonly<{}>;
2245
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2246
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2247
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2248
+ readonly byKey: Readonly<{}>;
2249
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2250
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2251
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2252
+ readonly byKey: Readonly<{}>;
2253
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2254
+ get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2255
+ from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2256
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2257
+ readonly byKey: Readonly<{}>;
2258
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2259
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2260
+ }, Readonly<Readonly<{}>> & Iterable<never> & {
2261
+ readonly byKey: Readonly<{}>;
2262
+ get<Key extends never>(key: Key): Readonly<{}>[Key];
2263
+ get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2264
+ }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2265
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2266
+ readonly origin: "kernel.astrale.ai";
2267
+ };
2268
+ readonly kind: 'node';
2269
+ readonly abstract: true;
2270
+ }, readonly import("@astrale-os/sdk/schema").AnyResolvedClass[]> & {
2271
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2272
+ readonly origin: "kernel.astrale.ai";
2273
+ };
2274
+ readonly key: "kernel.astrale.ai:class.Node";
2275
+ }]> & {
2276
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Descriptable"> & {
2277
+ readonly origin: "kernel.astrale.ai";
2278
+ };
2279
+ readonly key: "kernel.astrale.ai:class.Descriptable";
2280
+ }];
2281
+ readonly methods: {
2282
+ readonly assignUser: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
2283
+ user: string;
2284
+ group: string;
2285
+ }, {
2286
+ readonly mode: 'value';
2287
+ readonly value: Record<string, never>;
2288
+ }, "authorized", true, false>>;
2289
+ readonly unassignUser: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
2290
+ user: string;
2291
+ group: string;
2292
+ }, {
2293
+ readonly mode: 'value';
2294
+ readonly value: Record<string, never>;
2295
+ }, "authorized", true, false>>;
2296
+ };
2297
+ }>;
2298
+ readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
2299
+ readonly depth: 0;
2300
+ readonly abstract: false;
2301
+ readonly extends: readonly [];
2302
+ readonly properties: never;
2303
+ readonly source: {
2304
+ readonly as: "user";
2305
+ readonly outgoing: "0..*";
2306
+ };
2307
+ readonly target: {
2308
+ readonly as: "group";
2309
+ readonly incoming: "0..*";
2310
+ };
2311
+ readonly constraints: Record<never, never>;
2312
+ readonly effectiveProperties: never;
2313
+ }>;
2314
+ };
2315
+ readonly policies: {
2316
+ readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
2317
+ readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
2318
+ readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
2319
+ };
2320
+ readonly views: {
2321
+ readonly application: import("@astrale-os/sdk/schema").View;
2322
+ };
2323
+ readonly core: {
2324
+ readonly nodes: {
2325
+ readonly admin: import("@astrale-os/sdk/schema").CoreNode;
2326
+ readonly member: import("@astrale-os/sdk/schema").CoreNode;
2327
+ };
2328
+ };
2329
+ }>, Change, ChangeResult>;
26
2330
  export {};