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