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