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