@nextera.one/axis-server-sdk 2.1.9 → 2.2.1

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.
package/dist/index.d.mts CHANGED
@@ -1,10 +1,9 @@
1
- import * as _nextera_one_axis_protocol from '@nextera.one/axis-protocol';
2
- import { AxisFrame as AxisFrame$2, PROOF_LOOM, TLV_LOOM_PRESENCE_ID, TLV_LOOM_THREAD_HASH, TLV_LOOM_WRIT } from '@nextera.one/axis-protocol';
3
- export { AXIS_MAGIC, AXIS_VERSION, AxisBinaryFrame, AxisFrame, TLV as AxisTlvType, BodyProfile, ERR_BAD_SIGNATURE, ERR_CONTRACT_VIOLATION, ERR_INVALID_PACKET, ERR_REPLAY_DETECTED, FLAG_BODY_TLV, FLAG_CHAIN_REQ, FLAG_HAS_WITNESS, MAX_BODY_LEN, MAX_FRAME_LEN, MAX_HDR_LEN, MAX_SIG_LEN, NCERT_ALG, NCERT_EXP, NCERT_ISSUER_KID, NCERT_KID, NCERT_NBF, NCERT_NODE_ID, NCERT_PAYLOAD, NCERT_PUB, NCERT_SCOPE, NCERT_SIG, PROOF_CAPSULE, PROOF_JWT, PROOF_LOOM, PROOF_MTLS, PROOF_NONE, PROOF_WITNESS, ProofType, TLV, TLV_ACTOR_ID, TLV_AUD, TLV_BODY_ARR, TLV_BODY_OBJ, TLV_CAPSULE, TLV_EFFECT, TLV_ERROR_CODE, TLV_ERROR_MSG, TLV_INDEX, TLV_INTENT, TLV_KID, TLV_LOOM_PRESENCE_ID, TLV_LOOM_THREAD_HASH, TLV_LOOM_WRIT, TLV_NODE, TLV_NODE_CERT_HASH, TLV_NODE_KID, TLV_NONCE, TLV_OFFSET, TLV_OK, TLV_PID, TLV_LOOM_PRESENCE_ID as TLV_PRESENCE_ID, TLV_PREV_HASH, TLV_PROOF_REF, TLV_PROOF_TYPE, TLV_REALM, TLV_RECEIPT_HASH, TLV_RID, TLV_SHA256_CHUNK, TLV_LOOM_THREAD_HASH as TLV_THREAD_HASH, TLV_TRACE_ID, TLV_TS, TLV_UPLOAD_ID, TLV_LOOM_WRIT as TLV_WRIT, decodeArray, decodeFrame, decodeObject, decodeTLVs, decodeTLVsList, decodeVarint, encodeFrame, encodeTLVs, encodeVarint, getSignTarget, varintLength } from '@nextera.one/axis-protocol';
4
1
  import * as z from 'zod';
2
+ import { AxisFrame as AxisFrame$1 } from '@nextera.one/axis-protocol';
3
+ export { AXIS_MAGIC, AXIS_VERSION, AxisBinaryFrame, AxisFrame, TLV as AxisTlvType, BodyProfile, ERR_BAD_SIGNATURE, ERR_CONTRACT_VIOLATION, ERR_INVALID_PACKET, ERR_REPLAY_DETECTED, FLAG_BODY_TLV, FLAG_CHAIN_REQ, FLAG_HAS_WITNESS, MAX_BODY_LEN, MAX_FRAME_LEN, MAX_HDR_LEN, MAX_SIG_LEN, NCERT_ALG, NCERT_EXP, NCERT_ISSUER_KID, NCERT_KID, NCERT_NBF, NCERT_NODE_ID, NCERT_PAYLOAD, NCERT_PUB, NCERT_SCOPE, NCERT_SIG, PROOF_CAPSULE, PROOF_JWT, PROOF_LOOM, PROOF_MTLS, PROOF_NONE, PROOF_WITNESS, ProofType, TLV, TLV_ACTOR_ID, TLV_AUD, TLV_BODY_ARR, TLV_BODY_OBJ, TLV_CAPSULE, TLV_EFFECT, TLV_ERROR_CODE, TLV_ERROR_MSG, TLV_INDEX, TLV_INTENT, TLV_KID, TLV_LOOM_PRESENCE_ID, TLV_LOOM_THREAD_HASH, TLV_LOOM_WRIT, TLV_NODE, TLV_NODE_CERT_HASH, TLV_NODE_KID, TLV_NONCE, TLV_OFFSET, TLV_OK, TLV_PID, TLV_LOOM_PRESENCE_ID as TLV_PRESENCE_ID, TLV_PREV_HASH, TLV_PROOF_REF, TLV_PROOF_TYPE, TLV_REALM, TLV_RECEIPT_HASH, TLV_RID, TLV_SHA256_CHUNK, TLV_LOOM_THREAD_HASH as TLV_THREAD_HASH, TLV_TRACE_ID, TLV_TS, TLV_UPLOAD_ID, TLV_LOOM_WRIT as TLV_WRIT, decodeArray, decodeFrame, decodeObject, decodeTLVs, decodeTLVsList, decodeVarint, encodeFrame, encodeTLVs, encodeVarint, getSignTarget, varintLength } from '@nextera.one/axis-protocol';
5
4
  import { ModuleRef, DiscoveryService, Reflector, MetadataScanner } from '@nestjs/core';
6
5
  import { ConfigService } from '@nestjs/config';
7
- export { A as AxisError, a as AxisFrameZ, c as computeReceiptHash, b as computeSignaturePayload, i as core, g as generateEd25519KeyPair, s as sha256, d as signFrame, v as verifyFrameSignature } from './index-VxXqZPuH.mjs';
6
+ export { AxisError, AxisFrameZ, computeReceiptHash, computeSignaturePayload, generateEd25519KeyPair, sha256, signFrame, verifyFrameSignature } from './core/index.mjs';
8
7
  export { Axis1FrameToEncode, encodeAxis1Frame } from './codec/axis1.encode.mjs';
9
8
  export { axis1SigningBytes } from './codec/axis1.signing.mjs';
10
9
  import { Axis1DecodedFrame } from './types/frame.mjs';
@@ -140,8 +139,6 @@ interface CapsulePolicyOptions {
140
139
  allowCapsuleRef?: boolean;
141
140
  }
142
141
  declare function CapsulePolicy(options?: CapsulePolicyOptions): ClassDecorator & MethodDecorator;
143
- declare function normalizeCapsulePolicyOptions(options?: CapsulePolicyOptions): CapsulePolicyOptions;
144
- declare function mergeCapsulePolicyOptions(base?: CapsulePolicyOptions, override?: CapsulePolicyOptions): CapsulePolicyOptions | undefined;
145
142
 
146
143
  interface ExecutionContract {
147
144
  maxDbWrites: number;
@@ -154,56 +151,6 @@ interface ExecutionContract {
154
151
  declare const DEFAULT_CONTRACTS: Record<string, ExecutionContract>;
155
152
  declare const FALLBACK_CONTRACT: ExecutionContract;
156
153
 
157
- declare const SensorDecisionZ: z.ZodUnion<readonly [z.ZodObject<{
158
- action: z.ZodLiteral<"ALLOW">;
159
- meta: z.ZodOptional<z.ZodAny>;
160
- }, z.z.core.$strip>, z.ZodObject<{
161
- action: z.ZodLiteral<"DENY">;
162
- code: z.ZodString;
163
- reason: z.ZodOptional<z.ZodString>;
164
- meta: z.ZodOptional<z.ZodAny>;
165
- }, z.z.core.$strip>]>;
166
- declare const SensorDecisionWithMetadataZ: z.ZodUnion<readonly [z.ZodObject<{
167
- action: z.ZodLiteral<"ALLOW">;
168
- meta: z.ZodOptional<z.ZodAny>;
169
- }, z.z.core.$strip>, z.ZodObject<{
170
- action: z.ZodLiteral<"DENY">;
171
- code: z.ZodString;
172
- reason: z.ZodOptional<z.ZodString>;
173
- retryAfterMs: z.ZodOptional<z.ZodNumber>;
174
- meta: z.ZodOptional<z.ZodAny>;
175
- }, z.z.core.$strip>]>;
176
- declare const CountryBlockSensorInputZ: z.ZodObject<{
177
- ip: z.ZodString;
178
- country: z.ZodOptional<z.ZodString>;
179
- }, z.z.core.$strip>;
180
- type CountryBlockSensorInput = z.infer<typeof CountryBlockSensorInputZ>;
181
- declare const CountryBlockDecisionZ: z.ZodUnion<readonly [z.ZodObject<{
182
- action: z.ZodLiteral<"ALLOW">;
183
- meta: z.ZodOptional<z.ZodAny>;
184
- }, z.z.core.$strip>, z.ZodObject<{
185
- action: z.ZodLiteral<"DENY">;
186
- code: z.ZodString;
187
- reason: z.ZodOptional<z.ZodString>;
188
- meta: z.ZodOptional<z.ZodAny>;
189
- }, z.z.core.$strip>]>;
190
- type CountryBlockDecision = z.infer<typeof CountryBlockDecisionZ>;
191
- declare const ScanBurstSensorInputZ: z.ZodObject<{
192
- ip: z.ZodString;
193
- isFailure: z.ZodOptional<z.ZodBoolean>;
194
- }, z.z.core.$strip>;
195
- type ScanBurstSensorInput = z.infer<typeof ScanBurstSensorInputZ>;
196
- declare const ScanBurstDecisionZ: z.ZodUnion<readonly [z.ZodObject<{
197
- action: z.ZodLiteral<"ALLOW">;
198
- meta: z.ZodOptional<z.ZodAny>;
199
- }, z.z.core.$strip>, z.ZodObject<{
200
- action: z.ZodLiteral<"DENY">;
201
- code: z.ZodString;
202
- reason: z.ZodOptional<z.ZodString>;
203
- retryAfterMs: z.ZodOptional<z.ZodNumber>;
204
- meta: z.ZodOptional<z.ZodAny>;
205
- }, z.z.core.$strip>]>;
206
- type ScanBurstDecision = z.infer<typeof ScanBurstDecisionZ>;
207
154
  declare const ProofKindZ: z.ZodEnum<{
208
155
  NONE: "NONE";
209
156
  CAPSULE: "CAPSULE";
@@ -212,36 +159,6 @@ declare const ProofKindZ: z.ZodEnum<{
212
159
  JWT: "JWT";
213
160
  }>;
214
161
  type ProofKind = z.infer<typeof ProofKindZ>;
215
- declare const AccessProfileZ: z.ZodEnum<{
216
- PUBLIC: "PUBLIC";
217
- PARTNER: "PARTNER";
218
- INTERNAL: "INTERNAL";
219
- NODE: "NODE";
220
- }>;
221
- type AccessProfile = z.infer<typeof AccessProfileZ>;
222
- declare const ProofPresenceInputZ: z.ZodObject<{
223
- profile: z.ZodEnum<{
224
- PUBLIC: "PUBLIC";
225
- PARTNER: "PARTNER";
226
- INTERNAL: "INTERNAL";
227
- NODE: "NODE";
228
- }>;
229
- visibility: z.ZodEnum<{
230
- PUBLIC: "PUBLIC";
231
- GUARDED: "GUARDED";
232
- }>;
233
- requiredProof: z.ZodArray<z.ZodEnum<{
234
- NONE: "NONE";
235
- CAPSULE: "CAPSULE";
236
- PASSPORT: "PASSPORT";
237
- MTLS: "MTLS";
238
- JWT: "JWT";
239
- }>>;
240
- hasCapsule: z.ZodBoolean;
241
- hasPassportSignature: z.ZodBoolean;
242
- intent: z.ZodString;
243
- }, z.z.core.$strip>;
244
- type ProofPresenceInput = z.infer<typeof ProofPresenceInputZ>;
245
162
  declare const SensitivityLevelZ: z.ZodEnum<{
246
163
  LOW: "LOW";
247
164
  MEDIUM: "MEDIUM";
@@ -249,354 +166,7 @@ declare const SensitivityLevelZ: z.ZodEnum<{
249
166
  CRITICAL: "CRITICAL";
250
167
  }>;
251
168
  type SensitivityLevel = z.infer<typeof SensitivityLevelZ>;
252
- declare const IntentPolicyZ: z.ZodObject<{
253
- intent: z.ZodString;
254
- sensitivity: z.ZodEnum<{
255
- LOW: "LOW";
256
- MEDIUM: "MEDIUM";
257
- HIGH: "HIGH";
258
- CRITICAL: "CRITICAL";
259
- }>;
260
- maxFrameBytes: z.ZodNumber;
261
- maxHeaderBytes: z.ZodNumber;
262
- maxBodyBytes: z.ZodNumber;
263
- maxSigBytes: z.ZodOptional<z.ZodNumber>;
264
- rateLimitPerMinute: z.ZodOptional<z.ZodNumber>;
265
- rateLimitPerHour: z.ZodOptional<z.ZodNumber>;
266
- requiresSignature: z.ZodBoolean;
267
- requiresCapsule: z.ZodBoolean;
268
- timeoutMs: z.ZodNumber;
269
- }, z.z.core.$strip>;
270
- type IntentPolicy = z.infer<typeof IntentPolicyZ>;
271
- declare const IntentPolicySensorInputZ: z.ZodObject<{
272
- frame: z.ZodType<_nextera_one_axis_protocol.AxisFrame, unknown, z.z.core.$ZodTypeInternals<_nextera_one_axis_protocol.AxisFrame, unknown>>;
273
- intent: z.ZodString;
274
- rawFrameSize: z.ZodNumber;
275
- }, z.z.core.$strip>;
276
- type IntentPolicySensorInput = z.infer<typeof IntentPolicySensorInputZ>;
277
- declare const IntentPolicyDecisionZ: z.ZodUnion<readonly [z.ZodObject<{
278
- action: z.ZodLiteral<"ALLOW">;
279
- policy: z.ZodObject<{
280
- intent: z.ZodString;
281
- sensitivity: z.ZodEnum<{
282
- LOW: "LOW";
283
- MEDIUM: "MEDIUM";
284
- HIGH: "HIGH";
285
- CRITICAL: "CRITICAL";
286
- }>;
287
- maxFrameBytes: z.ZodNumber;
288
- maxHeaderBytes: z.ZodNumber;
289
- maxBodyBytes: z.ZodNumber;
290
- maxSigBytes: z.ZodOptional<z.ZodNumber>;
291
- rateLimitPerMinute: z.ZodOptional<z.ZodNumber>;
292
- rateLimitPerHour: z.ZodOptional<z.ZodNumber>;
293
- requiresSignature: z.ZodBoolean;
294
- requiresCapsule: z.ZodBoolean;
295
- timeoutMs: z.ZodNumber;
296
- }, z.z.core.$strip>;
297
- }, z.z.core.$strip>, z.ZodObject<{
298
- action: z.ZodLiteral<"DENY">;
299
- reason: z.ZodString;
300
- }, z.z.core.$strip>]>;
301
- type IntentPolicyDecision = z.infer<typeof IntentPolicyDecisionZ>;
302
- declare const CapsuleClaimsZ: z.ZodObject<{
303
- capsuleId: z.ZodString;
304
- allowIntents: z.ZodArray<z.ZodString>;
305
- limits: z.ZodOptional<z.ZodObject<{
306
- maxBodyBytes: z.ZodOptional<z.ZodNumber>;
307
- }, z.z.core.$strip>>;
308
- scopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
309
- }, z.z.core.$strip>;
310
- type CapsuleClaims = z.infer<typeof CapsuleClaimsZ>;
311
- declare const CapsuleZ: z.ZodObject<{
312
- id: z.ZodString;
313
- claims: z.ZodObject<{
314
- capsuleId: z.ZodString;
315
- allowIntents: z.ZodArray<z.ZodString>;
316
- limits: z.ZodOptional<z.ZodObject<{
317
- maxBodyBytes: z.ZodOptional<z.ZodNumber>;
318
- }, z.z.core.$strip>>;
319
- scopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
320
- }, z.z.core.$strip>;
321
- issuedAt: z.ZodNumber;
322
- expiresAt: z.ZodNumber;
323
- tier: z.ZodEnum<{
324
- FREE: "FREE";
325
- STANDARD: "STANDARD";
326
- PREMIUM: "PREMIUM";
327
- }>;
328
- }, z.z.core.$strip>;
329
- type Capsule$1 = z.infer<typeof CapsuleZ>;
330
- declare const CapsuleValidationResultZ: z.ZodObject<{
331
- valid: z.ZodBoolean;
332
- capsule: z.ZodOptional<z.ZodObject<{
333
- id: z.ZodString;
334
- claims: z.ZodObject<{
335
- capsuleId: z.ZodString;
336
- allowIntents: z.ZodArray<z.ZodString>;
337
- limits: z.ZodOptional<z.ZodObject<{
338
- maxBodyBytes: z.ZodOptional<z.ZodNumber>;
339
- }, z.z.core.$strip>>;
340
- scopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
341
- }, z.z.core.$strip>;
342
- issuedAt: z.ZodNumber;
343
- expiresAt: z.ZodNumber;
344
- tier: z.ZodEnum<{
345
- FREE: "FREE";
346
- STANDARD: "STANDARD";
347
- PREMIUM: "PREMIUM";
348
- }>;
349
- }, z.z.core.$strip>>;
350
- reason: z.ZodOptional<z.ZodString>;
351
- requiresStepUp: z.ZodOptional<z.ZodBoolean>;
352
- }, z.z.core.$strip>;
353
- type CapsuleValidationResult = z.infer<typeof CapsuleValidationResultZ>;
354
- declare const CapsuleVerifySensorInputZ: z.ZodObject<{
355
- headers: z.ZodMap<z.ZodNumber, z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>>;
356
- intent: z.ZodString;
357
- ctx: z.ZodAny;
358
- }, z.z.core.$strip>;
359
- type CapsuleVerifySensorInput = z.infer<typeof CapsuleVerifySensorInputZ>;
360
- declare const CapsuleVerifyResultZ: z.ZodObject<{
361
- ok: z.ZodLiteral<true>;
362
- capsule: z.ZodObject<{
363
- id: z.ZodString;
364
- claims: z.ZodObject<{
365
- capsuleId: z.ZodString;
366
- allowIntents: z.ZodArray<z.ZodString>;
367
- limits: z.ZodOptional<z.ZodObject<{
368
- maxBodyBytes: z.ZodOptional<z.ZodNumber>;
369
- }, z.z.core.$strip>>;
370
- scopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
371
- }, z.z.core.$strip>;
372
- issuedAt: z.ZodNumber;
373
- expiresAt: z.ZodNumber;
374
- tier: z.ZodEnum<{
375
- FREE: "FREE";
376
- STANDARD: "STANDARD";
377
- PREMIUM: "PREMIUM";
378
- }>;
379
- }, z.z.core.$strip>;
380
- }, z.z.core.$strip>;
381
- type CapsuleVerifyResult = z.infer<typeof CapsuleVerifyResultZ>;
382
- declare const RateLimitProfileZ: z.ZodEnum<{
383
- PUBLIC: "PUBLIC";
384
- PARTNER: "PARTNER";
385
- INTERNAL: "INTERNAL";
386
- NODE: "NODE";
387
- }>;
388
- type RateLimitProfile = z.infer<typeof RateLimitProfileZ>;
389
- declare const RateLimitInputZ: z.ZodObject<{
390
- ip: z.ZodString;
391
- userAgent: z.ZodOptional<z.ZodString>;
392
- actorId: z.ZodOptional<z.ZodString>;
393
- capsuleId: z.ZodOptional<z.ZodString>;
394
- intent: z.ZodString;
395
- profile: z.ZodEnum<{
396
- PUBLIC: "PUBLIC";
397
- PARTNER: "PARTNER";
398
- INTERNAL: "INTERNAL";
399
- NODE: "NODE";
400
- }>;
401
- }, z.z.core.$strip>;
402
- type RateLimitInput = z.infer<typeof RateLimitInputZ>;
403
- declare const RateLimitConfigZ: z.ZodObject<{
404
- windowSec: z.ZodNumber;
405
- max: z.ZodNumber;
406
- key: z.ZodEnum<{
407
- ip_fingerprint: "ip_fingerprint";
408
- actor_capsule: "actor_capsule";
409
- }>;
410
- }, z.z.core.$strip>;
411
- type RateLimitConfig = z.infer<typeof RateLimitConfigZ>;
412
- declare const SensorResultZ: z.ZodObject<{
413
- ok: z.ZodLiteral<true>;
414
- }, z.z.core.$strip>;
415
- type SensorResult = z.infer<typeof SensorResultZ>;
416
- declare const PassportZ: z.ZodObject<{
417
- id: z.ZodString;
418
- public_key: z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>;
419
- status: z.ZodEnum<{
420
- ACTIVE: "ACTIVE";
421
- REVOKED: "REVOKED";
422
- EXPIRED: "EXPIRED";
423
- PENDING: "PENDING";
424
- }>;
425
- issuedAt: z.ZodNumber;
426
- expiresAt: z.ZodOptional<z.ZodNumber>;
427
- }, z.z.core.$strip>;
428
- declare const ExecutionMetricsZ: z.ZodObject<{
429
- dbWrites: z.ZodNumber;
430
- dbReads: z.ZodNumber;
431
- externalCalls: z.ZodNumber;
432
- elapsedMs: z.ZodOptional<z.ZodNumber>;
433
- }, z.z.core.$strip>;
434
- type Passport = z.infer<typeof PassportZ>;
435
- declare const SensorChainInputZ: z.ZodObject<{
436
- ip: z.ZodString;
437
- path: z.ZodString;
438
- contentLength: z.ZodNumber;
439
- peek: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
440
- country: z.ZodOptional<z.ZodString>;
441
- }, z.z.core.$strip>;
442
- type SensorChainInput = z.infer<typeof SensorChainInputZ>;
443
- declare const EntropySensorInputZ: z.ZodObject<{
444
- pid: z.ZodOptional<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>;
445
- nonce: z.ZodOptional<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>;
446
- ip: z.ZodString;
447
- }, z.z.core.$strip>;
448
- type EntropySensorInput = z.infer<typeof EntropySensorInputZ>;
449
- declare const ProtocolStrictInputZ: z.ZodObject<{
450
- rawBytes: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
451
- ip: z.ZodString;
452
- path: z.ZodString;
453
- contentLength: z.ZodNumber;
454
- peek: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
455
- country: z.ZodOptional<z.ZodString>;
456
- contentType: z.ZodOptional<z.ZodString>;
457
- }, z.z.core.$strip>;
458
- type ProtocolStrictInput = z.infer<typeof ProtocolStrictInputZ>;
459
- declare const SchemaFieldKindZ: z.ZodEnum<{
460
- utf8: "utf8";
461
- u64: "u64";
462
- bytes: "bytes";
463
- bytes16: "bytes16";
464
- bool: "bool";
465
- obj: "obj";
466
- arr: "arr";
467
- }>;
468
- type SchemaFieldKind = z.infer<typeof SchemaFieldKindZ>;
469
- declare const ScopeZ: z.ZodEnum<{
470
- body: "body";
471
- header: "header";
472
- }>;
473
- type Scope = z.infer<typeof ScopeZ>;
474
- declare const SchemaFieldZ: z.ZodObject<{
475
- name: z.ZodString;
476
- tlv: z.ZodNumber;
477
- kind: z.ZodEnum<{
478
- utf8: "utf8";
479
- u64: "u64";
480
- bytes: "bytes";
481
- bytes16: "bytes16";
482
- bool: "bool";
483
- obj: "obj";
484
- arr: "arr";
485
- }>;
486
- required: z.ZodOptional<z.ZodBoolean>;
487
- maxLen: z.ZodOptional<z.ZodNumber>;
488
- max: z.ZodOptional<z.ZodString>;
489
- scope: z.ZodOptional<z.ZodEnum<{
490
- body: "body";
491
- header: "header";
492
- }>>;
493
- }, z.z.core.$strip>;
494
- type SchemaField = z.infer<typeof SchemaFieldZ>;
495
- declare const BodyProfileZ: z.ZodEnum<{
496
- TLV_MAP: "TLV_MAP";
497
- RAW: "RAW";
498
- TLV_OBJ: "TLV_OBJ";
499
- TLV_ARR: "TLV_ARR";
500
- }>;
501
- declare const IntentSchemaZ: z.ZodObject<{
502
- intent: z.ZodString;
503
- version: z.ZodNumber;
504
- bodyProfile: z.ZodEnum<{
505
- TLV_MAP: "TLV_MAP";
506
- RAW: "RAW";
507
- TLV_OBJ: "TLV_OBJ";
508
- TLV_ARR: "TLV_ARR";
509
- }>;
510
- fields: z.ZodArray<z.ZodObject<{
511
- name: z.ZodString;
512
- tlv: z.ZodNumber;
513
- kind: z.ZodEnum<{
514
- utf8: "utf8";
515
- u64: "u64";
516
- bytes: "bytes";
517
- bytes16: "bytes16";
518
- bool: "bool";
519
- obj: "obj";
520
- arr: "arr";
521
- }>;
522
- required: z.ZodOptional<z.ZodBoolean>;
523
- maxLen: z.ZodOptional<z.ZodNumber>;
524
- max: z.ZodOptional<z.ZodString>;
525
- scope: z.ZodOptional<z.ZodEnum<{
526
- body: "body";
527
- header: "header";
528
- }>>;
529
- }, z.z.core.$strip>>;
530
- }, z.z.core.$strip>;
531
- type IntentSchema$2 = z.infer<typeof IntentSchemaZ>;
532
- declare const WsHandshakeInputZ: z.ZodObject<{
533
- clientId: z.ZodString;
534
- isWs: z.ZodBoolean;
535
- ip: z.ZodString;
536
- }, z.z.core.$strip>;
537
- type WsHandshakeInput = z.infer<typeof WsHandshakeInputZ>;
538
- declare const WsHandshakeDecisionZ: z.ZodUnion<readonly [z.ZodObject<{
539
- action: z.ZodLiteral<"ALLOW">;
540
- }, z.z.core.$strip>, z.ZodObject<{
541
- action: z.ZodLiteral<"DENY">;
542
- code: z.ZodString;
543
- }, z.z.core.$strip>]>;
544
- type WsHandshakeDecision = z.infer<typeof WsHandshakeDecisionZ>;
545
- declare const IPReputationInputZ: z.ZodObject<{
546
- ip: z.ZodString;
547
- }, z.z.core.$strip>;
548
- type IPReputationInput = z.infer<typeof IPReputationInputZ>;
549
- declare const IPReputationZ: z.ZodObject<{
550
- score: z.ZodNumber;
551
- lastUpdated: z.ZodNumber;
552
- totalRequests: z.ZodNumber;
553
- failedRequests: z.ZodNumber;
554
- blockedRequests: z.ZodNumber;
555
- tags: z.ZodArray<z.ZodString>;
556
- }, z.z.core.$strip>;
557
- type IPReputation = z.infer<typeof IPReputationZ>;
558
- declare const UploadStatusZ: z.ZodEnum<{
559
- INIT: "INIT";
560
- UPLOADING: "UPLOADING";
561
- FINALIZING: "FINALIZING";
562
- DONE: "DONE";
563
- ABORTED: "ABORTED";
564
- }>;
565
- type UploadStatus = z.infer<typeof UploadStatusZ>;
566
- declare const UploadSessionZ: z.ZodObject<{
567
- uploadIdHex: z.ZodString;
568
- fileName: z.ZodString;
569
- totalSize: z.ZodNumber;
570
- chunkSize: z.ZodNumber;
571
- totalChunks: z.ZodNumber;
572
- receivedCount: z.ZodNumber;
573
- status: z.ZodEnum<{
574
- INIT: "INIT";
575
- UPLOADING: "UPLOADING";
576
- FINALIZING: "FINALIZING";
577
- DONE: "DONE";
578
- ABORTED: "ABORTED";
579
- }>;
580
- }, z.z.core.$strip>;
581
- type UploadSession = z.infer<typeof UploadSessionZ>;
582
- declare const BodyBudgetInputZ: z.ZodObject<{
583
- intent: z.ZodString;
584
- headerLen: z.ZodNumber;
585
- bodyLen: z.ZodNumber;
586
- }, z.z.core.$strip>;
587
- type BodyBudgetInput = z.infer<typeof BodyBudgetInputZ>;
588
- declare const BodyBudgetPolicyZ: z.ZodObject<{
589
- maxHeaderBytes: z.ZodNumber;
590
- maxBodyBytes: z.ZodNumber;
591
- }, z.z.core.$strip>;
592
- type BodyBudgetPolicy = z.infer<typeof BodyBudgetPolicyZ>;
593
- declare const ChunkHashInputZ: z.ZodObject<{
594
- headerTLVs: z.ZodAny;
595
- bodyBytes: z.ZodAny;
596
- intent: z.ZodString;
597
- }, z.z.core.$strip>;
598
- type ChunkHashInput = z.infer<typeof ChunkHashInputZ>;
599
- declare enum ProofType$1 {
169
+ declare enum ProofType {
600
170
  CAPSULE = 1,
601
171
  JWT = 2,
602
172
  MTLS_ID = 3,
@@ -608,7 +178,7 @@ declare const AxisContextZ: z.ZodObject<{
608
178
  ts: z.ZodBigInt;
609
179
  intent: z.ZodString;
610
180
  actorId: z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>;
611
- proofType: z.ZodEnum<typeof ProofType$1>;
181
+ proofType: z.ZodEnum<typeof ProofType>;
612
182
  proofRef: z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>;
613
183
  nonce: z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>;
614
184
  ip: z.ZodString;
@@ -646,12 +216,6 @@ declare const AxisContextZ: z.ZodObject<{
646
216
  meter: z.ZodOptional<z.ZodAny>;
647
217
  }, z.z.core.$strip>;
648
218
  type AxisContext$1 = z.infer<typeof AxisContextZ>;
649
- declare const AxisErrorZ: z.ZodObject<{
650
- code: z.ZodString;
651
- message: z.ZodString;
652
- httpStatus: z.ZodNumber;
653
- }, z.z.core.$strip>;
654
- type AxisError = z.infer<typeof AxisErrorZ>;
655
219
 
656
220
  declare const AXIS_META_KEY = "axis:axis";
657
221
  declare const SENSITIVITY_METADATA_KEY = "axis:sensitivity";
@@ -681,7 +245,7 @@ declare function Handler(intent?: string): ClassDecorator;
681
245
 
682
246
  declare const INTENT_METADATA_KEY = "axis:intent";
683
247
  declare const INTENT_ROUTES_KEY = "axis:intent_routes";
684
- type IntentKind = 'create' | 'read' | 'update' | 'delete' | 'action';
248
+ type IntentKind = "create" | "read" | "update" | "delete" | "action";
685
249
  type AxisIntentSensorRef = string | Function;
686
250
  interface AxisIntentSensorOptions {
687
251
  is?: AxisIntentSensorRef[];
@@ -689,11 +253,11 @@ interface AxisIntentSensorOptions {
689
253
  interface IntentTlvField {
690
254
  name: string;
691
255
  tag: number;
692
- kind: 'utf8' | 'u64' | 'bytes' | 'bytes16' | 'bool' | 'obj' | 'arr';
256
+ kind: "utf8" | "u64" | "bytes" | "bytes16" | "bool" | "obj" | "arr";
693
257
  required?: boolean;
694
258
  maxLen?: number;
695
259
  max?: string;
696
- scope?: 'header' | 'body';
260
+ scope?: "header" | "body";
697
261
  }
698
262
  interface IntentRoute extends AxisIntentSensorOptions {
699
263
  action: string;
@@ -703,7 +267,7 @@ interface IntentRoute extends AxisIntentSensorOptions {
703
267
  kind?: IntentKind;
704
268
  sensitivity?: SensitivityLevel;
705
269
  chain?: boolean | ChainOptions;
706
- bodyProfile?: 'TLV_MAP' | 'RAW' | 'TLV_OBJ' | 'TLV_ARR';
270
+ bodyProfile?: "TLV_MAP" | "RAW" | "TLV_OBJ" | "TLV_ARR";
707
271
  tlv?: IntentTlvField[];
708
272
  dto?: Function;
709
273
  }
@@ -713,9 +277,10 @@ interface IntentOptions extends AxisIntentSensorOptions {
713
277
  absolute?: boolean;
714
278
  frame?: boolean;
715
279
  chain?: boolean | ChainOptions;
716
- bodyProfile?: 'TLV_MAP' | 'RAW' | 'TLV_OBJ' | 'TLV_ARR';
280
+ bodyProfile?: "TLV_MAP" | "RAW" | "TLV_OBJ" | "TLV_ARR";
717
281
  tlv?: IntentTlvField[];
718
282
  dto?: Function;
283
+ decoder?: (buf: Buffer) => any;
719
284
  }
720
285
  declare function Intent(action: string, options?: IntentOptions): MethodDecorator;
721
286
 
@@ -793,7 +358,7 @@ declare function extractDtoSchema(dto: Function): DtoSchema;
793
358
  declare function buildDtoDecoder(dto: Function): (bodyBytes: Buffer) => Record<string, any>;
794
359
 
795
360
  declare abstract class AxisTlvDto {
796
- static afterDecode?(dto: Record<string, any>): void;
361
+ static afterDecode(_dto: Record<string, any>): void;
797
362
  }
798
363
 
799
364
  declare class AxisIdDto extends AxisTlvDto {
@@ -816,18 +381,9 @@ declare abstract class AxisResponseDto extends AxisTlvDto {
816
381
  }
817
382
 
818
383
  declare const CCE_PROTOCOL_VERSION: "cce-v1";
819
- declare const CCE_DERIVATION: {
820
- readonly REQUEST: "axis:cce:req:v1";
821
- readonly RESPONSE: "axis:cce:resp:v1";
822
- readonly WITNESS: "axis:cce:witness:v1";
823
- };
824
384
  type CceAlgorithm = "AES-256-GCM";
825
385
  type CceKemAlgorithm = "X25519" | "RSA-OAEP-256";
826
386
  type CceKdfAlgorithm = "HKDF-SHA256";
827
- declare const CCE_AES_KEY_BYTES = 32;
828
- declare const CCE_IV_BYTES = 12;
829
- declare const CCE_TAG_BYTES = 16;
830
- declare const CCE_NONCE_BYTES = 32;
831
387
  interface CceCapsuleClaims {
832
388
  capsule_id: string;
833
389
  ver: typeof CCE_PROTOCOL_VERSION;
@@ -999,62 +555,12 @@ interface CceClientKeyEncryptor {
999
555
  interface CceAxisSigner {
1000
556
  sign(payload: Uint8Array): Promise<CceSignature>;
1001
557
  }
1002
- interface CceResponseOptions {
1003
- request: CceRequestEnvelope;
1004
- capsule: CceCapsuleClaims;
1005
- status: CceResponseStatus;
1006
- body: Uint8Array;
1007
- clientPublicKeyHex: string;
1008
- witnessRef?: string;
1009
- }
1010
- declare function buildCceResponse(options: CceResponseOptions, clientKeyEncryptor: CceClientKeyEncryptor, axisSigner: CceAxisSigner): Promise<{
1011
- envelope: CceResponseEnvelope;
1012
- responsePayloadHash: string;
1013
- }>;
1014
- declare function buildCceErrorResponse(requestId: string, correlationId: string, status: CceResponseStatus, errorCode: string, message: string): {
1015
- ver: string;
1016
- request_id: string;
1017
- correlation_id: string;
1018
- status: CceResponseStatus;
1019
- error: {
1020
- code: string;
1021
- message: string;
1022
- };
1023
- };
1024
558
 
1025
559
  interface CceWitnessStore {
1026
560
  record(witness: CceWitnessRecord): Promise<void>;
1027
561
  }
1028
- declare class InMemoryCceWitnessStore implements CceWitnessStore {
1029
- readonly records: CceWitnessRecord[];
1030
- record(witness: CceWitnessRecord): Promise<void>;
1031
- getByRequestId(requestId: string): CceWitnessRecord | undefined;
1032
- getByCapsuleId(capsuleId: string): CceWitnessRecord[];
1033
- }
1034
- interface CceVerificationState {
1035
- clientSigVerified: boolean;
1036
- capsuleSigVerified: boolean;
1037
- tpsValid: boolean;
1038
- audienceMatch: boolean;
1039
- intentMatch: boolean;
1040
- replayClean: boolean;
1041
- nonceUnique: boolean;
1042
- decryptionOk: boolean;
1043
- }
1044
- declare function buildWitnessRecord(envelope: CceRequestEnvelope, capsule: CceCapsuleClaims, verification: CceVerificationState, execution: {
1045
- status: CceResponseStatus;
1046
- handlerDurationMs: number;
1047
- effect?: string;
1048
- }, options: {
1049
- axisLocalSecret: string;
1050
- requestPayload?: Uint8Array;
1051
- responsePayload?: Uint8Array;
1052
- responseEncrypted: boolean;
1053
- }): CceWitnessRecord;
1054
- declare function extractVerificationState(metadata: Record<string, any>): CceVerificationState;
1055
562
 
1056
563
  type AxisAlg$1 = 'EdDSA' | 'ES256' | 'RS256';
1057
- type CapsuleStatus = 'ACTIVE' | 'CONSUMED' | 'REVOKED' | 'EXPIRED';
1058
564
  type CapsuleMode = 'SINGLE_USE' | 'MULTI_USE';
1059
565
  type KeyStatus = 'ACTIVE' | 'GRACE' | 'REVOKED' | 'RETIRED';
1060
566
  interface AxisSig$1 {
@@ -1112,36 +618,6 @@ interface AxisCapsule {
1112
618
  payload: AxisCapsulePayload;
1113
619
  sig: AxisSig$1;
1114
620
  }
1115
- interface CapsuleIssueBody {
1116
- intent: string;
1117
- audience: string;
1118
- scopes: string[];
1119
- subject?: string;
1120
- mode: CapsuleMode;
1121
- maxUses?: number;
1122
- expSeconds?: number;
1123
- constraints?: AxisCapsuleConstraints;
1124
- hints?: {
1125
- ip?: string;
1126
- ua?: string;
1127
- deviceId?: string;
1128
- geo?: string;
1129
- };
1130
- }
1131
- interface CapsuleBatchBody extends Omit<CapsuleIssueBody, 'mode' | 'maxUses'> {
1132
- count: number;
1133
- mode: 'SINGLE_USE';
1134
- }
1135
- interface IntentExecBody {
1136
- intent: string;
1137
- capsule: AxisCapsule;
1138
- execNonce?: string;
1139
- args: Record<string, any>;
1140
- }
1141
- interface CapsuleRevokeBody {
1142
- capsuleId: string;
1143
- reason: string;
1144
- }
1145
621
  interface AxisResponse$1<T = any> {
1146
622
  ok: boolean;
1147
623
  pid: string;
@@ -1151,77 +627,12 @@ interface AxisResponse$1<T = any> {
1151
627
  data?: T;
1152
628
  meta?: Record<string, unknown>;
1153
629
  }
1154
- interface CapsuleIssueResult {
1155
- capsule: AxisCapsule;
1156
- }
1157
- interface CapsuleBatchResult {
1158
- capsules: AxisCapsule[];
1159
- }
1160
- interface ActorKeyRecord {
1161
- id: Buffer;
1162
- actor_id: string;
1163
- key_id: string;
1164
- algorithm: string;
1165
- public_key: Buffer;
1166
- purpose: string;
1167
- status: KeyStatus;
1168
- is_primary: boolean;
1169
- not_before: Date | null;
1170
- expires_at: Date | null;
1171
- rotated_from_key_id: string | null;
1172
- revoked_at: Date | null;
1173
- revocation_reason: string | null;
1174
- metadata: any;
1175
- created_at: Date;
1176
- updated_at: Date;
1177
- }
1178
- interface IssuerKeyRecord {
1179
- id: Buffer;
1180
- kid: string;
1181
- issuer_id: string;
1182
- alg: string;
1183
- public_key_pem: string;
1184
- status: KeyStatus;
1185
- not_before: Date | null;
1186
- not_after: Date | null;
1187
- fingerprint: string | null;
1188
- metadata: any;
1189
- created_at: Date;
1190
- updated_at: Date;
1191
- }
1192
- interface CapsuleRecord {
1193
- id: Buffer;
1194
- capsule_id: string;
1195
- actor_id: string;
1196
- intent: string;
1197
- audience: string;
1198
- issuer: string;
1199
- subject: string | null;
1200
- status: CapsuleStatus;
1201
- mode: CapsuleMode;
1202
- max_uses: number;
1203
- used_count: number;
1204
- iat: Date;
1205
- nbf: Date | null;
1206
- exp: Date;
1207
- scopes_json: any;
1208
- constraints_json: any;
1209
- policy_refs_json: any;
1210
- risk_score: number | null;
1211
- payload_hash: Buffer;
1212
- sig_alg: string;
1213
- sig_kid: string;
1214
- sig_value: Buffer;
1215
- created_at: Date;
1216
- updated_at: Date;
1217
- last_used_at: Date | null;
1218
- }
1219
630
 
1220
631
  type AxisAlg = Extract<AxisAlg$1, 'EdDSA'>;
1221
632
  type AxisSig = AxisSig$1 & {
1222
633
  alg: AxisAlg;
1223
634
  };
1224
- interface AxisFrame$1<T = any> {
635
+ interface AxisFrame<T = any> {
1225
636
  v: 1;
1226
637
  pid: string;
1227
638
  nonce: string;
@@ -1498,7 +909,7 @@ declare class IntentRouter {
1498
909
  getObservers(intent: string): AxisObserverBinding[];
1499
910
  register(intent: string, handler: any): void;
1500
911
  registerHandler(instance: any): void;
1501
- route(frame: AxisFrame$2): Promise<AxisEffect>;
912
+ route(frame: AxisFrame$1): Promise<AxisEffect>;
1502
913
  private logIntent;
1503
914
  registerIntentMeta(intent: string, proto: object, methodName: string, handlerSensors?: AxisIntentSensorRef[], handlerObservers?: AxisObserverBinding[]): void;
1504
915
  getSensitivity(intent: string): SensitivityLevel | undefined;
@@ -1540,7 +951,7 @@ interface AxisObserverContext {
1540
951
  chainId?: string;
1541
952
  stepId?: string;
1542
953
  handler?: string;
1543
- frame?: AxisFrame$2;
954
+ frame?: AxisFrame$1;
1544
955
  envelope?: AxisChainEnvelope;
1545
956
  step?: AxisChainStep;
1546
957
  effect?: AxisEffect;
@@ -1584,7 +995,7 @@ declare class ObserverDispatcherService {
1584
995
 
1585
996
  interface AxisChainExecutionOptions {
1586
997
  actorId?: string;
1587
- baseFrame?: Partial<AxisFrame$2>;
998
+ baseFrame?: Partial<AxisFrame$1>;
1588
999
  }
1589
1000
  declare class AxisChainExecutor {
1590
1001
  private readonly router;
@@ -1619,7 +1030,7 @@ interface AxisExecutionContext {
1619
1030
  chainEnvelope?: AxisChainEnvelope;
1620
1031
  chainStep?: AxisChainStep;
1621
1032
  }
1622
- declare function getAxisExecutionContext(frame?: Partial<AxisFrame$2>): AxisExecutionContext | undefined;
1033
+ declare function getAxisExecutionContext(frame?: Partial<AxisFrame$1>): AxisExecutionContext | undefined;
1623
1034
  declare function withAxisExecutionContext<T extends object>(target: T, context: AxisExecutionContext): T;
1624
1035
  declare function mergeAxisExecutionContext(base?: AxisExecutionContext, override?: AxisExecutionContext): AxisExecutionContext | undefined;
1625
1036
 
@@ -2333,7 +1744,6 @@ declare const AxisRaw: (...dataOrPipes: unknown[]) => ParameterDecorator;
2333
1744
  declare const AxisIp: (...dataOrPipes: unknown[]) => ParameterDecorator;
2334
1745
  declare const AxisContext: (...dataOrPipes: unknown[]) => ParameterDecorator;
2335
1746
  declare const AxisDemoPubkey: (...dataOrPipes: unknown[]) => ParameterDecorator;
2336
- declare const AxisFrame: (...dataOrPipes: unknown[]) => ParameterDecorator;
2337
1747
 
2338
1748
  declare class ObserverDiscoveryService implements OnApplicationBootstrap {
2339
1749
  private readonly discovery;
@@ -3187,1023 +2597,4 @@ declare class TickAuthSensor implements AxisSensor {
3187
2597
  run(input: SensorInput): Promise<SensorDecision>;
3188
2598
  }
3189
2599
 
3190
- interface CceDerivationInput {
3191
- axisLocalSecret: string;
3192
- capsule: CceCapsuleClaims;
3193
- requestNonce: string;
3194
- responseNonce?: string;
3195
- }
3196
- declare function deriveRequestExecutionKey(input: CceDerivationInput): Uint8Array;
3197
- declare function deriveResponseExecutionKey(input: CceDerivationInput & {
3198
- responseNonce: string;
3199
- }): Uint8Array;
3200
- declare function deriveWitnessKey(input: CceDerivationInput): Uint8Array;
3201
- declare function buildExecutionContext(input: CceDerivationInput, requestId: string): CceExecutionContext;
3202
- declare function generateCceNonce(): string;
3203
-
3204
- interface CceAxisKeyProvider {
3205
- unwrapKey(encryptedKeyB64: string, algorithm: string, axisKid: string, ephemeralPkB64?: string): Promise<Uint8Array | null>;
3206
- }
3207
- interface CceAesGcmProvider {
3208
- decrypt(key: Uint8Array, iv: Uint8Array, ciphertext: Uint8Array, tag: Uint8Array, aad?: Uint8Array): Promise<Uint8Array | null>;
3209
- }
3210
- interface CcePayloadValidatorResult {
3211
- ok: boolean;
3212
- intent?: string;
3213
- code?: string;
3214
- reason?: string;
3215
- }
3216
- interface CcePayloadValidator {
3217
- validate(plaintext: Uint8Array, envelope: CceRequestEnvelope): Promise<CcePayloadValidatorResult>;
3218
- }
3219
- declare class CcePayloadDecryptionSensor implements AxisSensor {
3220
- private readonly keyProvider;
3221
- private readonly aesProvider;
3222
- private readonly maxPayloadBytes;
3223
- private readonly payloadValidator?;
3224
- readonly name = "cce.payload.decryption";
3225
- readonly order = 145;
3226
- readonly phase: "POST_DECODE";
3227
- constructor(keyProvider: CceAxisKeyProvider, aesProvider: CceAesGcmProvider, maxPayloadBytes?: number, payloadValidator?: CcePayloadValidator | undefined);
3228
- supports(input: SensorInput): boolean;
3229
- run(input: SensorInput): Promise<SensorDecision>;
3230
- }
3231
-
3232
- declare function aesGcmEncrypt(key: Uint8Array, plaintext: Uint8Array, aad?: Uint8Array): {
3233
- iv: Uint8Array;
3234
- ciphertext: Uint8Array;
3235
- tag: Uint8Array;
3236
- };
3237
- declare function aesGcmDecrypt(key: Uint8Array, iv: Uint8Array, ciphertext: Uint8Array, tag: Uint8Array, aad?: Uint8Array): Uint8Array | null;
3238
- declare function generateAesKey(): Uint8Array;
3239
- declare function generateIv(): Uint8Array;
3240
- declare function base64UrlEncode(bytes: Uint8Array): string;
3241
- declare function base64UrlDecode(input: string): Uint8Array;
3242
- declare function hashPayload(payload: Uint8Array): string;
3243
-
3244
- declare const nodeAesGcmProvider: CceAesGcmProvider;
3245
-
3246
- declare class CceEnvelopeValidationSensor implements AxisSensor {
3247
- readonly name = "cce.envelope.validation";
3248
- readonly order = 5;
3249
- readonly phase: "PRE_DECODE";
3250
- supports(input: SensorInput): boolean;
3251
- run(input: SensorInput): Promise<SensorDecision>;
3252
- }
3253
-
3254
- interface CceClientKeyResolver {
3255
- resolve(kid: string): Promise<{
3256
- publicKeyHex: string;
3257
- alg: string;
3258
- } | null>;
3259
- }
3260
- interface CceSignatureVerifier {
3261
- verify(message: Uint8Array, signatureHex: string, publicKeyHex: string, alg: string): Promise<boolean>;
3262
- }
3263
- declare class CceClientSignatureSensor implements AxisSensor {
3264
- private readonly keyResolver;
3265
- private readonly signatureVerifier;
3266
- readonly name = "cce.client.signature";
3267
- readonly order = 45;
3268
- readonly phase: "POST_DECODE";
3269
- constructor(keyResolver: CceClientKeyResolver, signatureVerifier: CceSignatureVerifier);
3270
- supports(input: SensorInput): boolean;
3271
- run(input: SensorInput): Promise<SensorDecision>;
3272
- }
3273
-
3274
- interface CceIssuerKeyResolver {
3275
- resolve(kid: string): Promise<{
3276
- publicKeyHex: string;
3277
- } | null>;
3278
- }
3279
- interface CceCapsuleSignatureVerifier {
3280
- verify(claims: Omit<CceCapsuleClaims, "issuer_sig">, signature: {
3281
- alg: string;
3282
- kid: string;
3283
- value: string;
3284
- }, publicKeyHex: string): Promise<boolean>;
3285
- }
3286
- declare class CceCapsuleVerificationSensor implements AxisSensor {
3287
- private readonly issuerKeyResolver;
3288
- private readonly capsuleVerifier;
3289
- readonly name = "cce.capsule.verification";
3290
- readonly order = 50;
3291
- readonly phase: "POST_DECODE";
3292
- constructor(issuerKeyResolver: CceIssuerKeyResolver, capsuleVerifier: CceCapsuleSignatureVerifier);
3293
- supports(input: SensorInput): boolean;
3294
- run(input: SensorInput): Promise<SensorDecision>;
3295
- }
3296
-
3297
- declare class CceTpsWindowSensor implements AxisSensor {
3298
- private readonly skewMs;
3299
- readonly name = "cce.tps.window";
3300
- readonly order = 92;
3301
- readonly phase: "POST_DECODE";
3302
- constructor(skewMs?: number);
3303
- supports(input: SensorInput): boolean;
3304
- run(input: SensorInput): Promise<SensorDecision>;
3305
- }
3306
-
3307
- declare class CceAudienceIntentBindingSensor implements AxisSensor {
3308
- private readonly axisAudience;
3309
- readonly name = "cce.audience.intent.binding";
3310
- readonly order = 95;
3311
- readonly phase: "POST_DECODE";
3312
- constructor(axisAudience: string);
3313
- supports(input: SensorInput): boolean;
3314
- run(input: SensorInput): Promise<SensorDecision>;
3315
- }
3316
-
3317
- interface CceReplayStore {
3318
- checkAndMark(key: string, ttlMs: number): Promise<boolean>;
3319
- isCapsuleConsumed(capsuleId: string): Promise<boolean>;
3320
- markCapsuleConsumed(capsuleId: string, ttlMs: number): Promise<void>;
3321
- isCapsuleRevoked(capsuleId: string): Promise<boolean>;
3322
- }
3323
- declare class InMemoryCceReplayStore implements CceReplayStore {
3324
- private nonces;
3325
- private consumed;
3326
- private revoked;
3327
- checkAndMark(key: string, ttlMs: number): Promise<boolean>;
3328
- isCapsuleConsumed(capsuleId: string): Promise<boolean>;
3329
- markCapsuleConsumed(capsuleId: string, _ttlMs: number): Promise<void>;
3330
- isCapsuleRevoked(capsuleId: string): Promise<boolean>;
3331
- revoke(capsuleId: string): void;
3332
- private cleanup;
3333
- }
3334
- declare class CceReplayProtectionSensor implements AxisSensor {
3335
- private readonly replayStore;
3336
- readonly name = "cce.replay.protection";
3337
- readonly order = 98;
3338
- readonly phase: "POST_DECODE";
3339
- private readonly nonceTtlMs;
3340
- constructor(replayStore: CceReplayStore, options?: {
3341
- nonceTtlMs?: number;
3342
- });
3343
- supports(input: SensorInput): boolean;
3344
- run(input: SensorInput): Promise<SensorDecision>;
3345
- }
3346
-
3347
- declare const index$c_CCE_AES_KEY_BYTES: typeof CCE_AES_KEY_BYTES;
3348
- declare const index$c_CCE_DERIVATION: typeof CCE_DERIVATION;
3349
- declare const index$c_CCE_ERROR: typeof CCE_ERROR;
3350
- declare const index$c_CCE_IV_BYTES: typeof CCE_IV_BYTES;
3351
- declare const index$c_CCE_NONCE_BYTES: typeof CCE_NONCE_BYTES;
3352
- declare const index$c_CCE_PROTOCOL_VERSION: typeof CCE_PROTOCOL_VERSION;
3353
- declare const index$c_CCE_TAG_BYTES: typeof CCE_TAG_BYTES;
3354
- type index$c_CceAesGcmProvider = CceAesGcmProvider;
3355
- type index$c_CceAlgorithm = CceAlgorithm;
3356
- type index$c_CceAlgorithmDescriptor = CceAlgorithmDescriptor;
3357
- type index$c_CceAudienceIntentBindingSensor = CceAudienceIntentBindingSensor;
3358
- declare const index$c_CceAudienceIntentBindingSensor: typeof CceAudienceIntentBindingSensor;
3359
- type index$c_CceAxisKeyProvider = CceAxisKeyProvider;
3360
- type index$c_CceAxisSigner = CceAxisSigner;
3361
- type index$c_CceCapsuleClaims = CceCapsuleClaims;
3362
- type index$c_CceCapsuleSignatureVerifier = CceCapsuleSignatureVerifier;
3363
- type index$c_CceCapsuleVerificationSensor = CceCapsuleVerificationSensor;
3364
- declare const index$c_CceCapsuleVerificationSensor: typeof CceCapsuleVerificationSensor;
3365
- type index$c_CceClientKeyEncryptor = CceClientKeyEncryptor;
3366
- type index$c_CceClientKeyResolver = CceClientKeyResolver;
3367
- type index$c_CceClientSignatureSensor = CceClientSignatureSensor;
3368
- declare const index$c_CceClientSignatureSensor: typeof CceClientSignatureSensor;
3369
- type index$c_CceConstraints = CceConstraints;
3370
- type index$c_CceDerivationInput = CceDerivationInput;
3371
- type index$c_CceEncryptedKey = CceEncryptedKey;
3372
- type index$c_CceEncryptedPayload = CceEncryptedPayload;
3373
- type index$c_CceEnvelopeValidationSensor = CceEnvelopeValidationSensor;
3374
- declare const index$c_CceEnvelopeValidationSensor: typeof CceEnvelopeValidationSensor;
3375
- type index$c_CceError = CceError;
3376
- declare const index$c_CceError: typeof CceError;
3377
- type index$c_CceErrorCode = CceErrorCode;
3378
- type index$c_CceExecutionContext = CceExecutionContext;
3379
- type index$c_CceHandler = CceHandler;
3380
- type index$c_CceHandlerContext = CceHandlerContext;
3381
- type index$c_CceHandlerResult = CceHandlerResult;
3382
- type index$c_CceIssuerKeyResolver = CceIssuerKeyResolver;
3383
- type index$c_CceKdfAlgorithm = CceKdfAlgorithm;
3384
- type index$c_CceKemAlgorithm = CceKemAlgorithm;
3385
- type index$c_CcePayloadDecryptionSensor = CcePayloadDecryptionSensor;
3386
- declare const index$c_CcePayloadDecryptionSensor: typeof CcePayloadDecryptionSensor;
3387
- type index$c_CcePayloadValidator = CcePayloadValidator;
3388
- type index$c_CcePayloadValidatorResult = CcePayloadValidatorResult;
3389
- type index$c_CcePipelineConfig = CcePipelineConfig;
3390
- type index$c_CcePipelineResult = CcePipelineResult;
3391
- type index$c_CcePolicyContext = CcePolicyContext;
3392
- type index$c_CcePolicyDecision = CcePolicyDecision;
3393
- type index$c_CcePolicyEvaluator = CcePolicyEvaluator;
3394
- type index$c_CceReplayProtectionSensor = CceReplayProtectionSensor;
3395
- declare const index$c_CceReplayProtectionSensor: typeof CceReplayProtectionSensor;
3396
- type index$c_CceReplayStore = CceReplayStore;
3397
- type index$c_CceRequestEnvelope = CceRequestEnvelope;
3398
- type index$c_CceResponseEnvelope = CceResponseEnvelope;
3399
- type index$c_CceResponseOptions = CceResponseOptions;
3400
- type index$c_CceResponseStatus = CceResponseStatus;
3401
- type index$c_CceSignature = CceSignature;
3402
- type index$c_CceSignatureVerifier = CceSignatureVerifier;
3403
- type index$c_CceTpsWindowSensor = CceTpsWindowSensor;
3404
- declare const index$c_CceTpsWindowSensor: typeof CceTpsWindowSensor;
3405
- type index$c_CceVerificationState = CceVerificationState;
3406
- type index$c_CceWitnessRecord = CceWitnessRecord;
3407
- type index$c_CceWitnessStore = CceWitnessStore;
3408
- type index$c_InMemoryCceReplayStore = InMemoryCceReplayStore;
3409
- declare const index$c_InMemoryCceReplayStore: typeof InMemoryCceReplayStore;
3410
- type index$c_InMemoryCceWitnessStore = InMemoryCceWitnessStore;
3411
- declare const index$c_InMemoryCceWitnessStore: typeof InMemoryCceWitnessStore;
3412
- declare const index$c_aesGcmDecrypt: typeof aesGcmDecrypt;
3413
- declare const index$c_aesGcmEncrypt: typeof aesGcmEncrypt;
3414
- declare const index$c_base64UrlDecode: typeof base64UrlDecode;
3415
- declare const index$c_base64UrlEncode: typeof base64UrlEncode;
3416
- declare const index$c_buildCceErrorResponse: typeof buildCceErrorResponse;
3417
- declare const index$c_buildCceResponse: typeof buildCceResponse;
3418
- declare const index$c_buildExecutionContext: typeof buildExecutionContext;
3419
- declare const index$c_buildWitnessRecord: typeof buildWitnessRecord;
3420
- declare const index$c_deriveRequestExecutionKey: typeof deriveRequestExecutionKey;
3421
- declare const index$c_deriveResponseExecutionKey: typeof deriveResponseExecutionKey;
3422
- declare const index$c_deriveWitnessKey: typeof deriveWitnessKey;
3423
- declare const index$c_executeCcePipeline: typeof executeCcePipeline;
3424
- declare const index$c_extractVerificationState: typeof extractVerificationState;
3425
- declare const index$c_generateAesKey: typeof generateAesKey;
3426
- declare const index$c_generateCceNonce: typeof generateCceNonce;
3427
- declare const index$c_generateIv: typeof generateIv;
3428
- declare const index$c_hashPayload: typeof hashPayload;
3429
- declare const index$c_nodeAesGcmProvider: typeof nodeAesGcmProvider;
3430
- declare namespace index$c {
3431
- export { index$c_CCE_AES_KEY_BYTES as CCE_AES_KEY_BYTES, index$c_CCE_DERIVATION as CCE_DERIVATION, index$c_CCE_ERROR as CCE_ERROR, index$c_CCE_IV_BYTES as CCE_IV_BYTES, index$c_CCE_NONCE_BYTES as CCE_NONCE_BYTES, index$c_CCE_PROTOCOL_VERSION as CCE_PROTOCOL_VERSION, index$c_CCE_TAG_BYTES as CCE_TAG_BYTES, type index$c_CceAesGcmProvider as CceAesGcmProvider, type index$c_CceAlgorithm as CceAlgorithm, type index$c_CceAlgorithmDescriptor as CceAlgorithmDescriptor, index$c_CceAudienceIntentBindingSensor as CceAudienceIntentBindingSensor, type index$c_CceAxisKeyProvider as CceAxisKeyProvider, type index$c_CceAxisSigner as CceAxisSigner, type index$c_CceCapsuleClaims as CceCapsuleClaims, type index$c_CceCapsuleSignatureVerifier as CceCapsuleSignatureVerifier, index$c_CceCapsuleVerificationSensor as CceCapsuleVerificationSensor, type index$c_CceClientKeyEncryptor as CceClientKeyEncryptor, type index$c_CceClientKeyResolver as CceClientKeyResolver, index$c_CceClientSignatureSensor as CceClientSignatureSensor, type index$c_CceConstraints as CceConstraints, type index$c_CceDerivationInput as CceDerivationInput, type index$c_CceEncryptedKey as CceEncryptedKey, type index$c_CceEncryptedPayload as CceEncryptedPayload, index$c_CceEnvelopeValidationSensor as CceEnvelopeValidationSensor, index$c_CceError as CceError, type index$c_CceErrorCode as CceErrorCode, type index$c_CceExecutionContext as CceExecutionContext, type index$c_CceHandler as CceHandler, type index$c_CceHandlerContext as CceHandlerContext, type index$c_CceHandlerResult as CceHandlerResult, type index$c_CceIssuerKeyResolver as CceIssuerKeyResolver, type index$c_CceKdfAlgorithm as CceKdfAlgorithm, type index$c_CceKemAlgorithm as CceKemAlgorithm, index$c_CcePayloadDecryptionSensor as CcePayloadDecryptionSensor, type index$c_CcePayloadValidator as CcePayloadValidator, type index$c_CcePayloadValidatorResult as CcePayloadValidatorResult, type index$c_CcePipelineConfig as CcePipelineConfig, type index$c_CcePipelineResult as CcePipelineResult, type index$c_CcePolicyContext as CcePolicyContext, type index$c_CcePolicyDecision as CcePolicyDecision, type index$c_CcePolicyEvaluator as CcePolicyEvaluator, index$c_CceReplayProtectionSensor as CceReplayProtectionSensor, type index$c_CceReplayStore as CceReplayStore, type index$c_CceRequestEnvelope as CceRequestEnvelope, type index$c_CceResponseEnvelope as CceResponseEnvelope, type index$c_CceResponseOptions as CceResponseOptions, type index$c_CceResponseStatus as CceResponseStatus, type index$c_CceSignature as CceSignature, type index$c_CceSignatureVerifier as CceSignatureVerifier, index$c_CceTpsWindowSensor as CceTpsWindowSensor, type index$c_CceVerificationState as CceVerificationState, type index$c_CceWitnessRecord as CceWitnessRecord, type index$c_CceWitnessStore as CceWitnessStore, index$c_InMemoryCceReplayStore as InMemoryCceReplayStore, index$c_InMemoryCceWitnessStore as InMemoryCceWitnessStore, index$c_aesGcmDecrypt as aesGcmDecrypt, index$c_aesGcmEncrypt as aesGcmEncrypt, index$c_base64UrlDecode as base64UrlDecode, index$c_base64UrlEncode as base64UrlEncode, index$c_buildCceErrorResponse as buildCceErrorResponse, index$c_buildCceResponse as buildCceResponse, index$c_buildExecutionContext as buildExecutionContext, index$c_buildWitnessRecord as buildWitnessRecord, index$c_deriveRequestExecutionKey as deriveRequestExecutionKey, index$c_deriveResponseExecutionKey as deriveResponseExecutionKey, index$c_deriveWitnessKey as deriveWitnessKey, index$c_executeCcePipeline as executeCcePipeline, index$c_extractVerificationState as extractVerificationState, index$c_generateAesKey as generateAesKey, index$c_generateCceNonce as generateCceNonce, index$c_generateIv as generateIv, index$c_hashPayload as hashPayload, index$c_nodeAesGcmProvider as nodeAesGcmProvider };
3432
- }
3433
-
3434
- type ProofType = 1 | 2 | 3 | 4;
3435
- interface ProofVerificationResult {
3436
- valid: boolean;
3437
- actorId?: string;
3438
- error?: string;
3439
- metadata?: Record<string, any>;
3440
- }
3441
- interface MTLSContext {
3442
- clientCertPem?: string;
3443
- clientCertFingerprint?: string;
3444
- clientCertSubject?: string;
3445
- clientCertIssuer?: string;
3446
- verified?: boolean;
3447
- }
3448
- interface DeviceSEContext {
3449
- deviceId: string;
3450
- signature: Uint8Array;
3451
- publicKey: Uint8Array;
3452
- challenge?: Uint8Array;
3453
- }
3454
- declare class ProofVerificationService {
3455
- private readonly logger;
3456
- private readonly deviceKeys;
3457
- private readonly trustedCerts;
3458
- verifyProof(proofType: ProofType, proofRef: Uint8Array, context: {
3459
- signTarget?: Uint8Array;
3460
- signature?: Uint8Array;
3461
- mtls?: MTLSContext;
3462
- deviceSE?: DeviceSEContext;
3463
- }): Promise<ProofVerificationResult>;
3464
- private verifyCapsuleProof;
3465
- private verifyJWTProof;
3466
- private verifyMTLSProof;
3467
- private verifyDeviceSEProof;
3468
- registerDeviceKey(deviceId: string, publicKey: Uint8Array): void;
3469
- unregisterDevice(deviceId: string): boolean;
3470
- registerMTLSCert(fingerprint: string, actorId: string): void;
3471
- revokeMTLSCert(fingerprint: string): boolean;
3472
- static calculateFingerprint(certPem: string): string;
3473
- }
3474
-
3475
- type index$b_ActorKeyRecord = ActorKeyRecord;
3476
- type index$b_AxisCapsule = AxisCapsule;
3477
- type index$b_AxisCapsuleConstraints = AxisCapsuleConstraints;
3478
- type index$b_AxisCapsulePayload = AxisCapsulePayload;
3479
- type index$b_CapsuleBatchBody = CapsuleBatchBody;
3480
- type index$b_CapsuleBatchResult = CapsuleBatchResult;
3481
- type index$b_CapsuleIssueBody = CapsuleIssueBody;
3482
- type index$b_CapsuleIssueResult = CapsuleIssueResult;
3483
- type index$b_CapsuleMode = CapsuleMode;
3484
- type index$b_CapsuleRecord = CapsuleRecord;
3485
- type index$b_CapsuleRevokeBody = CapsuleRevokeBody;
3486
- type index$b_CapsuleStatus = CapsuleStatus;
3487
- type index$b_DeviceSEContext = DeviceSEContext;
3488
- type index$b_IntentExecBody = IntentExecBody;
3489
- type index$b_IssuerKeyRecord = IssuerKeyRecord;
3490
- type index$b_KeyStatus = KeyStatus;
3491
- type index$b_MTLSContext = MTLSContext;
3492
- type index$b_ProofType = ProofType;
3493
- type index$b_ProofVerificationResult = ProofVerificationResult;
3494
- type index$b_ProofVerificationService = ProofVerificationService;
3495
- declare const index$b_ProofVerificationService: typeof ProofVerificationService;
3496
- type index$b_TickWindow = TickWindow;
3497
- declare const index$b_b64urlDecode: typeof b64urlDecode;
3498
- declare const index$b_b64urlDecodeString: typeof b64urlDecodeString;
3499
- declare const index$b_b64urlEncode: typeof b64urlEncode;
3500
- declare const index$b_b64urlEncodeString: typeof b64urlEncodeString;
3501
- declare const index$b_canonicalJson: typeof canonicalJson;
3502
- declare const index$b_canonicalJsonExcluding: typeof canonicalJsonExcluding;
3503
- declare namespace index$b {
3504
- export { type index$b_ActorKeyRecord as ActorKeyRecord, type AxisAlg$1 as AxisAlg, type index$b_AxisCapsule as AxisCapsule, type index$b_AxisCapsuleConstraints as AxisCapsuleConstraints, type index$b_AxisCapsulePayload as AxisCapsulePayload, type AxisPacket$1 as AxisPacket, type AxisResponse$1 as AxisResponse, type AxisSig$1 as AxisSig, type index$b_CapsuleBatchBody as CapsuleBatchBody, type index$b_CapsuleBatchResult as CapsuleBatchResult, type index$b_CapsuleIssueBody as CapsuleIssueBody, type index$b_CapsuleIssueResult as CapsuleIssueResult, type index$b_CapsuleMode as CapsuleMode, type index$b_CapsuleRecord as CapsuleRecord, type index$b_CapsuleRevokeBody as CapsuleRevokeBody, type index$b_CapsuleStatus as CapsuleStatus, type index$b_DeviceSEContext as DeviceSEContext, type index$b_IntentExecBody as IntentExecBody, type index$b_IssuerKeyRecord as IssuerKeyRecord, type index$b_KeyStatus as KeyStatus, type index$b_MTLSContext as MTLSContext, type index$b_ProofType as ProofType, type index$b_ProofVerificationResult as ProofVerificationResult, index$b_ProofVerificationService as ProofVerificationService, type index$b_TickWindow as TickWindow, index$b_b64urlDecode as b64urlDecode, index$b_b64urlDecodeString as b64urlDecodeString, index$b_b64urlEncode as b64urlEncode, index$b_b64urlEncodeString as b64urlEncodeString, index$b_canonicalJson as canonicalJson, index$b_canonicalJsonExcluding as canonicalJsonExcluding };
3505
- }
3506
-
3507
- declare const index$a_AXIS_ANONYMOUS_KEY: typeof AXIS_ANONYMOUS_KEY;
3508
- declare const index$a_AXIS_META_KEY: typeof AXIS_META_KEY;
3509
- declare const index$a_AXIS_PUBLIC_KEY: typeof AXIS_PUBLIC_KEY;
3510
- declare const index$a_AXIS_RATE_LIMIT_KEY: typeof AXIS_RATE_LIMIT_KEY;
3511
- declare const index$a_Axis: typeof Axis;
3512
- declare const index$a_AxisAnonymous: typeof AxisAnonymous;
3513
- declare const index$a_AxisContext: typeof AxisContext;
3514
- declare const index$a_AxisDemoPubkey: typeof AxisDemoPubkey;
3515
- declare const index$a_AxisFrame: typeof AxisFrame;
3516
- type index$a_AxisIntentSensorOptions = AxisIntentSensorOptions;
3517
- type index$a_AxisIntentSensorRef = AxisIntentSensorRef;
3518
- declare const index$a_AxisIp: typeof AxisIp;
3519
- type index$a_AxisObserverBinding = AxisObserverBinding;
3520
- type index$a_AxisObserverBindingOptions = AxisObserverBindingOptions;
3521
- type index$a_AxisObserverDefinition = AxisObserverDefinition;
3522
- type index$a_AxisObserverRef = AxisObserverRef;
3523
- declare const index$a_AxisPublic: typeof AxisPublic;
3524
- declare const index$a_AxisRateLimit: typeof AxisRateLimit;
3525
- type index$a_AxisRateLimitConfig = AxisRateLimitConfig;
3526
- declare const index$a_AxisRaw: typeof AxisRaw;
3527
- type index$a_AxisRequestData = AxisRequestData;
3528
- declare const index$a_CAPSULE_POLICY_METADATA_KEY: typeof CAPSULE_POLICY_METADATA_KEY;
3529
- declare const index$a_CHAIN_METADATA_KEY: typeof CHAIN_METADATA_KEY;
3530
- declare const index$a_CONTRACT_METADATA_KEY: typeof CONTRACT_METADATA_KEY;
3531
- declare const index$a_Capsule: typeof Capsule;
3532
- declare const index$a_CapsulePolicy: typeof CapsulePolicy;
3533
- type index$a_CapsulePolicyOptions = CapsulePolicyOptions;
3534
- type index$a_CapsuleScopeMode = CapsuleScopeMode;
3535
- declare const index$a_Chain: typeof Chain;
3536
- declare const index$a_Contract: typeof Contract;
3537
- type index$a_DtoSchema = DtoSchema;
3538
- declare const index$a_HANDLER_METADATA_KEY: typeof HANDLER_METADATA_KEY;
3539
- declare const index$a_Handler: typeof Handler;
3540
- declare const index$a_INTENT_BODY_KEY: typeof INTENT_BODY_KEY;
3541
- declare const index$a_INTENT_METADATA_KEY: typeof INTENT_METADATA_KEY;
3542
- declare const index$a_INTENT_ROUTES_KEY: typeof INTENT_ROUTES_KEY;
3543
- declare const index$a_INTENT_SENSORS_KEY: typeof INTENT_SENSORS_KEY;
3544
- declare const index$a_Intent: typeof Intent;
3545
- declare const index$a_IntentBody: typeof IntentBody;
3546
- type index$a_IntentKind = IntentKind;
3547
- type index$a_IntentOptions = IntentOptions;
3548
- type index$a_IntentRoute = IntentRoute;
3549
- declare const index$a_IntentSensors: typeof IntentSensors;
3550
- type index$a_IntentTlvField = IntentTlvField;
3551
- declare const index$a_OBSERVER_BINDINGS_KEY: typeof OBSERVER_BINDINGS_KEY;
3552
- declare const index$a_OBSERVER_METADATA_KEY: typeof OBSERVER_METADATA_KEY;
3553
- declare const index$a_Observer: typeof Observer;
3554
- declare const index$a_REQUIRED_PROOF_METADATA_KEY: typeof REQUIRED_PROOF_METADATA_KEY;
3555
- declare const index$a_RequiredProof: typeof RequiredProof;
3556
- type index$a_RequiredProofKind = RequiredProofKind;
3557
- declare const index$a_SENSITIVITY_METADATA_KEY: typeof SENSITIVITY_METADATA_KEY;
3558
- declare const index$a_SENSOR_METADATA_KEY: typeof SENSOR_METADATA_KEY;
3559
- declare const index$a_Sensitivity: typeof Sensitivity;
3560
- declare const index$a_Sensor: typeof Sensor;
3561
- type index$a_SensorOptions = SensorOptions;
3562
- type index$a_SensorPhase = SensorPhase;
3563
- declare const index$a_TLV_FIELDS_KEY: typeof TLV_FIELDS_KEY;
3564
- declare const index$a_TLV_VALIDATORS_KEY: typeof TLV_VALIDATORS_KEY;
3565
- declare const index$a_TlvEnum: typeof TlvEnum;
3566
- declare const index$a_TlvField: typeof TlvField;
3567
- type index$a_TlvFieldKind = TlvFieldKind;
3568
- type index$a_TlvFieldMeta = TlvFieldMeta;
3569
- type index$a_TlvFieldOptions = TlvFieldOptions;
3570
- declare const index$a_TlvMinLen: typeof TlvMinLen;
3571
- declare const index$a_TlvRange: typeof TlvRange;
3572
- declare const index$a_TlvUtf8Pattern: typeof TlvUtf8Pattern;
3573
- declare const index$a_TlvValidate: typeof TlvValidate;
3574
- type index$a_TlvValidatorFn = TlvValidatorFn;
3575
- type index$a_TlvValidatorMeta = TlvValidatorMeta;
3576
- declare const index$a_Witness: typeof Witness;
3577
- declare const index$a_buildDtoDecoder: typeof buildDtoDecoder;
3578
- declare const index$a_extractDtoSchema: typeof extractDtoSchema;
3579
- declare const index$a_mergeCapsulePolicyOptions: typeof mergeCapsulePolicyOptions;
3580
- declare const index$a_normalizeCapsulePolicyOptions: typeof normalizeCapsulePolicyOptions;
3581
- declare namespace index$a {
3582
- export { index$a_AXIS_ANONYMOUS_KEY as AXIS_ANONYMOUS_KEY, index$a_AXIS_META_KEY as AXIS_META_KEY, index$a_AXIS_PUBLIC_KEY as AXIS_PUBLIC_KEY, index$a_AXIS_RATE_LIMIT_KEY as AXIS_RATE_LIMIT_KEY, index$a_Axis as Axis, index$a_AxisAnonymous as AxisAnonymous, index$a_AxisContext as AxisContext, index$a_AxisDemoPubkey as AxisDemoPubkey, index$a_AxisFrame as AxisFrame, type index$a_AxisIntentSensorOptions as AxisIntentSensorOptions, type index$a_AxisIntentSensorRef as AxisIntentSensorRef, index$a_AxisIp as AxisIp, type index$a_AxisObserverBinding as AxisObserverBinding, type index$a_AxisObserverBindingOptions as AxisObserverBindingOptions, type index$a_AxisObserverDefinition as AxisObserverDefinition, type index$a_AxisObserverRef as AxisObserverRef, index$a_AxisPublic as AxisPublic, index$a_AxisRateLimit as AxisRateLimit, type index$a_AxisRateLimitConfig as AxisRateLimitConfig, index$a_AxisRaw as AxisRaw, type index$a_AxisRequestData as AxisRequestData, index$a_CAPSULE_POLICY_METADATA_KEY as CAPSULE_POLICY_METADATA_KEY, index$a_CHAIN_METADATA_KEY as CHAIN_METADATA_KEY, index$a_CONTRACT_METADATA_KEY as CONTRACT_METADATA_KEY, index$a_Capsule as Capsule, index$a_CapsulePolicy as CapsulePolicy, type index$a_CapsulePolicyOptions as CapsulePolicyOptions, type index$a_CapsuleScopeMode as CapsuleScopeMode, index$a_Chain as Chain, index$a_Contract as Contract, type index$a_DtoSchema as DtoSchema, index$a_HANDLER_METADATA_KEY as HANDLER_METADATA_KEY, index$a_Handler as Handler, index$a_INTENT_BODY_KEY as INTENT_BODY_KEY, index$a_INTENT_METADATA_KEY as INTENT_METADATA_KEY, index$a_INTENT_ROUTES_KEY as INTENT_ROUTES_KEY, index$a_INTENT_SENSORS_KEY as INTENT_SENSORS_KEY, index$a_Intent as Intent, index$a_IntentBody as IntentBody, type index$a_IntentKind as IntentKind, type index$a_IntentOptions as IntentOptions, type index$a_IntentRoute as IntentRoute, index$a_IntentSensors as IntentSensors, type index$a_IntentTlvField as IntentTlvField, index$a_OBSERVER_BINDINGS_KEY as OBSERVER_BINDINGS_KEY, index$a_OBSERVER_METADATA_KEY as OBSERVER_METADATA_KEY, index$a_Observer as Observer, index$a_REQUIRED_PROOF_METADATA_KEY as REQUIRED_PROOF_METADATA_KEY, index$a_RequiredProof as RequiredProof, type index$a_RequiredProofKind as RequiredProofKind, index$a_SENSITIVITY_METADATA_KEY as SENSITIVITY_METADATA_KEY, index$a_SENSOR_METADATA_KEY as SENSOR_METADATA_KEY, index$a_Sensitivity as Sensitivity, index$a_Sensor as Sensor, type index$a_SensorOptions as SensorOptions, type index$a_SensorPhase as SensorPhase, index$a_TLV_FIELDS_KEY as TLV_FIELDS_KEY, index$a_TLV_VALIDATORS_KEY as TLV_VALIDATORS_KEY, index$a_TlvEnum as TlvEnum, index$a_TlvField as TlvField, type index$a_TlvFieldKind as TlvFieldKind, type index$a_TlvFieldMeta as TlvFieldMeta, type index$a_TlvFieldOptions as TlvFieldOptions, index$a_TlvMinLen as TlvMinLen, index$a_TlvRange as TlvRange, index$a_TlvUtf8Pattern as TlvUtf8Pattern, index$a_TlvValidate as TlvValidate, type index$a_TlvValidatorFn as TlvValidatorFn, type index$a_TlvValidatorMeta as TlvValidatorMeta, index$a_Witness as Witness, index$a_buildDtoDecoder as buildDtoDecoder, index$a_extractDtoSchema as extractDtoSchema, index$a_mergeCapsulePolicyOptions as mergeCapsulePolicyOptions, index$a_normalizeCapsulePolicyOptions as normalizeCapsulePolicyOptions };
3583
- }
3584
-
3585
- type index$9_ObservationQueueConfig = ObservationQueueConfig;
3586
- type index$9_ObservationQueueMessage = ObservationQueueMessage;
3587
- type index$9_ObservationStreamEntry = ObservationStreamEntry;
3588
- type index$9_ObservationWitnessSummary = ObservationWitnessSummary;
3589
- type index$9_ObserverVerdict = ObserverVerdict;
3590
- type index$9_ResponseContract = ResponseContract;
3591
- declare const index$9_ResponseObserver: typeof ResponseObserver;
3592
- type index$9_ResponseObserverContext = ResponseObserverContext;
3593
- type index$9_UnsignedObservationWitness = UnsignedObservationWitness;
3594
- declare const index$9_buildQueueMessage: typeof buildQueueMessage;
3595
- declare const index$9_buildUnsignedWitness: typeof buildUnsignedWitness;
3596
- declare const index$9_canonicalizeObservation: typeof canonicalizeObservation;
3597
- declare const index$9_decodeQueueMessage: typeof decodeQueueMessage;
3598
- declare const index$9_encodeQueueMessage: typeof encodeQueueMessage;
3599
- declare const index$9_hashObservation: typeof hashObservation;
3600
- declare const index$9_parseAutoClaimEntries: typeof parseAutoClaimEntries;
3601
- declare const index$9_parseStreamEntries: typeof parseStreamEntries;
3602
- declare const index$9_stableJsonStringify: typeof stableJsonStringify;
3603
- declare const index$9_verifyResponse: typeof verifyResponse;
3604
- declare namespace index$9 {
3605
- export { type index$9_ObservationQueueConfig as ObservationQueueConfig, type index$9_ObservationQueueMessage as ObservationQueueMessage, type index$9_ObservationStreamEntry as ObservationStreamEntry, type index$9_ObservationWitnessSummary as ObservationWitnessSummary, type index$9_ObserverVerdict as ObserverVerdict, type index$9_ResponseContract as ResponseContract, index$9_ResponseObserver as ResponseObserver, type index$9_ResponseObserverContext as ResponseObserverContext, type index$9_UnsignedObservationWitness as UnsignedObservationWitness, index$9_buildQueueMessage as buildQueueMessage, index$9_buildUnsignedWitness as buildUnsignedWitness, index$9_canonicalizeObservation as canonicalizeObservation, index$9_decodeQueueMessage as decodeQueueMessage, index$9_encodeQueueMessage as encodeQueueMessage, index$9_hashObservation as hashObservation, index$9_parseAutoClaimEntries as parseAutoClaimEntries, index$9_parseStreamEntries as parseStreamEntries, index$9_stableJsonStringify as stableJsonStringify, index$9_verifyResponse as verifyResponse };
3606
- }
3607
-
3608
- declare const index$8_AXIS_EXECUTION_CONTEXT_KEY: typeof AXIS_EXECUTION_CONTEXT_KEY;
3609
- type index$8_AxisCapsuleRef = AxisCapsuleRef;
3610
- type index$8_AxisChainEncryption = AxisChainEncryption;
3611
- type index$8_AxisChainEnvelope<TInput = unknown> = AxisChainEnvelope<TInput>;
3612
- type index$8_AxisChainExecutionOptions = AxisChainExecutionOptions;
3613
- type index$8_AxisChainExecutor = AxisChainExecutor;
3614
- declare const index$8_AxisChainExecutor: typeof AxisChainExecutor;
3615
- type index$8_AxisChainRequest<TInput = unknown, TCapsule = Record<string, unknown>> = AxisChainRequest<TInput, TCapsule>;
3616
- type index$8_AxisChainResult<TOutput = unknown> = AxisChainResult<TOutput>;
3617
- type index$8_AxisChainStatus = AxisChainStatus;
3618
- type index$8_AxisChainStep<TInput = unknown> = AxisChainStep<TInput>;
3619
- type index$8_AxisChainStepResult<TOutput = unknown> = AxisChainStepResult<TOutput>;
3620
- type index$8_AxisChainStepStatus = AxisChainStepStatus;
3621
- type index$8_AxisDecoded = AxisDecoded;
3622
- type index$8_AxisEffect = AxisEffect;
3623
- type index$8_AxisExecutionContext = AxisExecutionContext;
3624
- type index$8_AxisExecutionMode = AxisExecutionMode;
3625
- type index$8_AxisIntentEnvelope<TPayload = unknown> = AxisIntentEnvelope<TPayload>;
3626
- type index$8_AxisIntentObserver = AxisIntentObserver;
3627
- type index$8_AxisKeyExchangeRef = AxisKeyExchangeRef;
3628
- type index$8_AxisObservation = AxisObservation;
3629
- type index$8_AxisObserverContext = AxisObserverContext;
3630
- type index$8_AxisObserverEvent = AxisObserverEvent;
3631
- type index$8_AxisObserverRegistration = AxisObserverRegistration;
3632
- declare const index$8_BAND: typeof BAND;
3633
- type index$8_ChainOptions = ChainOptions;
3634
- type index$8_HandlerDiscoveryService = HandlerDiscoveryService;
3635
- declare const index$8_HandlerDiscoveryService: typeof HandlerDiscoveryService;
3636
- type index$8_IntentRouter = IntentRouter;
3637
- declare const index$8_IntentRouter: typeof IntentRouter;
3638
- type index$8_ObservationQueueConfig = ObservationQueueConfig;
3639
- type index$8_ObservationQueueMessage = ObservationQueueMessage;
3640
- type index$8_ObservationSensor = ObservationSensor;
3641
- type index$8_ObservationStage = ObservationStage;
3642
- type index$8_ObservationStreamEntry = ObservationStreamEntry;
3643
- type index$8_ObservationWitnessSummary = ObservationWitnessSummary;
3644
- type index$8_ObserverDiscoveryService = ObserverDiscoveryService;
3645
- declare const index$8_ObserverDiscoveryService: typeof ObserverDiscoveryService;
3646
- type index$8_ObserverDispatcherService = ObserverDispatcherService;
3647
- declare const index$8_ObserverDispatcherService: typeof ObserverDispatcherService;
3648
- type index$8_ObserverRegistry = ObserverRegistry;
3649
- declare const index$8_ObserverRegistry: typeof ObserverRegistry;
3650
- type index$8_ObserverVerdict = ObserverVerdict;
3651
- declare const index$8_PRE_DECODE_BOUNDARY: typeof PRE_DECODE_BOUNDARY;
3652
- type index$8_RegisteredChainConfig = RegisteredChainConfig;
3653
- type index$8_ResponseContract = ResponseContract;
3654
- declare const index$8_ResponseObserver: typeof ResponseObserver;
3655
- type index$8_ResponseObserverContext = ResponseObserverContext;
3656
- type index$8_SensorBand = SensorBand;
3657
- type index$8_SensorDiscoveryService = SensorDiscoveryService;
3658
- declare const index$8_SensorDiscoveryService: typeof SensorDiscoveryService;
3659
- type index$8_SensorRegistry = SensorRegistry;
3660
- declare const index$8_SensorRegistry: typeof SensorRegistry;
3661
- type index$8_UnsignedObservationWitness = UnsignedObservationWitness;
3662
- declare const index$8_buildQueueMessage: typeof buildQueueMessage;
3663
- declare const index$8_buildUnsignedWitness: typeof buildUnsignedWitness;
3664
- declare const index$8_canonicalizeObservation: typeof canonicalizeObservation;
3665
- declare const index$8_createObservation: typeof createObservation;
3666
- declare const index$8_decodeQueueMessage: typeof decodeQueueMessage;
3667
- declare const index$8_encodeQueueMessage: typeof encodeQueueMessage;
3668
- declare const index$8_endStage: typeof endStage;
3669
- declare const index$8_finalizeObservation: typeof finalizeObservation;
3670
- declare const index$8_getAxisExecutionContext: typeof getAxisExecutionContext;
3671
- declare const index$8_hashObservation: typeof hashObservation;
3672
- declare const index$8_mergeAxisExecutionContext: typeof mergeAxisExecutionContext;
3673
- declare const index$8_parseAutoClaimEntries: typeof parseAutoClaimEntries;
3674
- declare const index$8_parseStreamEntries: typeof parseStreamEntries;
3675
- declare const index$8_recordSensor: typeof recordSensor;
3676
- declare const index$8_stableJsonStringify: typeof stableJsonStringify;
3677
- declare const index$8_startStage: typeof startStage;
3678
- declare const index$8_verifyResponse: typeof verifyResponse;
3679
- declare const index$8_withAxisExecutionContext: typeof withAxisExecutionContext;
3680
- declare namespace index$8 {
3681
- export { index$8_AXIS_EXECUTION_CONTEXT_KEY as AXIS_EXECUTION_CONTEXT_KEY, type index$8_AxisCapsuleRef as AxisCapsuleRef, type index$8_AxisChainEncryption as AxisChainEncryption, type index$8_AxisChainEnvelope as AxisChainEnvelope, type index$8_AxisChainExecutionOptions as AxisChainExecutionOptions, index$8_AxisChainExecutor as AxisChainExecutor, type index$8_AxisChainRequest as AxisChainRequest, type index$8_AxisChainResult as AxisChainResult, type index$8_AxisChainStatus as AxisChainStatus, type index$8_AxisChainStep as AxisChainStep, type index$8_AxisChainStepResult as AxisChainStepResult, type index$8_AxisChainStepStatus as AxisChainStepStatus, type index$8_AxisDecoded as AxisDecoded, type index$8_AxisEffect as AxisEffect, type index$8_AxisExecutionContext as AxisExecutionContext, type index$8_AxisExecutionMode as AxisExecutionMode, type index$8_AxisIntentEnvelope as AxisIntentEnvelope, type index$8_AxisIntentObserver as AxisIntentObserver, type index$8_AxisKeyExchangeRef as AxisKeyExchangeRef, type index$8_AxisObservation as AxisObservation, type index$8_AxisObserverContext as AxisObserverContext, type index$8_AxisObserverEvent as AxisObserverEvent, type index$8_AxisObserverRegistration as AxisObserverRegistration, index$8_BAND as BAND, type index$8_ChainOptions as ChainOptions, index$8_HandlerDiscoveryService as HandlerDiscoveryService, index$8_IntentRouter as IntentRouter, type IntentSchema$1 as IntentSchema, type index$8_ObservationQueueConfig as ObservationQueueConfig, type index$8_ObservationQueueMessage as ObservationQueueMessage, type index$8_ObservationSensor as ObservationSensor, type index$8_ObservationStage as ObservationStage, type index$8_ObservationStreamEntry as ObservationStreamEntry, type index$8_ObservationWitnessSummary as ObservationWitnessSummary, index$8_ObserverDiscoveryService as ObserverDiscoveryService, index$8_ObserverDispatcherService as ObserverDispatcherService, index$8_ObserverRegistry as ObserverRegistry, type index$8_ObserverVerdict as ObserverVerdict, index$8_PRE_DECODE_BOUNDARY as PRE_DECODE_BOUNDARY, type index$8_RegisteredChainConfig as RegisteredChainConfig, type index$8_ResponseContract as ResponseContract, index$8_ResponseObserver as ResponseObserver, type index$8_ResponseObserverContext as ResponseObserverContext, type index$8_SensorBand as SensorBand, index$8_SensorDiscoveryService as SensorDiscoveryService, index$8_SensorRegistry as SensorRegistry, type index$8_UnsignedObservationWitness as UnsignedObservationWitness, index$8_buildQueueMessage as buildQueueMessage, index$8_buildUnsignedWitness as buildUnsignedWitness, index$8_canonicalizeObservation as canonicalizeObservation, index$8_createObservation as createObservation, index$8_decodeQueueMessage as decodeQueueMessage, index$8_encodeQueueMessage as encodeQueueMessage, index$8_endStage as endStage, index$8_finalizeObservation as finalizeObservation, index$8_getAxisExecutionContext as getAxisExecutionContext, index$8_hashObservation as hashObservation, index$8_mergeAxisExecutionContext as mergeAxisExecutionContext, index$9 as observation, index$8_parseAutoClaimEntries as parseAutoClaimEntries, index$8_parseStreamEntries as parseStreamEntries, index$8_recordSensor as recordSensor, index$8_stableJsonStringify as stableJsonStringify, index$8_startStage as startStage, index$8_verifyResponse as verifyResponse, index$8_withAxisExecutionContext as withAxisExecutionContext };
3682
- }
3683
-
3684
- type index$7_AlternativeIntent = AlternativeIntent;
3685
- type index$7_ClarificationQuestion = ClarificationQuestion;
3686
- type index$7_CompilationError = CompilationError;
3687
- type index$7_CompilationResult = CompilationResult;
3688
- type index$7_CompiledIntent = CompiledIntent;
3689
- type index$7_ConstraintKind = ConstraintKind;
3690
- type index$7_IdelCompiler = IdelCompiler;
3691
- declare const index$7_IdelCompiler: typeof IdelCompiler;
3692
- type index$7_IdelSchemaRegistry = IdelSchemaRegistry;
3693
- declare const index$7_IdelSchemaRegistry: typeof IdelSchemaRegistry;
3694
- type index$7_IntentConstraint = IntentConstraint;
3695
- type index$7_IntentParamSchema = IntentParamSchema;
3696
- type index$7_IntentProposal = IntentProposal;
3697
- type index$7_IntentRisk = IntentRisk;
3698
- type index$7_IntentSchema = IntentSchema;
3699
- type index$7_RiskLevel = RiskLevel;
3700
- declare namespace index$7 {
3701
- export { type index$7_AlternativeIntent as AlternativeIntent, type index$7_ClarificationQuestion as ClarificationQuestion, type index$7_CompilationError as CompilationError, type index$7_CompilationResult as CompilationResult, type index$7_CompiledIntent as CompiledIntent, type index$7_ConstraintKind as ConstraintKind, index$7_IdelCompiler as IdelCompiler, index$7_IdelSchemaRegistry as IdelSchemaRegistry, type index$7_IntentConstraint as IntentConstraint, type index$7_IntentParamSchema as IntentParamSchema, type index$7_IntentProposal as IntentProposal, type index$7_IntentRisk as IntentRisk, type index$7_IntentSchema as IntentSchema, type index$7_RiskLevel as RiskLevel };
3702
- }
3703
-
3704
- type index$6_Grant = Grant;
3705
- type index$6_GrantCapability = GrantCapability;
3706
- type index$6_GrantMeta = GrantMeta;
3707
- type index$6_GrantStatus = GrantStatus;
3708
- type index$6_GrantType = GrantType;
3709
- type index$6_GrantValidationResult = GrantValidationResult;
3710
- type index$6_LoomExecutionResult = LoomExecutionResult;
3711
- type index$6_LoomReceipt = LoomReceipt;
3712
- type index$6_LoomValidationResult = LoomValidationResult;
3713
- declare const index$6_PROOF_LOOM: typeof PROOF_LOOM;
3714
- type index$6_PresenceChallenge = PresenceChallenge;
3715
- type index$6_PresenceDeclaration = PresenceDeclaration;
3716
- type index$6_PresenceProof = PresenceProof;
3717
- type index$6_PresenceReceipt = PresenceReceipt;
3718
- type index$6_PresenceStatus = PresenceStatus;
3719
- type index$6_PresenceVerifyResult = PresenceVerifyResult;
3720
- type index$6_Revocation = Revocation;
3721
- type index$6_RevocationTargetType = RevocationTargetType;
3722
- type index$6_ThreadState = ThreadState;
3723
- type index$6_Writ = Writ;
3724
- type index$6_WritBody = WritBody;
3725
- type index$6_WritHead = WritHead;
3726
- type index$6_WritMeta = WritMeta;
3727
- type index$6_WritSignature = WritSignature;
3728
- type index$6_WritValidationResult = WritValidationResult;
3729
- declare const index$6_canonicalizeGrant: typeof canonicalizeGrant;
3730
- declare const index$6_canonicalizeWrit: typeof canonicalizeWrit;
3731
- declare const index$6_createGrant: typeof createGrant;
3732
- declare const index$6_createPresenceChallenge: typeof createPresenceChallenge;
3733
- declare const index$6_createReceipt: typeof createReceipt;
3734
- declare const index$6_createRevocation: typeof createRevocation;
3735
- declare const index$6_createWrit: typeof createWrit;
3736
- declare const index$6_deriveAnchorReflection: typeof deriveAnchorReflection;
3737
- declare const index$6_executeLoomPipeline: typeof executeLoomPipeline;
3738
- declare const index$6_getGrantStatus: typeof getGrantStatus;
3739
- declare const index$6_getPresenceStatus: typeof getPresenceStatus;
3740
- declare const index$6_grantCoversAction: typeof grantCoversAction;
3741
- declare const index$6_isRevoked: typeof isRevoked;
3742
- declare const index$6_renewPresence: typeof renewPresence;
3743
- declare const index$6_signPresenceChallenge: typeof signPresenceChallenge;
3744
- declare const index$6_updateThreadState: typeof updateThreadState;
3745
- declare const index$6_validateGrant: typeof validateGrant;
3746
- declare const index$6_validateWrit: typeof validateWrit;
3747
- declare const index$6_verifyPresenceProof: typeof verifyPresenceProof;
3748
- declare const index$6_verifyReceiptChain: typeof verifyReceiptChain;
3749
- declare namespace index$6 {
3750
- export { type index$6_Grant as Grant, type index$6_GrantCapability as GrantCapability, type index$6_GrantMeta as GrantMeta, type index$6_GrantStatus as GrantStatus, type index$6_GrantType as GrantType, type index$6_GrantValidationResult as GrantValidationResult, type index$6_LoomExecutionResult as LoomExecutionResult, type index$6_LoomReceipt as LoomReceipt, type index$6_LoomValidationResult as LoomValidationResult, index$6_PROOF_LOOM as PROOF_LOOM, type index$6_PresenceChallenge as PresenceChallenge, type index$6_PresenceDeclaration as PresenceDeclaration, type index$6_PresenceProof as PresenceProof, type index$6_PresenceReceipt as PresenceReceipt, type index$6_PresenceStatus as PresenceStatus, type index$6_PresenceVerifyResult as PresenceVerifyResult, type index$6_Revocation as Revocation, type index$6_RevocationTargetType as RevocationTargetType, TLV_LOOM_PRESENCE_ID as TLV_PRESENCE_ID, TLV_LOOM_THREAD_HASH as TLV_THREAD_HASH, TLV_LOOM_WRIT as TLV_WRIT, type index$6_ThreadState as ThreadState, type index$6_Writ as Writ, type index$6_WritBody as WritBody, type index$6_WritHead as WritHead, type index$6_WritMeta as WritMeta, type index$6_WritSignature as WritSignature, type index$6_WritValidationResult as WritValidationResult, index$6_canonicalizeGrant as canonicalizeGrant, index$6_canonicalizeWrit as canonicalizeWrit, index$6_createGrant as createGrant, index$6_createPresenceChallenge as createPresenceChallenge, index$6_createReceipt as createReceipt, index$6_createRevocation as createRevocation, index$6_createWrit as createWrit, index$6_deriveAnchorReflection as deriveAnchorReflection, index$6_executeLoomPipeline as executeLoomPipeline, index$6_getGrantStatus as getGrantStatus, index$6_getPresenceStatus as getPresenceStatus, index$6_grantCoversAction as grantCoversAction, index$6_isRevoked as isRevoked, index$6_renewPresence as renewPresence, index$6_signPresenceChallenge as signPresenceChallenge, index$6_updateThreadState as updateThreadState, index$6_validateGrant as validateGrant, index$6_validateWrit as validateWrit, index$6_verifyPresenceProof as verifyPresenceProof, index$6_verifyReceiptChain as verifyReceiptChain };
3751
- }
3752
-
3753
- type index$5_Fabric = Fabric;
3754
- type index$5_FabricCell = FabricCell;
3755
- type index$5_FabricDiff = FabricDiff;
3756
- type index$5_FabricDiffEntry = FabricDiffEntry;
3757
- type index$5_FabricDiffKind = FabricDiffKind;
3758
- type index$5_FabricEffect = FabricEffect;
3759
- type index$5_FabricEffectResolver = FabricEffectResolver;
3760
- type index$5_FabricQuery = FabricQuery;
3761
- type index$5_InMemoryPatternStore = InMemoryPatternStore;
3762
- declare const index$5_InMemoryPatternStore: typeof InMemoryPatternStore;
3763
- type index$5_Knot = Knot;
3764
- type index$5_KnotBreakRequest = KnotBreakRequest;
3765
- type index$5_KnotError = KnotError;
3766
- type index$5_KnotStatus = KnotStatus;
3767
- type index$5_KnotType = KnotType;
3768
- type index$5_KnotValidationResult = KnotValidationResult;
3769
- type index$5_Needle = Needle;
3770
- type index$5_NeedleError = NeedleError;
3771
- type index$5_NeedleHandler = NeedleHandler;
3772
- type index$5_NeedleHandlerContext = NeedleHandlerContext;
3773
- type index$5_NeedleHandlerResult = NeedleHandlerResult;
3774
- type index$5_NeedlePhase = NeedlePhase;
3775
- type index$5_NeedlePipelineConfig = NeedlePipelineConfig;
3776
- type index$5_NeedlePipelineResult = NeedlePipelineResult;
3777
- type index$5_OpenKnotParams = OpenKnotParams;
3778
- type index$5_Pattern = Pattern;
3779
- type index$5_PatternConfidence = PatternConfidence;
3780
- type index$5_PatternKind = PatternKind;
3781
- type index$5_PatternMatch = PatternMatch;
3782
- type index$5_PatternPrediction = PatternPrediction;
3783
- type index$5_PatternSignature = PatternSignature;
3784
- type index$5_PatternStore = PatternStore;
3785
- type index$5_Stitch = Stitch;
3786
- type index$5_StitchKind = StitchKind;
3787
- type index$5_Thread = Thread;
3788
- declare const index$5_addStitchToKnot: typeof addStitchToKnot;
3789
- declare const index$5_applyStitch: typeof applyStitch;
3790
- declare const index$5_assembleNeedle: typeof assembleNeedle;
3791
- declare const index$5_breakKnot: typeof breakKnot;
3792
- declare const index$5_createFabric: typeof createFabric;
3793
- declare const index$5_detectAnomalies: typeof detectAnomalies;
3794
- declare const index$5_detectKnotPatterns: typeof detectKnotPatterns;
3795
- declare const index$5_detectSequencePatterns: typeof detectSequencePatterns;
3796
- declare const index$5_diffFabrics: typeof diffFabrics;
3797
- declare const index$5_findKnotsForStitch: typeof findKnotsForStitch;
3798
- declare const index$5_forkFromKnot: typeof forkFromKnot;
3799
- declare const index$5_formStitch: typeof formStitch;
3800
- declare const index$5_getDecisionPoints: typeof getDecisionPoints;
3801
- declare const index$5_getFabricValue: typeof getFabricValue;
3802
- declare const index$5_getIrreversibleKnots: typeof getIrreversibleKnots;
3803
- declare const index$5_isKnotOpen: typeof isKnotOpen;
3804
- declare const index$5_isPointOfNoReturn: typeof isPointOfNoReturn;
3805
- declare const index$5_lockCells: typeof lockCells;
3806
- declare const index$5_matchPatterns: typeof matchPatterns;
3807
- declare const index$5_openKnot: typeof openKnot;
3808
- declare const index$5_projectAt: typeof projectAt;
3809
- declare const index$5_queryFabric: typeof queryFabric;
3810
- declare const index$5_recordOccurrence: typeof recordOccurrence;
3811
- declare const index$5_runNeedlePipeline: typeof runNeedlePipeline;
3812
- declare const index$5_tieKnot: typeof tieKnot;
3813
- declare const index$5_validateKnot: typeof validateKnot;
3814
- declare const index$5_weave: typeof weave;
3815
- declare namespace index$5 {
3816
- export { type index$5_Fabric as Fabric, type index$5_FabricCell as FabricCell, type index$5_FabricDiff as FabricDiff, type index$5_FabricDiffEntry as FabricDiffEntry, type index$5_FabricDiffKind as FabricDiffKind, type index$5_FabricEffect as FabricEffect, type index$5_FabricEffectResolver as FabricEffectResolver, type index$5_FabricQuery as FabricQuery, index$5_InMemoryPatternStore as InMemoryPatternStore, type index$5_Knot as Knot, type index$5_KnotBreakRequest as KnotBreakRequest, type index$5_KnotError as KnotError, type index$5_KnotStatus as KnotStatus, type index$5_KnotType as KnotType, type index$5_KnotValidationResult as KnotValidationResult, type index$5_Needle as Needle, type index$5_NeedleError as NeedleError, type index$5_NeedleHandler as NeedleHandler, type index$5_NeedleHandlerContext as NeedleHandlerContext, type index$5_NeedleHandlerResult as NeedleHandlerResult, type index$5_NeedlePhase as NeedlePhase, type index$5_NeedlePipelineConfig as NeedlePipelineConfig, type index$5_NeedlePipelineResult as NeedlePipelineResult, type index$5_OpenKnotParams as OpenKnotParams, type index$5_Pattern as Pattern, type index$5_PatternConfidence as PatternConfidence, type index$5_PatternKind as PatternKind, type index$5_PatternMatch as PatternMatch, type index$5_PatternPrediction as PatternPrediction, type index$5_PatternSignature as PatternSignature, type index$5_PatternStore as PatternStore, type index$5_Stitch as Stitch, type index$5_StitchKind as StitchKind, type index$5_Thread as Thread, index$5_addStitchToKnot as addStitchToKnot, index$5_applyStitch as applyStitch, index$5_assembleNeedle as assembleNeedle, index$5_breakKnot as breakKnot, index$5_createFabric as createFabric, index$5_detectAnomalies as detectAnomalies, index$5_detectKnotPatterns as detectKnotPatterns, index$5_detectSequencePatterns as detectSequencePatterns, index$5_diffFabrics as diffFabrics, index$5_findKnotsForStitch as findKnotsForStitch, index$5_forkFromKnot as forkFromKnot, index$5_formStitch as formStitch, index$5_getDecisionPoints as getDecisionPoints, index$5_getFabricValue as getFabricValue, index$5_getIrreversibleKnots as getIrreversibleKnots, index$5_isKnotOpen as isKnotOpen, index$5_isPointOfNoReturn as isPointOfNoReturn, index$5_lockCells as lockCells, index$5_matchPatterns as matchPatterns, index$5_openKnot as openKnot, index$5_projectAt as projectAt, index$5_queryFabric as queryFabric, index$5_recordOccurrence as recordOccurrence, index$5_runNeedlePipeline as runNeedlePipeline, index$5_tieKnot as tieKnot, index$5_validateKnot as validateKnot, index$5_weave as weave };
3817
- }
3818
-
3819
- declare enum BodyProfile {
3820
- RAW = 0,
3821
- TLV_MAP = 1,
3822
- OBJ = 2,
3823
- ARR = 3
3824
- }
3825
- interface BodyProfileValidation {
3826
- valid: boolean;
3827
- error?: string;
3828
- profile: BodyProfile;
3829
- }
3830
- declare class BodyProfileValidator {
3831
- private readonly logger;
3832
- validate(body: Uint8Array, profile: BodyProfile): BodyProfileValidation;
3833
- private validateRaw;
3834
- private validateTlvMap;
3835
- private validateObj;
3836
- private validateArr;
3837
- }
3838
-
3839
- type index$4_AccessProfile = AccessProfile;
3840
- declare const index$4_AccessProfileZ: typeof AccessProfileZ;
3841
- declare const index$4_AxisContextZ: typeof AxisContextZ;
3842
- type index$4_AxisError = AxisError;
3843
- declare const index$4_AxisErrorZ: typeof AxisErrorZ;
3844
- type index$4_BodyBudgetInput = BodyBudgetInput;
3845
- declare const index$4_BodyBudgetInputZ: typeof BodyBudgetInputZ;
3846
- type index$4_BodyBudgetPolicy = BodyBudgetPolicy;
3847
- declare const index$4_BodyBudgetPolicyZ: typeof BodyBudgetPolicyZ;
3848
- type index$4_BodyProfile = BodyProfile;
3849
- declare const index$4_BodyProfile: typeof BodyProfile;
3850
- type index$4_BodyProfileValidation = BodyProfileValidation;
3851
- type index$4_BodyProfileValidator = BodyProfileValidator;
3852
- declare const index$4_BodyProfileValidator: typeof BodyProfileValidator;
3853
- declare const index$4_BodyProfileZ: typeof BodyProfileZ;
3854
- type index$4_CapsuleClaims = CapsuleClaims;
3855
- declare const index$4_CapsuleClaimsZ: typeof CapsuleClaimsZ;
3856
- type index$4_CapsuleValidationResult = CapsuleValidationResult;
3857
- declare const index$4_CapsuleValidationResultZ: typeof CapsuleValidationResultZ;
3858
- type index$4_CapsuleVerifyResult = CapsuleVerifyResult;
3859
- declare const index$4_CapsuleVerifyResultZ: typeof CapsuleVerifyResultZ;
3860
- type index$4_CapsuleVerifySensorInput = CapsuleVerifySensorInput;
3861
- declare const index$4_CapsuleVerifySensorInputZ: typeof CapsuleVerifySensorInputZ;
3862
- declare const index$4_CapsuleZ: typeof CapsuleZ;
3863
- type index$4_ChunkHashInput = ChunkHashInput;
3864
- declare const index$4_ChunkHashInputZ: typeof ChunkHashInputZ;
3865
- type index$4_CountryBlockDecision = CountryBlockDecision;
3866
- declare const index$4_CountryBlockDecisionZ: typeof CountryBlockDecisionZ;
3867
- type index$4_CountryBlockSensorInput = CountryBlockSensorInput;
3868
- declare const index$4_CountryBlockSensorInputZ: typeof CountryBlockSensorInputZ;
3869
- type index$4_EntropySensorInput = EntropySensorInput;
3870
- declare const index$4_EntropySensorInputZ: typeof EntropySensorInputZ;
3871
- declare const index$4_ExecutionMetricsZ: typeof ExecutionMetricsZ;
3872
- type index$4_IPReputation = IPReputation;
3873
- type index$4_IPReputationInput = IPReputationInput;
3874
- declare const index$4_IPReputationInputZ: typeof IPReputationInputZ;
3875
- declare const index$4_IPReputationZ: typeof IPReputationZ;
3876
- type index$4_IntentPolicy = IntentPolicy;
3877
- type index$4_IntentPolicyDecision = IntentPolicyDecision;
3878
- declare const index$4_IntentPolicyDecisionZ: typeof IntentPolicyDecisionZ;
3879
- type index$4_IntentPolicySensorInput = IntentPolicySensorInput;
3880
- declare const index$4_IntentPolicySensorInputZ: typeof IntentPolicySensorInputZ;
3881
- declare const index$4_IntentPolicyZ: typeof IntentPolicyZ;
3882
- declare const index$4_IntentSchemaZ: typeof IntentSchemaZ;
3883
- type index$4_Passport = Passport;
3884
- declare const index$4_PassportZ: typeof PassportZ;
3885
- type index$4_ProofKind = ProofKind;
3886
- declare const index$4_ProofKindZ: typeof ProofKindZ;
3887
- type index$4_ProofPresenceInput = ProofPresenceInput;
3888
- declare const index$4_ProofPresenceInputZ: typeof ProofPresenceInputZ;
3889
- type index$4_ProtocolStrictInput = ProtocolStrictInput;
3890
- declare const index$4_ProtocolStrictInputZ: typeof ProtocolStrictInputZ;
3891
- type index$4_RateLimitConfig = RateLimitConfig;
3892
- declare const index$4_RateLimitConfigZ: typeof RateLimitConfigZ;
3893
- type index$4_RateLimitInput = RateLimitInput;
3894
- declare const index$4_RateLimitInputZ: typeof RateLimitInputZ;
3895
- type index$4_RateLimitProfile = RateLimitProfile;
3896
- declare const index$4_RateLimitProfileZ: typeof RateLimitProfileZ;
3897
- type index$4_ScanBurstDecision = ScanBurstDecision;
3898
- declare const index$4_ScanBurstDecisionZ: typeof ScanBurstDecisionZ;
3899
- type index$4_ScanBurstSensorInput = ScanBurstSensorInput;
3900
- declare const index$4_ScanBurstSensorInputZ: typeof ScanBurstSensorInputZ;
3901
- type index$4_SchemaField = SchemaField;
3902
- type index$4_SchemaFieldKind = SchemaFieldKind;
3903
- declare const index$4_SchemaFieldKindZ: typeof SchemaFieldKindZ;
3904
- declare const index$4_SchemaFieldZ: typeof SchemaFieldZ;
3905
- type index$4_Scope = Scope;
3906
- declare const index$4_ScopeZ: typeof ScopeZ;
3907
- type index$4_SensitivityLevel = SensitivityLevel;
3908
- declare const index$4_SensitivityLevelZ: typeof SensitivityLevelZ;
3909
- type index$4_SensorChainInput = SensorChainInput;
3910
- declare const index$4_SensorChainInputZ: typeof SensorChainInputZ;
3911
- declare const index$4_SensorDecisionWithMetadataZ: typeof SensorDecisionWithMetadataZ;
3912
- declare const index$4_SensorDecisionZ: typeof SensorDecisionZ;
3913
- type index$4_SensorResult = SensorResult;
3914
- declare const index$4_SensorResultZ: typeof SensorResultZ;
3915
- type index$4_UploadSession = UploadSession;
3916
- declare const index$4_UploadSessionZ: typeof UploadSessionZ;
3917
- type index$4_UploadStatus = UploadStatus;
3918
- declare const index$4_UploadStatusZ: typeof UploadStatusZ;
3919
- type index$4_WsHandshakeDecision = WsHandshakeDecision;
3920
- declare const index$4_WsHandshakeDecisionZ: typeof WsHandshakeDecisionZ;
3921
- type index$4_WsHandshakeInput = WsHandshakeInput;
3922
- declare const index$4_WsHandshakeInputZ: typeof WsHandshakeInputZ;
3923
- declare namespace index$4 {
3924
- export { type index$4_AccessProfile as AccessProfile, index$4_AccessProfileZ as AccessProfileZ, type AxisContext$1 as AxisContext, index$4_AxisContextZ as AxisContextZ, type index$4_AxisError as AxisError, index$4_AxisErrorZ as AxisErrorZ, type index$4_BodyBudgetInput as BodyBudgetInput, index$4_BodyBudgetInputZ as BodyBudgetInputZ, type index$4_BodyBudgetPolicy as BodyBudgetPolicy, index$4_BodyBudgetPolicyZ as BodyBudgetPolicyZ, index$4_BodyProfile as BodyProfile, type index$4_BodyProfileValidation as BodyProfileValidation, index$4_BodyProfileValidator as BodyProfileValidator, index$4_BodyProfileZ as BodyProfileZ, type Capsule$1 as Capsule, type index$4_CapsuleClaims as CapsuleClaims, index$4_CapsuleClaimsZ as CapsuleClaimsZ, type index$4_CapsuleValidationResult as CapsuleValidationResult, index$4_CapsuleValidationResultZ as CapsuleValidationResultZ, type index$4_CapsuleVerifyResult as CapsuleVerifyResult, index$4_CapsuleVerifyResultZ as CapsuleVerifyResultZ, type index$4_CapsuleVerifySensorInput as CapsuleVerifySensorInput, index$4_CapsuleVerifySensorInputZ as CapsuleVerifySensorInputZ, index$4_CapsuleZ as CapsuleZ, type index$4_ChunkHashInput as ChunkHashInput, index$4_ChunkHashInputZ as ChunkHashInputZ, type index$4_CountryBlockDecision as CountryBlockDecision, index$4_CountryBlockDecisionZ as CountryBlockDecisionZ, type index$4_CountryBlockSensorInput as CountryBlockSensorInput, index$4_CountryBlockSensorInputZ as CountryBlockSensorInputZ, type index$4_EntropySensorInput as EntropySensorInput, index$4_EntropySensorInputZ as EntropySensorInputZ, index$4_ExecutionMetricsZ as ExecutionMetricsZ, type index$4_IPReputation as IPReputation, type index$4_IPReputationInput as IPReputationInput, index$4_IPReputationInputZ as IPReputationInputZ, index$4_IPReputationZ as IPReputationZ, type index$4_IntentPolicy as IntentPolicy, type index$4_IntentPolicyDecision as IntentPolicyDecision, index$4_IntentPolicyDecisionZ as IntentPolicyDecisionZ, type index$4_IntentPolicySensorInput as IntentPolicySensorInput, index$4_IntentPolicySensorInputZ as IntentPolicySensorInputZ, index$4_IntentPolicyZ as IntentPolicyZ, type IntentSchema$2 as IntentSchema, index$4_IntentSchemaZ as IntentSchemaZ, type index$4_Passport as Passport, index$4_PassportZ as PassportZ, type index$4_ProofKind as ProofKind, index$4_ProofKindZ as ProofKindZ, type index$4_ProofPresenceInput as ProofPresenceInput, index$4_ProofPresenceInputZ as ProofPresenceInputZ, ProofType$1 as ProofType, type index$4_ProtocolStrictInput as ProtocolStrictInput, index$4_ProtocolStrictInputZ as ProtocolStrictInputZ, type index$4_RateLimitConfig as RateLimitConfig, index$4_RateLimitConfigZ as RateLimitConfigZ, type index$4_RateLimitInput as RateLimitInput, index$4_RateLimitInputZ as RateLimitInputZ, type index$4_RateLimitProfile as RateLimitProfile, index$4_RateLimitProfileZ as RateLimitProfileZ, type index$4_ScanBurstDecision as ScanBurstDecision, index$4_ScanBurstDecisionZ as ScanBurstDecisionZ, type index$4_ScanBurstSensorInput as ScanBurstSensorInput, index$4_ScanBurstSensorInputZ as ScanBurstSensorInputZ, type index$4_SchemaField as SchemaField, type index$4_SchemaFieldKind as SchemaFieldKind, index$4_SchemaFieldKindZ as SchemaFieldKindZ, index$4_SchemaFieldZ as SchemaFieldZ, type index$4_Scope as Scope, index$4_ScopeZ as ScopeZ, type index$4_SensitivityLevel as SensitivityLevel, index$4_SensitivityLevelZ as SensitivityLevelZ, type index$4_SensorChainInput as SensorChainInput, index$4_SensorChainInputZ as SensorChainInputZ, index$4_SensorDecisionWithMetadataZ as SensorDecisionWithMetadataZ, index$4_SensorDecisionZ as SensorDecisionZ, type index$4_SensorResult as SensorResult, index$4_SensorResultZ as SensorResultZ, type index$4_UploadSession as UploadSession, index$4_UploadSessionZ as UploadSessionZ, type index$4_UploadStatus as UploadStatus, index$4_UploadStatusZ as UploadStatusZ, type index$4_WsHandshakeDecision as WsHandshakeDecision, index$4_WsHandshakeDecisionZ as WsHandshakeDecisionZ, type index$4_WsHandshakeInput as WsHandshakeInput, index$4_WsHandshakeInputZ as WsHandshakeInputZ };
3925
- }
3926
-
3927
- type index$3_AxisSensorChainService = AxisSensorChainService;
3928
- declare const index$3_AxisSensorChainService: typeof AxisSensorChainService;
3929
- declare const index$3_CAPABILITIES: typeof CAPABILITIES;
3930
- type index$3_Capability = Capability;
3931
- type index$3_ChainResult = ChainResult;
3932
- declare const index$3_INTENT_REQUIREMENTS: typeof INTENT_REQUIREMENTS;
3933
- declare const index$3_PROOF_CAPABILITIES: typeof PROOF_CAPABILITIES;
3934
- type index$3_SensorDecision = SensorDecision;
3935
- type index$3_SensorInput = SensorInput;
3936
- declare const index$3_canAccessResource: typeof canAccessResource;
3937
- declare const index$3_hasScope: typeof hasScope;
3938
- declare const index$3_parseScope: typeof parseScope;
3939
- declare namespace index$3 {
3940
- export { index$3_AxisSensorChainService as AxisSensorChainService, index$3_CAPABILITIES as CAPABILITIES, type index$3_Capability as Capability, type index$3_ChainResult as ChainResult, index$3_INTENT_REQUIREMENTS as INTENT_REQUIREMENTS, index$3_PROOF_CAPABILITIES as PROOF_CAPABILITIES, type index$3_SensorDecision as SensorDecision, type index$3_SensorInput as SensorInput, index$3_canAccessResource as canAccessResource, index$3_hasScope as hasScope, index$3_parseScope as parseScope };
3941
- }
3942
-
3943
- declare class AccessProfileResolverSensor implements AxisSensor {
3944
- readonly name = "AccessProfileResolverSensor";
3945
- readonly order: number;
3946
- supports(): boolean;
3947
- run(input: SensorInput): Promise<SensorDecision>;
3948
- }
3949
-
3950
- declare class BodyBudgetSensor implements AxisSensor {
3951
- readonly name = "BodyBudgetSensor";
3952
- readonly order: number;
3953
- supports(input: SensorInput): boolean;
3954
- run(input: SensorInput): Promise<SensorDecision>;
3955
- }
3956
-
3957
- declare class CapabilityEnforcementSensor implements AxisSensor {
3958
- private readonly logger;
3959
- readonly name = "CapabilityEnforcementSensor";
3960
- readonly order: number;
3961
- supports(input: SensorInput): boolean;
3962
- run(input: SensorInput): Promise<SensorDecision>;
3963
- private getRequiredCapabilities;
3964
- }
3965
-
3966
- declare class ChunkHashSensor implements AxisSensor {
3967
- readonly name = "ChunkHashSensor";
3968
- readonly order: number;
3969
- supports(input: SensorInput): boolean;
3970
- run(input: SensorInput): Promise<SensorDecision>;
3971
- }
3972
-
3973
- declare class EntropySensor implements AxisSensor {
3974
- private readonly logger;
3975
- private readonly MIN_ENTROPY_THRESHOLD;
3976
- readonly name = "EntropySensor";
3977
- readonly order: number;
3978
- private calculateEntropy;
3979
- private hasSequentialPattern;
3980
- private hasRepeatedPattern;
3981
- run(input: SensorInput): Promise<SensorDecision>;
3982
- static generateSecureRandom(length: number): Uint8Array;
3983
- }
3984
-
3985
- declare class ExecutionTimeoutSensor implements AxisSensor {
3986
- private readonly logger;
3987
- readonly name = "ExecutionTimeoutSensor";
3988
- readonly order: number;
3989
- supports(input: SensorInput): boolean;
3990
- run(input: SensorInput): Promise<SensorDecision>;
3991
- static isExpired(ctx: {
3992
- deadline?: number;
3993
- }): boolean;
3994
- static getRemainingMs(ctx: {
3995
- deadline?: number;
3996
- }): number;
3997
- }
3998
-
3999
- declare class FrameBudgetSensor implements AxisSensor {
4000
- private readonly config;
4001
- readonly name = "FrameBudgetSensor";
4002
- readonly order: number;
4003
- constructor(config: ConfigService);
4004
- supports(input: SensorInput): boolean;
4005
- run(input: SensorInput): Promise<SensorDecision>;
4006
- }
4007
-
4008
- declare class FrameHeaderSanitySensor implements AxisSensor {
4009
- readonly name = "FrameHeaderSanitySensor";
4010
- readonly order: number;
4011
- supports(input: SensorInput): boolean;
4012
- run(input: SensorInput): Promise<SensorDecision>;
4013
- private bufferEqual;
4014
- }
4015
-
4016
- declare class HeaderTLVLimitSensor implements AxisSensor {
4017
- readonly name = "HeaderTLVLimitSensor";
4018
- readonly order: number;
4019
- private readonly MAX_TLVS;
4020
- supports(input: SensorInput): boolean;
4021
- run(input: SensorInput): Promise<SensorDecision>;
4022
- }
4023
-
4024
- declare class IntentAllowlistSensor implements AxisSensor {
4025
- readonly name = "IntentAllowlistSensor";
4026
- readonly order: number;
4027
- supports(input: SensorInput): boolean;
4028
- run(input: SensorInput): Promise<SensorDecision>;
4029
- }
4030
-
4031
- declare class IntentRegistrySensor implements AxisSensor {
4032
- private readonly router;
4033
- readonly name = "IntentRegistrySensor";
4034
- readonly order: number;
4035
- constructor(router: IntentRouter);
4036
- supports(input: SensorInput): boolean;
4037
- run(input: SensorInput): Promise<SensorDecision>;
4038
- }
4039
-
4040
- declare class LawEvaluationSensor implements AxisSensor {
4041
- private readonly options;
4042
- private readonly logger;
4043
- readonly name = "LawEvaluationSensor";
4044
- readonly order: number;
4045
- constructor(options?: LawEvaluationSensorOptions);
4046
- supports(input: SensorInput): boolean;
4047
- run(input: SensorInput): Promise<SensorDecision>;
4048
- }
4049
-
4050
- declare class ProofPresenceSensor implements AxisSensor {
4051
- readonly name = "ProofPresenceSensor";
4052
- readonly order: number;
4053
- supports(input: ProofPresenceInput): boolean;
4054
- run(input: ProofPresenceInput): Promise<SensorDecision>;
4055
- }
4056
-
4057
- declare class ProtocolStrictSensor implements AxisSensor, OnModuleInit {
4058
- private readonly config;
4059
- private readonly logger;
4060
- readonly name = "ProtocolStrictSensor";
4061
- readonly order: number;
4062
- private protocolMagic;
4063
- private protocolVersion;
4064
- constructor(config: ConfigService);
4065
- static validateMagic(chunk: Uint8Array, expected: Uint8Array): {
4066
- valid: boolean;
4067
- actual?: string;
4068
- };
4069
- static validateVersion(version: number, expected: number): boolean;
4070
- onModuleInit(): void;
4071
- run(input: SensorInput): Promise<SensorDecision>;
4072
- private buffersEqual;
4073
- private isValidContentType;
4074
- private isValidFlags;
4075
- private checkVarintEncoding;
4076
- private checkTLVOrdering;
4077
- private checkForClientVersion;
4078
- }
4079
-
4080
- declare class ReceiptPolicySensor implements AxisSensor {
4081
- readonly name = "ReceiptPolicySensor";
4082
- readonly order: number;
4083
- supports(): boolean;
4084
- run(): Promise<SensorDecision>;
4085
- }
4086
-
4087
- declare class SchemaValidationSensor implements AxisSensor {
4088
- readonly name = "SchemaValidationSensor";
4089
- readonly order: number;
4090
- supports(input: any): boolean;
4091
- run(input: any): Promise<{
4092
- action: 'ALLOW';
4093
- } | {
4094
- action: 'DENY';
4095
- code: string;
4096
- reason: string;
4097
- }>;
4098
- }
4099
-
4100
- declare class StreamScopeSensor implements AxisSensor {
4101
- readonly name = "StreamScopeSensor";
4102
- readonly order: number;
4103
- supports(): boolean;
4104
- run(): Promise<SensorDecision>;
4105
- }
4106
-
4107
- declare class TLVParseSensor implements AxisSensor {
4108
- readonly name = "TLVParseSensor";
4109
- readonly order: number;
4110
- supports(input: SensorInput): boolean;
4111
- run(input: SensorInput): Promise<SensorDecision>;
4112
- private validateCanonicalTLV;
4113
- }
4114
-
4115
- declare class VarintHardeningSensor implements AxisSensor {
4116
- readonly name = "VarintHardeningSensor";
4117
- readonly order: number;
4118
- private readonly MAX_VARINT_BYTES;
4119
- supports(input: SensorInput): boolean;
4120
- run(input: SensorInput): Promise<SensorDecision>;
4121
- }
4122
-
4123
- type index$2_AccessProfileResolverSensor = AccessProfileResolverSensor;
4124
- declare const index$2_AccessProfileResolverSensor: typeof AccessProfileResolverSensor;
4125
- type index$2_BodyBudgetSensor = BodyBudgetSensor;
4126
- declare const index$2_BodyBudgetSensor: typeof BodyBudgetSensor;
4127
- type index$2_CapabilityEnforcementSensor = CapabilityEnforcementSensor;
4128
- declare const index$2_CapabilityEnforcementSensor: typeof CapabilityEnforcementSensor;
4129
- type index$2_ChunkHashSensor = ChunkHashSensor;
4130
- declare const index$2_ChunkHashSensor: typeof ChunkHashSensor;
4131
- type index$2_EntropySensor = EntropySensor;
4132
- declare const index$2_EntropySensor: typeof EntropySensor;
4133
- type index$2_ExecutionTimeoutSensor = ExecutionTimeoutSensor;
4134
- declare const index$2_ExecutionTimeoutSensor: typeof ExecutionTimeoutSensor;
4135
- type index$2_FrameBudgetSensor = FrameBudgetSensor;
4136
- declare const index$2_FrameBudgetSensor: typeof FrameBudgetSensor;
4137
- type index$2_FrameHeaderSanitySensor = FrameHeaderSanitySensor;
4138
- declare const index$2_FrameHeaderSanitySensor: typeof FrameHeaderSanitySensor;
4139
- type index$2_HeaderTLVLimitSensor = HeaderTLVLimitSensor;
4140
- declare const index$2_HeaderTLVLimitSensor: typeof HeaderTLVLimitSensor;
4141
- type index$2_IntentAllowlistSensor = IntentAllowlistSensor;
4142
- declare const index$2_IntentAllowlistSensor: typeof IntentAllowlistSensor;
4143
- type index$2_IntentRegistrySensor = IntentRegistrySensor;
4144
- declare const index$2_IntentRegistrySensor: typeof IntentRegistrySensor;
4145
- type index$2_LawEvaluationSensor = LawEvaluationSensor;
4146
- declare const index$2_LawEvaluationSensor: typeof LawEvaluationSensor;
4147
- type index$2_ProofPresenceSensor = ProofPresenceSensor;
4148
- declare const index$2_ProofPresenceSensor: typeof ProofPresenceSensor;
4149
- type index$2_ProtocolStrictSensor = ProtocolStrictSensor;
4150
- declare const index$2_ProtocolStrictSensor: typeof ProtocolStrictSensor;
4151
- type index$2_ReceiptPolicySensor = ReceiptPolicySensor;
4152
- declare const index$2_ReceiptPolicySensor: typeof ReceiptPolicySensor;
4153
- type index$2_RiskGateSensor = RiskGateSensor;
4154
- declare const index$2_RiskGateSensor: typeof RiskGateSensor;
4155
- type index$2_RiskGateSensorOptions = RiskGateSensorOptions;
4156
- type index$2_RiskSignalCollector = RiskSignalCollector;
4157
- type index$2_SchemaValidationSensor = SchemaValidationSensor;
4158
- declare const index$2_SchemaValidationSensor: typeof SchemaValidationSensor;
4159
- type index$2_StreamScopeSensor = StreamScopeSensor;
4160
- declare const index$2_StreamScopeSensor: typeof StreamScopeSensor;
4161
- type index$2_TLVParseSensor = TLVParseSensor;
4162
- declare const index$2_TLVParseSensor: typeof TLVParseSensor;
4163
- type index$2_TickAuthCapsuleRef = TickAuthCapsuleRef;
4164
- type index$2_TickAuthSensor = TickAuthSensor;
4165
- declare const index$2_TickAuthSensor: typeof TickAuthSensor;
4166
- type index$2_TickAuthSensorOptions = TickAuthSensorOptions;
4167
- type index$2_TickAuthVerifier = TickAuthVerifier;
4168
- type index$2_TpsSensor = TpsSensor;
4169
- declare const index$2_TpsSensor: typeof TpsSensor;
4170
- type index$2_TpsSensorOptions = TpsSensorOptions;
4171
- type index$2_VarintHardeningSensor = VarintHardeningSensor;
4172
- declare const index$2_VarintHardeningSensor: typeof VarintHardeningSensor;
4173
- declare namespace index$2 {
4174
- export { index$2_AccessProfileResolverSensor as AccessProfileResolverSensor, index$2_BodyBudgetSensor as BodyBudgetSensor, index$2_CapabilityEnforcementSensor as CapabilityEnforcementSensor, index$2_ChunkHashSensor as ChunkHashSensor, index$2_EntropySensor as EntropySensor, index$2_ExecutionTimeoutSensor as ExecutionTimeoutSensor, index$2_FrameBudgetSensor as FrameBudgetSensor, index$2_FrameHeaderSanitySensor as FrameHeaderSanitySensor, index$2_HeaderTLVLimitSensor as HeaderTLVLimitSensor, index$2_IntentAllowlistSensor as IntentAllowlistSensor, index$2_IntentRegistrySensor as IntentRegistrySensor, index$2_LawEvaluationSensor as LawEvaluationSensor, index$2_ProofPresenceSensor as ProofPresenceSensor, index$2_ProtocolStrictSensor as ProtocolStrictSensor, index$2_ReceiptPolicySensor as ReceiptPolicySensor, index$2_RiskGateSensor as RiskGateSensor, type index$2_RiskGateSensorOptions as RiskGateSensorOptions, type index$2_RiskSignalCollector as RiskSignalCollector, index$2_SchemaValidationSensor as SchemaValidationSensor, index$2_StreamScopeSensor as StreamScopeSensor, index$2_TLVParseSensor as TLVParseSensor, type index$2_TickAuthCapsuleRef as TickAuthCapsuleRef, index$2_TickAuthSensor as TickAuthSensor, type index$2_TickAuthSensorOptions as TickAuthSensorOptions, type index$2_TickAuthVerifier as TickAuthVerifier, index$2_TpsSensor as TpsSensor, type index$2_TpsSensorOptions as TpsSensorOptions, index$2_VarintHardeningSensor as VarintHardeningSensor };
4175
- }
4176
-
4177
- type index$1_ForkRequest = ForkRequest;
4178
- type index$1_ForkResult = ForkResult;
4179
- type index$1_InMemoryTimelineStore = InMemoryTimelineStore;
4180
- declare const index$1_InMemoryTimelineStore: typeof InMemoryTimelineStore;
4181
- type index$1_ReplayDifference = ReplayDifference;
4182
- type index$1_ReplayMode = ReplayMode;
4183
- type index$1_ReplayRequest = ReplayRequest;
4184
- type index$1_ReplayResult = ReplayResult;
4185
- type index$1_SimulatedSideEffect = SimulatedSideEffect;
4186
- type index$1_SimulationRequest = SimulationRequest;
4187
- type index$1_SimulationResult = SimulationResult;
4188
- type index$1_StateSnapshot = StateSnapshot;
4189
- type index$1_TimelineBranch = TimelineBranch;
4190
- type index$1_TimelineComparison = TimelineComparison;
4191
- type index$1_TimelineDomain = TimelineDomain;
4192
- type index$1_TimelineEngine = TimelineEngine;
4193
- declare const index$1_TimelineEngine: typeof TimelineEngine;
4194
- type index$1_TimelineEvent = TimelineEvent;
4195
- type index$1_TimelineEventStatus = TimelineEventStatus;
4196
- type index$1_TimelineHandler = TimelineHandler;
4197
- type index$1_TimelineHandlerContext = TimelineHandlerContext;
4198
- type index$1_TimelineHandlerResult = TimelineHandlerResult;
4199
- type index$1_TimelineStore = TimelineStore;
4200
- declare namespace index$1 {
4201
- export { type index$1_ForkRequest as ForkRequest, type index$1_ForkResult as ForkResult, index$1_InMemoryTimelineStore as InMemoryTimelineStore, type index$1_ReplayDifference as ReplayDifference, type index$1_ReplayMode as ReplayMode, type index$1_ReplayRequest as ReplayRequest, type index$1_ReplayResult as ReplayResult, type index$1_SimulatedSideEffect as SimulatedSideEffect, type index$1_SimulationRequest as SimulationRequest, type index$1_SimulationResult as SimulationResult, type index$1_StateSnapshot as StateSnapshot, type index$1_TimelineBranch as TimelineBranch, type index$1_TimelineComparison as TimelineComparison, type index$1_TimelineDomain as TimelineDomain, index$1_TimelineEngine as TimelineEngine, type index$1_TimelineEvent as TimelineEvent, type index$1_TimelineEventStatus as TimelineEventStatus, type index$1_TimelineHandler as TimelineHandler, type index$1_TimelineHandlerContext as TimelineHandlerContext, type index$1_TimelineHandlerResult as TimelineHandlerResult, type index$1_TimelineStore as TimelineStore };
4202
- }
4203
-
4204
- declare const index_encodeAxisTlvDto: typeof encodeAxisTlvDto;
4205
- declare namespace index {
4206
- export { index_encodeAxisTlvDto as encodeAxisTlvDto };
4207
- }
4208
-
4209
- export { ATS1_HDR, ATS1_SCHEMA, AXIS_ANONYMOUS_KEY, AXIS_EXECUTION_CONTEXT_KEY, AXIS_META_KEY, AXIS_OPCODES, AXIS_PUBLIC_KEY, AXIS_RATE_LIMIT_KEY, AXIS_UPLOAD_FILE_STORE, AXIS_UPLOAD_RECEIPT_SIGNER, AXIS_UPLOAD_SESSION_STORE, type AlternativeIntent, type Anomaly, type AnomalyLevel, ats1 as Ats1Codec, Axis, Axis1DecodedFrame, type AxisAlg$1 as AxisAlg, AxisAnonymous, type AxisPacket as AxisBinaryPacket, type AxisCapsule, type AxisCapsuleConstraints, type AxisCapsulePayload, type AxisCapsuleRef, type AxisChainEncryption, type AxisChainEnvelope, AxisChainExecutor, type AxisChainRequest, type AxisChainResult, type AxisChainStatus, type AxisChainStep, type AxisChainStepResult, type AxisChainStepStatus, AxisContext, type AxisCrudHandler, type AxisDecoded, AxisDemoPubkey, type AxisEffect, type AxisExecutionContext, type AxisExecutionMode, AxisFilesDownloadHandler, AxisFilesFinalizeHandler, type AxisHandler, type AxisHandlerInit, AxisIdDto, type AxisIntentEnvelope, type AxisIntentObserver, type AxisIntentSensorOptions, type AxisIntentSensorRef, AxisIp, type AxisAlg as AxisJsonAlg, type AxisFrame$1 as AxisJsonFrame, type AxisResponse as AxisJsonResponse, type AxisSig as AxisJsonSig, type AxisKeyExchangeRef, type AxisLawArticleSummary, type AxisLawDecision, type AxisLawEvaluationContext, type AxisLawEvaluationResult, type AxisLawEvaluator, AxisMediaTypes, type AxisObservation, type AxisObservedContext, type AxisObserverBinding, type AxisObserverBindingOptions, type AxisObserverContext, type AxisObserverDefinition, type AxisObserverEvent, type AxisObserverRef, type AxisObserverRegistration, type AxisPacket$1 as AxisPacket, T as AxisPacketTags, AxisPartialType, type AxisPostSensor, type AxisPreSensor, AxisPublic, AxisRateLimit, type AxisRateLimitConfig, AxisRaw, type AxisRequestContext, type AxisRequestData, AxisResponseDto, type AxisSensor, AxisSensorChainService, type AxisSensorInit, type AxisSig$1 as AxisSig, AxisTlvDto, BAND, CAPABILITIES, CAPSULE_POLICY_METADATA_KEY, CCE_ERROR, CCE_PROTOCOL_VERSION, CHAIN_METADATA_KEY, CONTRACT_METADATA_KEY, type Capability, Capsule, type CapsuleMode, CapsulePolicy, type CapsulePolicyOptions, type CapsuleScopeMode, type CceCapsuleClaims as CceCapsuleClaimsType, CceError, type CceExecutionContext as CceExecutionContextType, type CceHandler, type CceHandlerContext, type CceHandlerResult, type CcePipelineConfig, type CcePipelineResult, type CcePolicyContext, type CcePolicyDecision, type CcePolicyEvaluator, type CceRequestEnvelope as CceRequestEnvelopeType, type CceResponseEnvelope as CceResponseEnvelopeType, type CceWitnessRecord as CceWitnessRecordType, Chain, type ChainOptions, type ChainResult, type ClarificationQuestion, type CompilationError, type CompilationResult, type CompiledIntent, type ConstraintKind, Contract, ContractViolationError, DEFAULT_CONTRACTS, DEFAULT_TIMEOUT, Decision, DiskUploadFileStore, type DtoSchema, type ExecutionContract, ExecutionMeter, type ExecutionMetrics, type ExpectedOutcome, FALLBACK_CONTRACT, type Fabric, type FabricCell, type FabricDiff, type FabricDiffEntry, type FabricDiffKind, type FabricEffect, type FabricEffectResolver, type FabricQuery, type ForkRequest, type ForkResult, type Grant, type GrantCapability, type GrantMeta, type GrantStatus, type GrantType, type GrantValidationResult, HANDLER_METADATA_KEY, HANDLER_SENSORS_KEY, Handler, HandlerDiscoveryService, HandlerSensors, INTENT_BODY_KEY, INTENT_METADATA_KEY, INTENT_REQUIREMENTS, INTENT_ROUTES_KEY, INTENT_SENSITIVITY_MAP, INTENT_SENSORS_KEY, INTENT_TIMEOUTS, IdelCompiler, IdelSchemaRegistry, InMemoryPatternStore, InMemoryTimelineStore, Intent, IntentBody, type IntentConstraint, type IntentDefinition, type IntentKind, type IntentOptions, type IntentParamSchema, type IntentProposal, type IntentRisk, type IntentRoute, IntentRouter, type IntentSchema, IntentSensitivity, IntentSensors, type IntentTlvField, type KeyStatus, type Knot, type KnotBreakRequest, type KnotError, type KnotStatus, type KnotType, type KnotValidationResult, type LawEvaluationSensorOptions, type LoomExecutionResult, type LoomReceipt, type LoomValidationResult, type Needle, type NeedleError, type NeedleHandler, type NeedleHandlerContext, type NeedleHandlerResult, type NeedlePhase, type NeedlePipelineConfig, type NeedlePipelineResult, OBSERVER_BINDINGS_KEY, OBSERVER_METADATA_KEY, type ObservationQueueConfig, type ObservationQueueMessage, type ObservationSensor, type ObservationStage, type ObservationStreamEntry, type ObservationWitnessSummary, type ObservedDeed, Observer, ObserverDiscoveryService, ObserverDispatcherService, ObserverRegistry, type ObserverVerdict, PRE_DECODE_BOUNDARY, PROOF_CAPABILITIES, type Pattern, type PatternConfidence, type PatternKind, type PatternMatch, type PatternPrediction, type PatternSignature, type PatternStore, type PresenceChallenge, type PresenceDeclaration, type PresenceProof, type PresenceReceipt, type PresenceStatus, type PresenceVerifyResult, REQUIRED_PROOF_METADATA_KEY, RESPONSE_TAG_CREATED_AT, RESPONSE_TAG_CREATED_BY, RESPONSE_TAG_ID, RESPONSE_TAG_UPDATED_AT, RESPONSE_TAG_UPDATED_BY, type ReceiptEffect, type RegisteredChainConfig, type ReplayDifference, type ReplayRequest, type ReplayResult, RequiredProof, type RequiredProofKind, type ResponseContract, ResponseObserver, type ResponseObserverContext, type Revocation, type RevocationTargetType, RiskDecision, type RiskEvaluation, RiskGateSensor, type RiskGateSensorOptions, type RiskLevel, type RiskSignal, type RiskSignalCollector, SENSITIVITY_METADATA_KEY, SENSOR_METADATA_KEY, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, Sensitivity, Sensor, type SensorBand, type SensorDecision, SensorDecisions, SensorDiscoveryService, type SensorInput, type SensorMinifiedDecision, type SensorOptions, type SensorPhase, type SensorPhaseMetadata, SensorRegistry, type SimulatedSideEffect, type SimulationRequest, type SimulationResult, type StateSnapshot, type Stitch, type StitchKind, TLV_FIELDS_KEY, TLV_VALIDATORS_KEY, type Thread, type ThreadState, type TickAuthCapsuleRef, TickAuthSensor, type TickAuthSensorOptions, type TickAuthVerifier, type TimelineBranch, type TimelineComparison, type TimelineDomain, TimelineEngine, type TimelineEvent, type TimelineEventStatus, type TimelineHandler, type TimelineHandlerContext, type TimelineHandlerResult, type TimelineStore, TlvEnum, TlvField, type TlvFieldKind, type TlvFieldMeta, type TlvFieldOptions, TlvMinLen, TlvRange, TlvUtf8Pattern, TlvValidate, type TlvValidatorFn, type TlvValidatorMeta, TpsSensor, type TpsSensorOptions, type TruthStatus, type TruthVerdict, type UnsignedObservationWitness, type UploadFileStat, type UploadFileStore, type UploadReceiptSigner, type UploadSessionRecord, type UploadSessionStatus, type UploadSessionStore, Witness, type Writ, type WritBody, type WritHead, type WritMeta, type WritSignature, type WritValidationResult, addStitchToKnot, applyStitch, assembleNeedle, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, breakKnot, buildAts1Hdr, buildAxisLawEvaluationContext, buildDtoDecoder, buildPacket, buildQueueMessage, buildReceiptHash, buildTLVs, buildUnsignedWitness, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, canonicalizeGrant, canonicalizeObservation, canonicalizeWrit, index$c as cce, classifyIntent, createFabric, createGrant, createObservation, createPresenceChallenge, createReceipt, createRevocation, createWrit, index$b as crypto, decodeQueueMessage, index$a as decorators, deriveAnchorReflection, detectAnomalies, detectKnotPatterns, detectSequencePatterns, diffFabrics, encVarint, encodeAxisTlvDto, encodeQueueMessage, endStage, index$8 as engine, executeCcePipeline, executeLoomPipeline, extractDtoSchema, finalizeObservation, findKnotsForStitch, forkFromKnot, formStitch, getAxisExecutionContext, getDecisionPoints, getFabricValue, getGrantStatus, getIrreversibleKnots, getPresenceStatus, grantCoversAction, hasScope, hashObservation, index$7 as idel, isAdminOpcode, isKnotOpen, isKnownOpcode, isPointOfNoReturn, isRevoked, isTimestampValid, lockCells, index$6 as loom, matchPatterns, mergeAxisExecutionContext, index$5 as needle, nonce16, normalizeSensorDecision, openKnot, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseAutoClaimEntries, parseScope, parseStreamEntries, projectAt, queryFabric, recordOccurrence, recordSensor, renewPresence, resolveTimeout, runNeedlePipeline, index$4 as schemas, scoreTruth, index$3 as security, sensitivityName, index$2 as sensors, signPresenceChallenge, stableJsonStringify, startStage, tieKnot, index$1 as timeline, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, updateThreadState, utf8, index as utils, validateFrameShape, validateGrant, validateKnot, validateWrit, varintU, verifyObservation, verifyPresenceProof, verifyReceiptChain, verifyResponse, weave, withAxisExecutionContext };
2600
+ export { ATS1_HDR, ATS1_SCHEMA, AXIS_ANONYMOUS_KEY, AXIS_EXECUTION_CONTEXT_KEY, AXIS_META_KEY, AXIS_OPCODES, AXIS_PUBLIC_KEY, AXIS_RATE_LIMIT_KEY, AXIS_UPLOAD_FILE_STORE, AXIS_UPLOAD_RECEIPT_SIGNER, AXIS_UPLOAD_SESSION_STORE, type AlternativeIntent, type Anomaly, type AnomalyLevel, ats1 as Ats1Codec, Axis, Axis1DecodedFrame, type AxisAlg$1 as AxisAlg, AxisAnonymous, type AxisPacket as AxisBinaryPacket, type AxisCapsule, type AxisCapsuleConstraints, type AxisCapsulePayload, type AxisCapsuleRef, type AxisChainEncryption, type AxisChainEnvelope, AxisChainExecutor, type AxisChainRequest, type AxisChainResult, type AxisChainStatus, type AxisChainStep, type AxisChainStepResult, type AxisChainStepStatus, AxisContext, type AxisCrudHandler, type AxisDecoded, AxisDemoPubkey, type AxisEffect, type AxisExecutionContext, type AxisExecutionMode, AxisFilesDownloadHandler, AxisFilesFinalizeHandler, type AxisHandler, type AxisHandlerInit, AxisIdDto, type AxisIntentEnvelope, type AxisIntentObserver, type AxisIntentSensorOptions, type AxisIntentSensorRef, AxisIp, type AxisAlg as AxisJsonAlg, type AxisFrame as AxisJsonFrame, type AxisResponse as AxisJsonResponse, type AxisSig as AxisJsonSig, type AxisKeyExchangeRef, type AxisLawArticleSummary, type AxisLawDecision, type AxisLawEvaluationContext, type AxisLawEvaluationResult, type AxisLawEvaluator, AxisMediaTypes, type AxisObservation, type AxisObservedContext, type AxisObserverBinding, type AxisObserverBindingOptions, type AxisObserverContext, type AxisObserverDefinition, type AxisObserverEvent, type AxisObserverRef, type AxisObserverRegistration, type AxisPacket$1 as AxisPacket, T as AxisPacketTags, AxisPartialType, type AxisPostSensor, type AxisPreSensor, AxisPublic, AxisRateLimit, type AxisRateLimitConfig, AxisRaw, type AxisRequestContext, type AxisRequestData, AxisResponseDto, type AxisSensor, AxisSensorChainService, type AxisSensorInit, type AxisSig$1 as AxisSig, AxisTlvDto, BAND, CAPABILITIES, CAPSULE_POLICY_METADATA_KEY, CCE_ERROR, CCE_PROTOCOL_VERSION, CHAIN_METADATA_KEY, CONTRACT_METADATA_KEY, type Capability, Capsule, type CapsuleMode, CapsulePolicy, type CapsulePolicyOptions, type CapsuleScopeMode, type CceCapsuleClaims as CceCapsuleClaimsType, CceError, type CceExecutionContext as CceExecutionContextType, type CceHandler, type CceHandlerContext, type CceHandlerResult, type CcePipelineConfig, type CcePipelineResult, type CcePolicyContext, type CcePolicyDecision, type CcePolicyEvaluator, type CceRequestEnvelope as CceRequestEnvelopeType, type CceResponseEnvelope as CceResponseEnvelopeType, type CceWitnessRecord as CceWitnessRecordType, Chain, type ChainOptions, type ChainResult, type ClarificationQuestion, type CompilationError, type CompilationResult, type CompiledIntent, type ConstraintKind, Contract, ContractViolationError, DEFAULT_CONTRACTS, DEFAULT_TIMEOUT, Decision, DiskUploadFileStore, type DtoSchema, type ExecutionContract, ExecutionMeter, type ExecutionMetrics, type ExpectedOutcome, FALLBACK_CONTRACT, type Fabric, type FabricCell, type FabricDiff, type FabricDiffEntry, type FabricDiffKind, type FabricEffect, type FabricEffectResolver, type FabricQuery, type ForkRequest, type ForkResult, type Grant, type GrantCapability, type GrantMeta, type GrantStatus, type GrantType, type GrantValidationResult, HANDLER_METADATA_KEY, HANDLER_SENSORS_KEY, Handler, HandlerDiscoveryService, HandlerSensors, INTENT_BODY_KEY, INTENT_METADATA_KEY, INTENT_REQUIREMENTS, INTENT_ROUTES_KEY, INTENT_SENSITIVITY_MAP, INTENT_SENSORS_KEY, INTENT_TIMEOUTS, IdelCompiler, IdelSchemaRegistry, InMemoryPatternStore, InMemoryTimelineStore, Intent, IntentBody, type IntentConstraint, type IntentDefinition, type IntentKind, type IntentOptions, type IntentParamSchema, type IntentProposal, type IntentRisk, type IntentRoute, IntentRouter, type IntentSchema, IntentSensitivity, IntentSensors, type IntentTlvField, type KeyStatus, type Knot, type KnotBreakRequest, type KnotError, type KnotStatus, type KnotType, type KnotValidationResult, type LawEvaluationSensorOptions, type LoomExecutionResult, type LoomReceipt, type LoomValidationResult, type Needle, type NeedleError, type NeedleHandler, type NeedleHandlerContext, type NeedleHandlerResult, type NeedlePhase, type NeedlePipelineConfig, type NeedlePipelineResult, OBSERVER_BINDINGS_KEY, OBSERVER_METADATA_KEY, type ObservationQueueConfig, type ObservationQueueMessage, type ObservationSensor, type ObservationStage, type ObservationStreamEntry, type ObservationWitnessSummary, type ObservedDeed, Observer, ObserverDiscoveryService, ObserverDispatcherService, ObserverRegistry, type ObserverVerdict, PRE_DECODE_BOUNDARY, PROOF_CAPABILITIES, type Pattern, type PatternConfidence, type PatternKind, type PatternMatch, type PatternPrediction, type PatternSignature, type PatternStore, type PresenceChallenge, type PresenceDeclaration, type PresenceProof, type PresenceReceipt, type PresenceStatus, type PresenceVerifyResult, REQUIRED_PROOF_METADATA_KEY, RESPONSE_TAG_CREATED_AT, RESPONSE_TAG_CREATED_BY, RESPONSE_TAG_ID, RESPONSE_TAG_UPDATED_AT, RESPONSE_TAG_UPDATED_BY, type ReceiptEffect, type RegisteredChainConfig, type ReplayDifference, type ReplayRequest, type ReplayResult, RequiredProof, type RequiredProofKind, type ResponseContract, ResponseObserver, type ResponseObserverContext, type Revocation, type RevocationTargetType, RiskDecision, type RiskEvaluation, RiskGateSensor, type RiskGateSensorOptions, type RiskLevel, type RiskSignal, type RiskSignalCollector, SENSITIVITY_METADATA_KEY, SENSOR_METADATA_KEY, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, Sensitivity, Sensor, type SensorBand, type SensorDecision, SensorDecisions, SensorDiscoveryService, type SensorInput, type SensorMinifiedDecision, type SensorOptions, type SensorPhase, type SensorPhaseMetadata, SensorRegistry, type SimulatedSideEffect, type SimulationRequest, type SimulationResult, type StateSnapshot, type Stitch, type StitchKind, TLV_FIELDS_KEY, TLV_VALIDATORS_KEY, type Thread, type ThreadState, type TickAuthCapsuleRef, TickAuthSensor, type TickAuthSensorOptions, type TickAuthVerifier, type TimelineBranch, type TimelineComparison, type TimelineDomain, TimelineEngine, type TimelineEvent, type TimelineEventStatus, type TimelineHandler, type TimelineHandlerContext, type TimelineHandlerResult, type TimelineStore, TlvEnum, TlvField, type TlvFieldKind, type TlvFieldMeta, type TlvFieldOptions, TlvMinLen, TlvRange, TlvUtf8Pattern, TlvValidate, type TlvValidatorFn, type TlvValidatorMeta, TpsSensor, type TpsSensorOptions, type TruthStatus, type TruthVerdict, type UnsignedObservationWitness, type UploadFileStat, type UploadFileStore, type UploadReceiptSigner, type UploadSessionRecord, type UploadSessionStatus, type UploadSessionStore, Witness, type Writ, type WritBody, type WritHead, type WritMeta, type WritSignature, type WritValidationResult, addStitchToKnot, applyStitch, assembleNeedle, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, breakKnot, buildAts1Hdr, buildAxisLawEvaluationContext, buildDtoDecoder, buildPacket, buildQueueMessage, buildReceiptHash, buildTLVs, buildUnsignedWitness, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, canonicalizeGrant, canonicalizeObservation, canonicalizeWrit, classifyIntent, createFabric, createGrant, createObservation, createPresenceChallenge, createReceipt, createRevocation, createWrit, decodeQueueMessage, deriveAnchorReflection, detectAnomalies, detectKnotPatterns, detectSequencePatterns, diffFabrics, encVarint, encodeAxisTlvDto, encodeQueueMessage, endStage, executeCcePipeline, executeLoomPipeline, extractDtoSchema, finalizeObservation, findKnotsForStitch, forkFromKnot, formStitch, getAxisExecutionContext, getDecisionPoints, getFabricValue, getGrantStatus, getIrreversibleKnots, getPresenceStatus, grantCoversAction, hasScope, hashObservation, isAdminOpcode, isKnotOpen, isKnownOpcode, isPointOfNoReturn, isRevoked, isTimestampValid, lockCells, matchPatterns, mergeAxisExecutionContext, nonce16, normalizeSensorDecision, openKnot, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseAutoClaimEntries, parseScope, parseStreamEntries, projectAt, queryFabric, recordOccurrence, recordSensor, renewPresence, resolveTimeout, runNeedlePipeline, scoreTruth, sensitivityName, signPresenceChallenge, stableJsonStringify, startStage, tieKnot, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, updateThreadState, utf8, validateFrameShape, validateGrant, validateKnot, validateWrit, varintU, verifyObservation, verifyPresenceProof, verifyReceiptChain, verifyResponse, weave, withAxisExecutionContext };