@tinycloud/node-sdk 3.0.1-beta.0 → 3.1.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as _tinycloud_sdk_core from '@tinycloud/sdk-core';
2
- import { ISessionStorage, PersistedSessionData, AutoSignStrategy, AutoRejectStrategy, CallbackStrategy, IUserAuthorization, ISigner, ISpaceCreationHandler, LocalNodeIdentityStore, IWasmBindings, ISessionManager, SiweConfig, Manifest, ComposedManifestRequest, ClientSession, TinyCloudSession, Extension, SignRequest, SignInOptions, CapabilityPresentationEnvelopeV1, Delegation, DelegatedResource, PermissionEntry, TelemetryConfig, IKVService, ISQLService, IDuckDbService, IHooksService, CreateOwnerDelegationParams as CreateOwnerDelegationParams$1, OwnerDelegationReceipt as OwnerDelegationReceipt$1, INotificationHandler, IENSResolver, AccountService, InvokeAnyFunction as InvokeAnyFunction$1, UnifiedPolicyCapability, RegisterPolicyV3Input, RegisterPolicyV3Receipt, CanonicalJson, ShareDeliveryAuthorizationV3Receipt, IDataVaultService, IEncryptionService, NetworkDescriptor, ISecretsService, ICapabilityKeyRegistry, DelegationManager, ISpaceService, ISpace, ISharingService, CreateDelegationParams, DelegationResult, DelegationRevocationReceipt, DelegationStatus, ResolvedDelegate, KeyProvider, JWK } from '@tinycloud/sdk-core';
2
+ import { ISessionStorage, PersistedSessionData, AutoSignStrategy, AutoRejectStrategy, CallbackStrategy, IUserAuthorization, ISigner, ISpaceCreationHandler, LocalNodeIdentityStore, IWasmBindings, ISessionManager, SiweConfig, Manifest, ComposedManifestRequest, ClientSession, TinyCloudSession, Extension, SignRequest, SpaceHostResult, SignInOptions, CapabilityPresentationEnvelopeV1, Delegation, DelegatedResource, PermissionEntry, TelemetryConfig, IKVService, ISQLService, IDuckDbService, IHooksService, CreateOwnerDelegationParams as CreateOwnerDelegationParams$1, OwnerDelegationReceipt as OwnerDelegationReceipt$1, INotificationHandler, IENSResolver, AccountService, InvokeAnyFunction as InvokeAnyFunction$1, UnifiedPolicyCapability, RegisterPolicyV3Input, RegisterPolicyV3Receipt, CanonicalJson, ShareDeliveryAuthorizationV3Receipt, IDataVaultService, IEncryptionService, NetworkDescriptor, ISecretsService, ICapabilityKeyRegistry, DelegationManager, ISpaceService, ISpace, ISharingService, CreateDelegationParams, DelegationResult, DelegationRevocationReceipt, DelegationStatus, ResolvedDelegate, KeyProvider, JWK } from '@tinycloud/sdk-core';
3
3
  import { EventEmitter } from 'events';
4
4
  import { InvokeFunction, InvokeAnyFunction } from '@tinycloud/sdk-services';
5
5
 
@@ -465,6 +465,12 @@ declare class NodeUserAuthorization implements IUserAuthorization {
465
465
  * Used by manifest registry setup for the account space.
466
466
  */
467
467
  hostOwnedSpace(spaceId: string, purpose?: SignRequest["purpose"]): Promise<boolean>;
468
+ /**
469
+ * {@link hostOwnedSpace} with the full host-delegation result, so a failure
470
+ * keeps its HTTP status (e.g. a typed 401/403) instead of collapsing to
471
+ * `false`.
472
+ */
473
+ hostOwnedSpaceResult(spaceId: string, purpose?: SignRequest["purpose"]): Promise<SpaceHostResult>;
468
474
  /**
469
475
  * Ensure the user's space exists on the TinyCloud server.
470
476
  * Creates the space if it doesn't exist and autoCreateSpace is enabled.
@@ -752,6 +758,17 @@ interface PortableDelegation extends Omit<Delegation, "isRevoked"> {
752
758
  * fields are authoritative (legacy single-resource shape).
753
759
  */
754
760
  resources?: DelegatedResource[];
761
+ /**
762
+ * The wallet-signed SIWE message and EIP-191 signature behind a
763
+ * `delegationHeader` that is a CACAO session grant (OpenKey `/delegate`,
764
+ * {@link TinyCloudNode.grantRuntimePermissions}) rather than a compact UCAN.
765
+ * Not authority: activation rebuilds the CACAO from them and accepts only
766
+ * byte-identical authorization bytes.
767
+ */
768
+ siweProof?: {
769
+ siwe: string;
770
+ signature: string;
771
+ };
755
772
  }
756
773
  /**
757
774
  * The transport shape `tc auth request --emit` produces and that an owner
@@ -813,6 +830,11 @@ interface RuntimeDelegationActivator {
813
830
  useRuntimeDelegation(delegation: PortableDelegation): Promise<void>;
814
831
  useDelegation?(delegation: PortableDelegation): Promise<unknown>;
815
832
  getRuntimePermissionDelegations(): PortableDelegation[];
833
+ /**
834
+ * Verify a wallet-signed session grant issued to this runtime's live session
835
+ * key. Required to activate a CACAO grant; compact UCANs do not use it.
836
+ */
837
+ verifySessionGrant?(grant: SessionGrantProof): VerifiedSessionGrant;
816
838
  }
817
839
  /** The installed authority returned by {@link activateValidatedRuntimeDelegation}. */
818
840
  interface ValidatedRuntimeDelegation {
@@ -836,16 +858,59 @@ interface CompactRuntimeDelegationInput {
836
858
  readonly ownerAddress: string;
837
859
  readonly chainId: number;
838
860
  }
861
+ /** A CACAO session grant and the signed SIWE proof it was built from. */
862
+ interface SessionGrantProof {
863
+ readonly delegationHeader: {
864
+ Authorization: string;
865
+ };
866
+ readonly delegationCid: string;
867
+ readonly spaceId: string;
868
+ readonly address: string;
869
+ readonly chainId: number;
870
+ readonly siwe: string;
871
+ readonly signature: string;
872
+ }
873
+ /** Authority read from a verified session grant's signed ReCap. */
874
+ interface VerifiedSessionGrant {
875
+ readonly recap: readonly {
876
+ service: string;
877
+ space: string;
878
+ path: string;
879
+ actions: string[];
880
+ caveats?: Record<string, unknown>[];
881
+ }[];
882
+ readonly expiresAt: Date;
883
+ }
839
884
  /**
840
- * CID-bind and activate one compact runtime delegation.
885
+ * Stable reasons {@link activateValidatedRuntimeDelegation} refuses a
886
+ * delegation for. The error message is for the caller and may quote
887
+ * transport fields or a node's response; the reason is safe to publish.
888
+ */
889
+ declare const RUNTIME_DELEGATION_REJECTIONS: readonly ["host_mismatch", "expired", "cid_mismatch", "authority_invalid", "proof_missing", "proof_invalid", "owner_mismatch", "audience_mismatch", "resources_mismatch", "unsupported", "activation_rejected"];
890
+ type RuntimeDelegationRejection = typeof RUNTIME_DELEGATION_REJECTIONS[number];
891
+ declare class RuntimeDelegationRejectedError extends Error {
892
+ readonly reason: RuntimeDelegationRejection;
893
+ constructor(reason: RuntimeDelegationRejection, message: string);
894
+ }
895
+ /**
896
+ * CID-bind and activate one runtime delegation.
841
897
  *
842
- * The helper derives audience, expiry, and effective permissions from the
843
- * compact UCAN's signed payload, verifies the transport fields agree, then
844
- * invokes {@link TinyCloudNode.useRuntimeDelegation}. The node activation call
845
- * remains the authority and delegation-chain validation boundary.
898
+ * A compact UCAN's audience, expiry and permissions come from its signed
899
+ * payload, and its transport fields must agree with them. A CACAO session
900
+ * grant (OpenKey `/delegate`, `grantRuntimePermissions`) is verified from its
901
+ * `siweProof` against this runtime's live session key; its installed
902
+ * authority is exactly the verified ReCap, and its transport `resources` are
903
+ * display data that is never consulted. Either way the helper then invokes
904
+ * {@link TinyCloudNode.useRuntimeDelegation}; the node activation call remains
905
+ * the authority and delegation-chain validation boundary.
906
+ *
907
+ * `options.authorize`, when given, sees the signed capabilities before
908
+ * anything is activated or installed; returning `false` refuses the
909
+ * delegation.
846
910
  */
847
911
  declare function activateValidatedRuntimeDelegation(node: RuntimeDelegationActivator, delegation: PortableDelegation, options: {
848
912
  host: string;
913
+ authorize?: (effectivePermissions: readonly PermissionEntry[]) => boolean;
849
914
  }): Promise<ValidatedRuntimeDelegation>;
850
915
  /**
851
916
  * Import compact UCAN bytes returned by an authority ceremony through the
@@ -1960,6 +2025,18 @@ declare class TinyCloudNode {
1960
2025
  * live authority must combine this with {@link getVerifiedSessionCapabilities}.
1961
2026
  */
1962
2027
  getEffectiveRuntimePermissionEntries(): PermissionEntry[];
2028
+ /**
2029
+ * Verify a wallet-signed session grant (a CACAO built from a SIWE and its
2030
+ * EIP-191 signature) issued to this instance's live session key. The
2031
+ * verifier rebuilds the CACAO from `siwe` and `signature`, so the grant is
2032
+ * accepted only when its authorization bytes and CID are exactly that CACAO,
2033
+ * its signer is `address`, its audience is this session key, it is valid
2034
+ * now, and its ReCap covers `spaceId` or names only raw encryption networks
2035
+ * (a decrypt-only grant has no space). Returns the signed ReCap and expiry.
2036
+ * Bindings without `validateSessionGrant` fall back to the session verifier,
2037
+ * which also refuses decrypt-only grants.
2038
+ */
2039
+ verifySessionGrant(grant: SessionGrantProof): VerifiedSessionGrant;
1963
2040
  /**
1964
2041
  * Install a portable runtime permission delegation into this SDK instance so
1965
2042
  * matching service calls and downstream `delegateTo()` calls can use it.
@@ -2468,4 +2545,4 @@ declare class WasmKeyProvider implements KeyProvider {
2468
2545
  */
2469
2546
  declare function createWasmKeyProvider(sessionManager: SessionManagerWithListing): WasmKeyProvider;
2470
2547
 
2471
- export { ACCEPTED_MARKER_VERSIONS as A, BOOTSTRAP_COMPLETION_MARKER_KEY as B, type CompactRuntimeDelegationInput as C, type DelegateToOptions as D, type EnsureEncryptionNetworkOptions as E, FileSessionStorage as F, serializeDelegation as G, InvalidRestoredSessionError as I, MemorySessionStorage as M, type NodeEventEmitterStrategy as N, type OwnerDelegationReceipt as O, type PortableDelegation as P, type RestorableSession as R, type SecretPermissionHint as S, TinyCloudNode as T, type UnifiedOwnerRootInput as U, type ValidatedRuntimeDelegation as V, WasmKeyProvider as W, type AuthDelegationArtifact as a, type AuthRequestArtifact as b, BOOTSTRAP_COMPLETION_MARKER_VERSION as c, type BootstrapCompletionMarker as d, type BootstrapWarning as e, type CreateOwnerDelegationParams as f, type DelegateToResult as g, DelegatedAccess as h, type DelegationAuthority as i, NodeUserAuthorization as j, type NodeUserAuthorizationConfig as k, type RuntimeDelegationActivator as l, type RuntimePermissionGrantOptions as m, type SecretReadInput as n, type SecretReadResult as o, type SignStrategy as p, type TinyCloudNodeConfig as q, type UnifiedOwnerRootReceipt as r, UnsupportedSessionRestoreError as s, type WasmKeyProviderConfig as t, activateCompactRuntimeDelegation as u, activateValidatedRuntimeDelegation as v, createWasmKeyProvider as w, defaultSignStrategy as x, deserializeDelegation as y, grantAuthRequest as z };
2548
+ export { ACCEPTED_MARKER_VERSIONS as A, BOOTSTRAP_COMPLETION_MARKER_KEY as B, type CompactRuntimeDelegationInput as C, type DelegateToOptions as D, type EnsureEncryptionNetworkOptions as E, FileSessionStorage as F, activateValidatedRuntimeDelegation as G, createWasmKeyProvider as H, InvalidRestoredSessionError as I, defaultSignStrategy as J, deserializeDelegation as K, grantAuthRequest as L, MemorySessionStorage as M, type NodeEventEmitterStrategy as N, type OwnerDelegationReceipt as O, type PortableDelegation as P, serializeDelegation as Q, RUNTIME_DELEGATION_REJECTIONS as R, type SecretPermissionHint as S, TinyCloudNode as T, type UnifiedOwnerRootInput as U, type ValidatedRuntimeDelegation as V, WasmKeyProvider as W, type AuthDelegationArtifact as a, type AuthRequestArtifact as b, BOOTSTRAP_COMPLETION_MARKER_VERSION as c, type BootstrapCompletionMarker as d, type BootstrapWarning as e, type CreateOwnerDelegationParams as f, type DelegateToResult as g, DelegatedAccess as h, type DelegationAuthority as i, NodeUserAuthorization as j, type NodeUserAuthorizationConfig as k, type RestorableSession as l, type RuntimeDelegationActivator as m, RuntimeDelegationRejectedError as n, type RuntimeDelegationRejection as o, type RuntimePermissionGrantOptions as p, type SecretReadInput as q, type SecretReadResult as r, type SessionGrantProof as s, type SignStrategy as t, type TinyCloudNodeConfig as u, type UnifiedOwnerRootReceipt as v, UnsupportedSessionRestoreError as w, type VerifiedSessionGrant as x, type WasmKeyProviderConfig as y, activateCompactRuntimeDelegation as z };
@@ -1,5 +1,5 @@
1
1
  import * as _tinycloud_sdk_core from '@tinycloud/sdk-core';
2
- import { ISessionStorage, PersistedSessionData, AutoSignStrategy, AutoRejectStrategy, CallbackStrategy, IUserAuthorization, ISigner, ISpaceCreationHandler, LocalNodeIdentityStore, IWasmBindings, ISessionManager, SiweConfig, Manifest, ComposedManifestRequest, ClientSession, TinyCloudSession, Extension, SignRequest, SignInOptions, CapabilityPresentationEnvelopeV1, Delegation, DelegatedResource, PermissionEntry, TelemetryConfig, IKVService, ISQLService, IDuckDbService, IHooksService, CreateOwnerDelegationParams as CreateOwnerDelegationParams$1, OwnerDelegationReceipt as OwnerDelegationReceipt$1, INotificationHandler, IENSResolver, AccountService, InvokeAnyFunction as InvokeAnyFunction$1, UnifiedPolicyCapability, RegisterPolicyV3Input, RegisterPolicyV3Receipt, CanonicalJson, ShareDeliveryAuthorizationV3Receipt, IDataVaultService, IEncryptionService, NetworkDescriptor, ISecretsService, ICapabilityKeyRegistry, DelegationManager, ISpaceService, ISpace, ISharingService, CreateDelegationParams, DelegationResult, DelegationRevocationReceipt, DelegationStatus, ResolvedDelegate, KeyProvider, JWK } from '@tinycloud/sdk-core';
2
+ import { ISessionStorage, PersistedSessionData, AutoSignStrategy, AutoRejectStrategy, CallbackStrategy, IUserAuthorization, ISigner, ISpaceCreationHandler, LocalNodeIdentityStore, IWasmBindings, ISessionManager, SiweConfig, Manifest, ComposedManifestRequest, ClientSession, TinyCloudSession, Extension, SignRequest, SpaceHostResult, SignInOptions, CapabilityPresentationEnvelopeV1, Delegation, DelegatedResource, PermissionEntry, TelemetryConfig, IKVService, ISQLService, IDuckDbService, IHooksService, CreateOwnerDelegationParams as CreateOwnerDelegationParams$1, OwnerDelegationReceipt as OwnerDelegationReceipt$1, INotificationHandler, IENSResolver, AccountService, InvokeAnyFunction as InvokeAnyFunction$1, UnifiedPolicyCapability, RegisterPolicyV3Input, RegisterPolicyV3Receipt, CanonicalJson, ShareDeliveryAuthorizationV3Receipt, IDataVaultService, IEncryptionService, NetworkDescriptor, ISecretsService, ICapabilityKeyRegistry, DelegationManager, ISpaceService, ISpace, ISharingService, CreateDelegationParams, DelegationResult, DelegationRevocationReceipt, DelegationStatus, ResolvedDelegate, KeyProvider, JWK } from '@tinycloud/sdk-core';
3
3
  import { EventEmitter } from 'events';
4
4
  import { InvokeFunction, InvokeAnyFunction } from '@tinycloud/sdk-services';
5
5
 
@@ -465,6 +465,12 @@ declare class NodeUserAuthorization implements IUserAuthorization {
465
465
  * Used by manifest registry setup for the account space.
466
466
  */
467
467
  hostOwnedSpace(spaceId: string, purpose?: SignRequest["purpose"]): Promise<boolean>;
468
+ /**
469
+ * {@link hostOwnedSpace} with the full host-delegation result, so a failure
470
+ * keeps its HTTP status (e.g. a typed 401/403) instead of collapsing to
471
+ * `false`.
472
+ */
473
+ hostOwnedSpaceResult(spaceId: string, purpose?: SignRequest["purpose"]): Promise<SpaceHostResult>;
468
474
  /**
469
475
  * Ensure the user's space exists on the TinyCloud server.
470
476
  * Creates the space if it doesn't exist and autoCreateSpace is enabled.
@@ -752,6 +758,17 @@ interface PortableDelegation extends Omit<Delegation, "isRevoked"> {
752
758
  * fields are authoritative (legacy single-resource shape).
753
759
  */
754
760
  resources?: DelegatedResource[];
761
+ /**
762
+ * The wallet-signed SIWE message and EIP-191 signature behind a
763
+ * `delegationHeader` that is a CACAO session grant (OpenKey `/delegate`,
764
+ * {@link TinyCloudNode.grantRuntimePermissions}) rather than a compact UCAN.
765
+ * Not authority: activation rebuilds the CACAO from them and accepts only
766
+ * byte-identical authorization bytes.
767
+ */
768
+ siweProof?: {
769
+ siwe: string;
770
+ signature: string;
771
+ };
755
772
  }
756
773
  /**
757
774
  * The transport shape `tc auth request --emit` produces and that an owner
@@ -813,6 +830,11 @@ interface RuntimeDelegationActivator {
813
830
  useRuntimeDelegation(delegation: PortableDelegation): Promise<void>;
814
831
  useDelegation?(delegation: PortableDelegation): Promise<unknown>;
815
832
  getRuntimePermissionDelegations(): PortableDelegation[];
833
+ /**
834
+ * Verify a wallet-signed session grant issued to this runtime's live session
835
+ * key. Required to activate a CACAO grant; compact UCANs do not use it.
836
+ */
837
+ verifySessionGrant?(grant: SessionGrantProof): VerifiedSessionGrant;
816
838
  }
817
839
  /** The installed authority returned by {@link activateValidatedRuntimeDelegation}. */
818
840
  interface ValidatedRuntimeDelegation {
@@ -836,16 +858,59 @@ interface CompactRuntimeDelegationInput {
836
858
  readonly ownerAddress: string;
837
859
  readonly chainId: number;
838
860
  }
861
+ /** A CACAO session grant and the signed SIWE proof it was built from. */
862
+ interface SessionGrantProof {
863
+ readonly delegationHeader: {
864
+ Authorization: string;
865
+ };
866
+ readonly delegationCid: string;
867
+ readonly spaceId: string;
868
+ readonly address: string;
869
+ readonly chainId: number;
870
+ readonly siwe: string;
871
+ readonly signature: string;
872
+ }
873
+ /** Authority read from a verified session grant's signed ReCap. */
874
+ interface VerifiedSessionGrant {
875
+ readonly recap: readonly {
876
+ service: string;
877
+ space: string;
878
+ path: string;
879
+ actions: string[];
880
+ caveats?: Record<string, unknown>[];
881
+ }[];
882
+ readonly expiresAt: Date;
883
+ }
839
884
  /**
840
- * CID-bind and activate one compact runtime delegation.
885
+ * Stable reasons {@link activateValidatedRuntimeDelegation} refuses a
886
+ * delegation for. The error message is for the caller and may quote
887
+ * transport fields or a node's response; the reason is safe to publish.
888
+ */
889
+ declare const RUNTIME_DELEGATION_REJECTIONS: readonly ["host_mismatch", "expired", "cid_mismatch", "authority_invalid", "proof_missing", "proof_invalid", "owner_mismatch", "audience_mismatch", "resources_mismatch", "unsupported", "activation_rejected"];
890
+ type RuntimeDelegationRejection = typeof RUNTIME_DELEGATION_REJECTIONS[number];
891
+ declare class RuntimeDelegationRejectedError extends Error {
892
+ readonly reason: RuntimeDelegationRejection;
893
+ constructor(reason: RuntimeDelegationRejection, message: string);
894
+ }
895
+ /**
896
+ * CID-bind and activate one runtime delegation.
841
897
  *
842
- * The helper derives audience, expiry, and effective permissions from the
843
- * compact UCAN's signed payload, verifies the transport fields agree, then
844
- * invokes {@link TinyCloudNode.useRuntimeDelegation}. The node activation call
845
- * remains the authority and delegation-chain validation boundary.
898
+ * A compact UCAN's audience, expiry and permissions come from its signed
899
+ * payload, and its transport fields must agree with them. A CACAO session
900
+ * grant (OpenKey `/delegate`, `grantRuntimePermissions`) is verified from its
901
+ * `siweProof` against this runtime's live session key; its installed
902
+ * authority is exactly the verified ReCap, and its transport `resources` are
903
+ * display data that is never consulted. Either way the helper then invokes
904
+ * {@link TinyCloudNode.useRuntimeDelegation}; the node activation call remains
905
+ * the authority and delegation-chain validation boundary.
906
+ *
907
+ * `options.authorize`, when given, sees the signed capabilities before
908
+ * anything is activated or installed; returning `false` refuses the
909
+ * delegation.
846
910
  */
847
911
  declare function activateValidatedRuntimeDelegation(node: RuntimeDelegationActivator, delegation: PortableDelegation, options: {
848
912
  host: string;
913
+ authorize?: (effectivePermissions: readonly PermissionEntry[]) => boolean;
849
914
  }): Promise<ValidatedRuntimeDelegation>;
850
915
  /**
851
916
  * Import compact UCAN bytes returned by an authority ceremony through the
@@ -1960,6 +2025,18 @@ declare class TinyCloudNode {
1960
2025
  * live authority must combine this with {@link getVerifiedSessionCapabilities}.
1961
2026
  */
1962
2027
  getEffectiveRuntimePermissionEntries(): PermissionEntry[];
2028
+ /**
2029
+ * Verify a wallet-signed session grant (a CACAO built from a SIWE and its
2030
+ * EIP-191 signature) issued to this instance's live session key. The
2031
+ * verifier rebuilds the CACAO from `siwe` and `signature`, so the grant is
2032
+ * accepted only when its authorization bytes and CID are exactly that CACAO,
2033
+ * its signer is `address`, its audience is this session key, it is valid
2034
+ * now, and its ReCap covers `spaceId` or names only raw encryption networks
2035
+ * (a decrypt-only grant has no space). Returns the signed ReCap and expiry.
2036
+ * Bindings without `validateSessionGrant` fall back to the session verifier,
2037
+ * which also refuses decrypt-only grants.
2038
+ */
2039
+ verifySessionGrant(grant: SessionGrantProof): VerifiedSessionGrant;
1963
2040
  /**
1964
2041
  * Install a portable runtime permission delegation into this SDK instance so
1965
2042
  * matching service calls and downstream `delegateTo()` calls can use it.
@@ -2468,4 +2545,4 @@ declare class WasmKeyProvider implements KeyProvider {
2468
2545
  */
2469
2546
  declare function createWasmKeyProvider(sessionManager: SessionManagerWithListing): WasmKeyProvider;
2470
2547
 
2471
- export { ACCEPTED_MARKER_VERSIONS as A, BOOTSTRAP_COMPLETION_MARKER_KEY as B, type CompactRuntimeDelegationInput as C, type DelegateToOptions as D, type EnsureEncryptionNetworkOptions as E, FileSessionStorage as F, serializeDelegation as G, InvalidRestoredSessionError as I, MemorySessionStorage as M, type NodeEventEmitterStrategy as N, type OwnerDelegationReceipt as O, type PortableDelegation as P, type RestorableSession as R, type SecretPermissionHint as S, TinyCloudNode as T, type UnifiedOwnerRootInput as U, type ValidatedRuntimeDelegation as V, WasmKeyProvider as W, type AuthDelegationArtifact as a, type AuthRequestArtifact as b, BOOTSTRAP_COMPLETION_MARKER_VERSION as c, type BootstrapCompletionMarker as d, type BootstrapWarning as e, type CreateOwnerDelegationParams as f, type DelegateToResult as g, DelegatedAccess as h, type DelegationAuthority as i, NodeUserAuthorization as j, type NodeUserAuthorizationConfig as k, type RuntimeDelegationActivator as l, type RuntimePermissionGrantOptions as m, type SecretReadInput as n, type SecretReadResult as o, type SignStrategy as p, type TinyCloudNodeConfig as q, type UnifiedOwnerRootReceipt as r, UnsupportedSessionRestoreError as s, type WasmKeyProviderConfig as t, activateCompactRuntimeDelegation as u, activateValidatedRuntimeDelegation as v, createWasmKeyProvider as w, defaultSignStrategy as x, deserializeDelegation as y, grantAuthRequest as z };
2548
+ export { ACCEPTED_MARKER_VERSIONS as A, BOOTSTRAP_COMPLETION_MARKER_KEY as B, type CompactRuntimeDelegationInput as C, type DelegateToOptions as D, type EnsureEncryptionNetworkOptions as E, FileSessionStorage as F, activateValidatedRuntimeDelegation as G, createWasmKeyProvider as H, InvalidRestoredSessionError as I, defaultSignStrategy as J, deserializeDelegation as K, grantAuthRequest as L, MemorySessionStorage as M, type NodeEventEmitterStrategy as N, type OwnerDelegationReceipt as O, type PortableDelegation as P, serializeDelegation as Q, RUNTIME_DELEGATION_REJECTIONS as R, type SecretPermissionHint as S, TinyCloudNode as T, type UnifiedOwnerRootInput as U, type ValidatedRuntimeDelegation as V, WasmKeyProvider as W, type AuthDelegationArtifact as a, type AuthRequestArtifact as b, BOOTSTRAP_COMPLETION_MARKER_VERSION as c, type BootstrapCompletionMarker as d, type BootstrapWarning as e, type CreateOwnerDelegationParams as f, type DelegateToResult as g, DelegatedAccess as h, type DelegationAuthority as i, NodeUserAuthorization as j, type NodeUserAuthorizationConfig as k, type RestorableSession as l, type RuntimeDelegationActivator as m, RuntimeDelegationRejectedError as n, type RuntimeDelegationRejection as o, type RuntimePermissionGrantOptions as p, type SecretReadInput as q, type SecretReadResult as r, type SessionGrantProof as s, type SignStrategy as t, type TinyCloudNodeConfig as u, type UnifiedOwnerRootReceipt as v, UnsupportedSessionRestoreError as w, type VerifiedSessionGrant as x, type WasmKeyProviderConfig as y, activateCompactRuntimeDelegation as z };