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