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

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