@calimero-network/mero-react 9.5.0 → 9.6.0

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.cts CHANGED
@@ -442,11 +442,27 @@ interface ConnectButtonProps {
442
442
  connected?: string;
443
443
  reconnecting?: string;
444
444
  };
445
+ /**
446
+ * Offer the **Cloud** tab — sign in with a Calimero account — next to the
447
+ * node dialog. Default true. With false the modal has no tabs, and this
448
+ * button reads no enrolment callback, leaving it to whichever component does.
449
+ */
450
+ cloud?: boolean;
451
+ /**
452
+ * Overrides for the account path, for local development only.
453
+ */
454
+ accountDefaults?: {
455
+ /**
456
+ * Point enrolment at a wallet other than the hosted one — for working ON
457
+ * the wallet, e.g. one served from `localhost:8090`.
458
+ */
459
+ walletUrl?: string;
460
+ };
445
461
  }
446
462
  /**
447
463
  * ConnectButton - Displays connection status and handles login/logout
448
464
  */
449
- declare function ConnectButton({ connectionType, className, style, theme, logoOnly, label, }: ConnectButtonProps): react_jsx_runtime.JSX.Element;
465
+ declare function ConnectButton({ connectionType, className, style, theme, logoOnly, label, cloud, accountDefaults, }: ConnectButtonProps): react_jsx_runtime.JSX.Element;
450
466
 
451
467
  interface ConnectButtonAccountProps {
452
468
  className?: string;
@@ -499,11 +515,49 @@ interface LoginModalProps {
499
515
  * non-standard setups and tests.
500
516
  */
501
517
  localNodePorts?: readonly number[];
518
+ /**
519
+ * Adds a second way in: a **Cloud** tab, signing in with a Calimero account
520
+ * by enrolling this tab's device key at the wallet. Absent, the modal is
521
+ * exactly the node dialog, with no tabs.
522
+ *
523
+ * The values are `useAccountEnrolment`'s; the modal only renders them.
524
+ */
525
+ cloud?: {
526
+ /** Start enrolment — normally `useAccountEnrolment().goToWallet`. */
527
+ onEnrol: () => void;
528
+ /** What the last enrolment had to say, shown on the Cloud tab. */
529
+ note?: string | null;
530
+ /** The wallet enrolment goes to. Shown only when `customWallet`. */
531
+ walletUrl?: string;
532
+ /** Whether `walletUrl` is an override rather than the hosted wallet. */
533
+ customWallet?: boolean;
534
+ };
535
+ /**
536
+ * The tab selected when the modal opens. Only meaningful with `cloud`.
537
+ * Default `'node'`.
538
+ */
539
+ initialTab?: LoginModalTab;
502
540
  }
541
+ /** The two tabs of the connect dialog, when it has a Cloud tab. */
542
+ type LoginModalTab = 'node' | 'cloud';
503
543
  /**
504
544
  * LoginModal - Connection modal component
505
545
  */
506
- declare function LoginModal({ onConnect, onClose, isOpen, theme, localNodePorts, }: LoginModalProps): React.ReactPortal | null;
546
+ declare function LoginModal({ onConnect, onClose, isOpen, theme, localNodePorts, cloud, initialTab, }: LoginModalProps): React.ReactPortal | null;
547
+
548
+ interface AccountSignInPanelProps {
549
+ /** Start enrolment — normally `useAccountEnrolment().goToWallet`. */
550
+ onEnrol: () => void;
551
+ /** What the last enrolment had to say (an error, or "nowhere to write yet"). */
552
+ note?: string | null;
553
+ /** The wallet enrolment goes to. Shown only when `customWallet`. */
554
+ walletUrl?: string;
555
+ /** Whether `walletUrl` is an override rather than the hosted wallet. */
556
+ customWallet?: boolean;
557
+ /** Theme overrides — accepts any subset of `MeroTheme` tokens */
558
+ theme?: MeroTheme;
559
+ }
560
+ declare function AccountSignInPanel({ onEnrol, note, walletUrl, customWallet, theme, }: AccountSignInPanelProps): react_jsx_runtime.JSX.Element;
507
561
 
508
562
  interface CalimeroLogoProps extends React__default.SVGAttributes<SVGSVGElement> {
509
563
  /** Width / height shorthand (applied to both). Default: 24. */
@@ -1158,6 +1212,53 @@ declare function useJoinInvitation(): {
1158
1212
  invitationRedeemer: (input: JoinInvitationInput) => InviteRedeemer;
1159
1213
  };
1160
1214
 
1215
+ /**
1216
+ * useAccountEnrolment — the account sign-in flow, with no UI.
1217
+ *
1218
+ * Moved out of {@link ConnectButtonAccount} unchanged, so that `ConnectButton`'s
1219
+ * Cloud tab and `ConnectButtonAccount` share one copy of it: the device keys,
1220
+ * the redirect to the wallet, and the completion when the tab comes back.
1221
+ *
1222
+ * - `goToWallet` generates (or reuses) this tab's device keys, remembers a state
1223
+ * parameter, and leaves for the wallet.
1224
+ * - On the way back, the callback is read ONCE during render, the state is
1225
+ * checked against the one sent, the certificate is completed and saved, the
1226
+ * account's relays are looked up, and `connectWithAccount` connects.
1227
+ * - `note` is what the person should be told about that — an error, or a
1228
+ * connection with nowhere to write yet.
1229
+ * - `returning` is true when this page load carries an enrolment callback,
1230
+ * success or error, so a caller can show the place the note appears.
1231
+ */
1232
+ interface UseAccountEnrolmentOptions {
1233
+ /**
1234
+ * Point enrolment at a wallet other than the hosted one.
1235
+ *
1236
+ * Exists for working ON the wallet: a wallet served from `localhost:8090`
1237
+ * cannot be reached through the hosted URL, and without this the only way to
1238
+ * test a wallet change would be to deploy it.
1239
+ */
1240
+ walletUrl?: string;
1241
+ /**
1242
+ * When false, the hook reads no callback and completes nothing, so a
1243
+ * component that has the account path switched off leaves the fragment for
1244
+ * whichever component does handle it. Default true.
1245
+ */
1246
+ enabled?: boolean;
1247
+ }
1248
+ interface AccountEnrolment {
1249
+ /** Leave for the wallet to enrol this tab's device key. */
1250
+ goToWallet: () => Promise<void>;
1251
+ /** What to tell the person about the last enrolment, or null. */
1252
+ note: string | null;
1253
+ /** Whether this page load carries an enrolment callback (success or error). */
1254
+ returning: boolean;
1255
+ /** The wallet enrolment goes to: the override, else the hosted one. */
1256
+ walletUrl: string;
1257
+ /** Whether `walletUrl` is an override rather than the hosted wallet. */
1258
+ customWallet: boolean;
1259
+ }
1260
+ declare function useAccountEnrolment({ walletUrl: walletOverride, enabled, }?: UseAccountEnrolmentOptions): AccountEnrolment;
1261
+
1161
1262
  interface UseEphemeralOptions<T> {
1162
1263
  /** Encoding for the presence slice. Defaults to JSON. */
1163
1264
  codec?: Codec<T>;
@@ -1941,4 +2042,4 @@ declare function clearContextIdentity(): void;
1941
2042
  */
1942
2043
  declare function clearAllStorage(): void;
1943
2044
 
1944
- export { type AccountAdminDeps, type AppContext, AppMode, type ApplicationContextRecord, type BlobHookOptions, type BootstrapFailure, type BootstrapFromInvitationInput, type BootstrapResult, type BootstrapStep, type BootstrapSuccess, CalimeroLogo, type CalimeroLogoProps, ConnectButton, ConnectButtonAccount, type ConnectButtonAccountProps, type ConnectButtonProps, ConnectionType, type ContextDiscoveryOptions, type ContextDiscoveryState, type CreatePrivateContextRequest, type CustomConnectionConfig, DEFAULT_MIGRATION_POLL_INTERVAL_MS, type DelegatedCredential, type DelegatedSession, type ExecutionResult, type JoinInvitationInput, type JoinInvitationResult, type JoinInvitationStep, type JoinWithNodeFailure, type JoinWithNodeInput, type JoinWithNodeResult, type JoinWithNodeStep, type JoinWithNodeSuccess, LoginModal, type LoginModalProps, MERO_CSS_VARS, type MeroCapabilities, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, MigrationAdminPanel, type MigrationAdminPanelProps, MigrationPendingBanner, type MigrationPendingBannerProps, type MutationOptions, NoRelayError, NotForAccountError, type RelayResolutionFailure, type RelayResolutionStep, type ResolveRelayFromInvitationInput, type ResolveRelayResult, type ResolvedInvitationRelay, type ResolvedMeroTheme, type SetMetadataInput, type SubscriptionEventData, type SubscriptionInput, type UseBlobUrlOptions, type UseDelegatedBootstrapOptions, type UseDelegatedBootstrapResult, type UseEphemeralOptions, type UseEphemeralResult, bootstrapFromInvitation, clearAllStorage, clearApplicationId, clearContextId, clearContextIdentity, clearDelegatedCredential, clearNodeUrl, clearTokenNodeUrl, createAccountAdmin, createDelegatedContext, createNodeAdmin, cssVar, defaultMeroTheme, getApplicationId, getContextId, getContextIdentity, getNodeUrl, getTokenNodeUrl, isFinalInvitationError, joinWithNode, listDelegatedContexts, localStorageTokenStorage, normaliseAccount, pinRelayNodeKey, readDelegatedCredential, readPinnedRelayNodeKey, readRelayMap, relayForContext, rememberRelay, resolveMeroTheme, resolveRelayFromInvitation, saveDelegatedCredential, setApplicationId, setContextId, setContextIdentity, setNodeUrl, setTokenNodeUrl, themeToCssVars, useAddGroupMembers, useAppVersion, useApplicationContexts, useBlobInfo, useBlobUrl, useContextDiscovery, useContextGroup, useContexts, useCreateContext, useCreateGroupInNamespace, useCreateNamespace, useCreateNamespaceInvitation, useCreatePrivateContext, useDefaultCapabilities, useDelegatedBootstrap, useDeleteContext, useDeleteGroup, useDeleteNamespace, useDetachContextFromGroup, useEphemeral, useExecute, useGroupAppVersion, useGroupCapabilities, useGroupContexts, useGroupInfo, useGroupInvitations, useGroupMembers, useGroupMetadata, useGroupUpgradeStatus, useInstallFromRegistry, useJoinContext, useJoinGroup, useJoinInvitation, useJoinNamespace, useJoinSubgroupInheritance, useLatestVersion, useMemberMetadata, useMero, useMigrationEvents, useMigrationStatus, useMyAuthoredMigration, useNamespace, useNamespaceGroups, useNamespaceIdentity, useNamespaces, useNamespacesForApplication, useNodeIdentity, useRedeemInvitation, useRemoveGroupMembers, useReparentGroup, useResyncContext, useRetryGroupUpgrade, useSetContextMetadata, useSetDefaultCapabilities, useSetGroupMetadata, useSetMemberMetadata, useSetSubgroupVisibility, useSetTeeAdmissionPolicy, useSubgroupVisibility, useSubgroups, useSubscription, useSyncGroup, useUpdateMemberRole, useUpgradeGroup, useUploadBlob };
2045
+ export { type AccountAdminDeps, type AccountEnrolment, AccountSignInPanel, type AccountSignInPanelProps, type AppContext, AppMode, type ApplicationContextRecord, type BlobHookOptions, type BootstrapFailure, type BootstrapFromInvitationInput, type BootstrapResult, type BootstrapStep, type BootstrapSuccess, CalimeroLogo, type CalimeroLogoProps, ConnectButton, ConnectButtonAccount, type ConnectButtonAccountProps, type ConnectButtonProps, ConnectionType, type ContextDiscoveryOptions, type ContextDiscoveryState, type CreatePrivateContextRequest, type CustomConnectionConfig, DEFAULT_MIGRATION_POLL_INTERVAL_MS, type DelegatedCredential, type DelegatedSession, type ExecutionResult, type JoinInvitationInput, type JoinInvitationResult, type JoinInvitationStep, type JoinWithNodeFailure, type JoinWithNodeInput, type JoinWithNodeResult, type JoinWithNodeStep, type JoinWithNodeSuccess, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, type MeroCapabilities, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, MigrationAdminPanel, type MigrationAdminPanelProps, MigrationPendingBanner, type MigrationPendingBannerProps, type MutationOptions, NoRelayError, NotForAccountError, type RelayResolutionFailure, type RelayResolutionStep, type ResolveRelayFromInvitationInput, type ResolveRelayResult, type ResolvedInvitationRelay, type ResolvedMeroTheme, type SetMetadataInput, type SubscriptionEventData, type SubscriptionInput, type UseAccountEnrolmentOptions, type UseBlobUrlOptions, type UseDelegatedBootstrapOptions, type UseDelegatedBootstrapResult, type UseEphemeralOptions, type UseEphemeralResult, bootstrapFromInvitation, clearAllStorage, clearApplicationId, clearContextId, clearContextIdentity, clearDelegatedCredential, clearNodeUrl, clearTokenNodeUrl, createAccountAdmin, createDelegatedContext, createNodeAdmin, cssVar, defaultMeroTheme, getApplicationId, getContextId, getContextIdentity, getNodeUrl, getTokenNodeUrl, isFinalInvitationError, joinWithNode, listDelegatedContexts, localStorageTokenStorage, normaliseAccount, pinRelayNodeKey, readDelegatedCredential, readPinnedRelayNodeKey, readRelayMap, relayForContext, rememberRelay, resolveMeroTheme, resolveRelayFromInvitation, saveDelegatedCredential, setApplicationId, setContextId, setContextIdentity, setNodeUrl, setTokenNodeUrl, themeToCssVars, useAccountEnrolment, useAddGroupMembers, useAppVersion, useApplicationContexts, useBlobInfo, useBlobUrl, useContextDiscovery, useContextGroup, useContexts, useCreateContext, useCreateGroupInNamespace, useCreateNamespace, useCreateNamespaceInvitation, useCreatePrivateContext, useDefaultCapabilities, useDelegatedBootstrap, useDeleteContext, useDeleteGroup, useDeleteNamespace, useDetachContextFromGroup, useEphemeral, useExecute, useGroupAppVersion, useGroupCapabilities, useGroupContexts, useGroupInfo, useGroupInvitations, useGroupMembers, useGroupMetadata, useGroupUpgradeStatus, useInstallFromRegistry, useJoinContext, useJoinGroup, useJoinInvitation, useJoinNamespace, useJoinSubgroupInheritance, useLatestVersion, useMemberMetadata, useMero, useMigrationEvents, useMigrationStatus, useMyAuthoredMigration, useNamespace, useNamespaceGroups, useNamespaceIdentity, useNamespaces, useNamespacesForApplication, useNodeIdentity, useRedeemInvitation, useRemoveGroupMembers, useReparentGroup, useResyncContext, useRetryGroupUpgrade, useSetContextMetadata, useSetDefaultCapabilities, useSetGroupMetadata, useSetMemberMetadata, useSetSubgroupVisibility, useSetTeeAdmissionPolicy, useSubgroupVisibility, useSubgroups, useSubscription, useSyncGroup, useUpdateMemberRole, useUpgradeGroup, useUploadBlob };
package/dist/index.d.ts CHANGED
@@ -442,11 +442,27 @@ interface ConnectButtonProps {
442
442
  connected?: string;
443
443
  reconnecting?: string;
444
444
  };
445
+ /**
446
+ * Offer the **Cloud** tab — sign in with a Calimero account — next to the
447
+ * node dialog. Default true. With false the modal has no tabs, and this
448
+ * button reads no enrolment callback, leaving it to whichever component does.
449
+ */
450
+ cloud?: boolean;
451
+ /**
452
+ * Overrides for the account path, for local development only.
453
+ */
454
+ accountDefaults?: {
455
+ /**
456
+ * Point enrolment at a wallet other than the hosted one — for working ON
457
+ * the wallet, e.g. one served from `localhost:8090`.
458
+ */
459
+ walletUrl?: string;
460
+ };
445
461
  }
446
462
  /**
447
463
  * ConnectButton - Displays connection status and handles login/logout
448
464
  */
449
- declare function ConnectButton({ connectionType, className, style, theme, logoOnly, label, }: ConnectButtonProps): react_jsx_runtime.JSX.Element;
465
+ declare function ConnectButton({ connectionType, className, style, theme, logoOnly, label, cloud, accountDefaults, }: ConnectButtonProps): react_jsx_runtime.JSX.Element;
450
466
 
451
467
  interface ConnectButtonAccountProps {
452
468
  className?: string;
@@ -499,11 +515,49 @@ interface LoginModalProps {
499
515
  * non-standard setups and tests.
500
516
  */
501
517
  localNodePorts?: readonly number[];
518
+ /**
519
+ * Adds a second way in: a **Cloud** tab, signing in with a Calimero account
520
+ * by enrolling this tab's device key at the wallet. Absent, the modal is
521
+ * exactly the node dialog, with no tabs.
522
+ *
523
+ * The values are `useAccountEnrolment`'s; the modal only renders them.
524
+ */
525
+ cloud?: {
526
+ /** Start enrolment — normally `useAccountEnrolment().goToWallet`. */
527
+ onEnrol: () => void;
528
+ /** What the last enrolment had to say, shown on the Cloud tab. */
529
+ note?: string | null;
530
+ /** The wallet enrolment goes to. Shown only when `customWallet`. */
531
+ walletUrl?: string;
532
+ /** Whether `walletUrl` is an override rather than the hosted wallet. */
533
+ customWallet?: boolean;
534
+ };
535
+ /**
536
+ * The tab selected when the modal opens. Only meaningful with `cloud`.
537
+ * Default `'node'`.
538
+ */
539
+ initialTab?: LoginModalTab;
502
540
  }
541
+ /** The two tabs of the connect dialog, when it has a Cloud tab. */
542
+ type LoginModalTab = 'node' | 'cloud';
503
543
  /**
504
544
  * LoginModal - Connection modal component
505
545
  */
506
- declare function LoginModal({ onConnect, onClose, isOpen, theme, localNodePorts, }: LoginModalProps): React.ReactPortal | null;
546
+ declare function LoginModal({ onConnect, onClose, isOpen, theme, localNodePorts, cloud, initialTab, }: LoginModalProps): React.ReactPortal | null;
547
+
548
+ interface AccountSignInPanelProps {
549
+ /** Start enrolment — normally `useAccountEnrolment().goToWallet`. */
550
+ onEnrol: () => void;
551
+ /** What the last enrolment had to say (an error, or "nowhere to write yet"). */
552
+ note?: string | null;
553
+ /** The wallet enrolment goes to. Shown only when `customWallet`. */
554
+ walletUrl?: string;
555
+ /** Whether `walletUrl` is an override rather than the hosted wallet. */
556
+ customWallet?: boolean;
557
+ /** Theme overrides — accepts any subset of `MeroTheme` tokens */
558
+ theme?: MeroTheme;
559
+ }
560
+ declare function AccountSignInPanel({ onEnrol, note, walletUrl, customWallet, theme, }: AccountSignInPanelProps): react_jsx_runtime.JSX.Element;
507
561
 
508
562
  interface CalimeroLogoProps extends React__default.SVGAttributes<SVGSVGElement> {
509
563
  /** Width / height shorthand (applied to both). Default: 24. */
@@ -1158,6 +1212,53 @@ declare function useJoinInvitation(): {
1158
1212
  invitationRedeemer: (input: JoinInvitationInput) => InviteRedeemer;
1159
1213
  };
1160
1214
 
1215
+ /**
1216
+ * useAccountEnrolment — the account sign-in flow, with no UI.
1217
+ *
1218
+ * Moved out of {@link ConnectButtonAccount} unchanged, so that `ConnectButton`'s
1219
+ * Cloud tab and `ConnectButtonAccount` share one copy of it: the device keys,
1220
+ * the redirect to the wallet, and the completion when the tab comes back.
1221
+ *
1222
+ * - `goToWallet` generates (or reuses) this tab's device keys, remembers a state
1223
+ * parameter, and leaves for the wallet.
1224
+ * - On the way back, the callback is read ONCE during render, the state is
1225
+ * checked against the one sent, the certificate is completed and saved, the
1226
+ * account's relays are looked up, and `connectWithAccount` connects.
1227
+ * - `note` is what the person should be told about that — an error, or a
1228
+ * connection with nowhere to write yet.
1229
+ * - `returning` is true when this page load carries an enrolment callback,
1230
+ * success or error, so a caller can show the place the note appears.
1231
+ */
1232
+ interface UseAccountEnrolmentOptions {
1233
+ /**
1234
+ * Point enrolment at a wallet other than the hosted one.
1235
+ *
1236
+ * Exists for working ON the wallet: a wallet served from `localhost:8090`
1237
+ * cannot be reached through the hosted URL, and without this the only way to
1238
+ * test a wallet change would be to deploy it.
1239
+ */
1240
+ walletUrl?: string;
1241
+ /**
1242
+ * When false, the hook reads no callback and completes nothing, so a
1243
+ * component that has the account path switched off leaves the fragment for
1244
+ * whichever component does handle it. Default true.
1245
+ */
1246
+ enabled?: boolean;
1247
+ }
1248
+ interface AccountEnrolment {
1249
+ /** Leave for the wallet to enrol this tab's device key. */
1250
+ goToWallet: () => Promise<void>;
1251
+ /** What to tell the person about the last enrolment, or null. */
1252
+ note: string | null;
1253
+ /** Whether this page load carries an enrolment callback (success or error). */
1254
+ returning: boolean;
1255
+ /** The wallet enrolment goes to: the override, else the hosted one. */
1256
+ walletUrl: string;
1257
+ /** Whether `walletUrl` is an override rather than the hosted wallet. */
1258
+ customWallet: boolean;
1259
+ }
1260
+ declare function useAccountEnrolment({ walletUrl: walletOverride, enabled, }?: UseAccountEnrolmentOptions): AccountEnrolment;
1261
+
1161
1262
  interface UseEphemeralOptions<T> {
1162
1263
  /** Encoding for the presence slice. Defaults to JSON. */
1163
1264
  codec?: Codec<T>;
@@ -1941,4 +2042,4 @@ declare function clearContextIdentity(): void;
1941
2042
  */
1942
2043
  declare function clearAllStorage(): void;
1943
2044
 
1944
- export { type AccountAdminDeps, type AppContext, AppMode, type ApplicationContextRecord, type BlobHookOptions, type BootstrapFailure, type BootstrapFromInvitationInput, type BootstrapResult, type BootstrapStep, type BootstrapSuccess, CalimeroLogo, type CalimeroLogoProps, ConnectButton, ConnectButtonAccount, type ConnectButtonAccountProps, type ConnectButtonProps, ConnectionType, type ContextDiscoveryOptions, type ContextDiscoveryState, type CreatePrivateContextRequest, type CustomConnectionConfig, DEFAULT_MIGRATION_POLL_INTERVAL_MS, type DelegatedCredential, type DelegatedSession, type ExecutionResult, type JoinInvitationInput, type JoinInvitationResult, type JoinInvitationStep, type JoinWithNodeFailure, type JoinWithNodeInput, type JoinWithNodeResult, type JoinWithNodeStep, type JoinWithNodeSuccess, LoginModal, type LoginModalProps, MERO_CSS_VARS, type MeroCapabilities, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, MigrationAdminPanel, type MigrationAdminPanelProps, MigrationPendingBanner, type MigrationPendingBannerProps, type MutationOptions, NoRelayError, NotForAccountError, type RelayResolutionFailure, type RelayResolutionStep, type ResolveRelayFromInvitationInput, type ResolveRelayResult, type ResolvedInvitationRelay, type ResolvedMeroTheme, type SetMetadataInput, type SubscriptionEventData, type SubscriptionInput, type UseBlobUrlOptions, type UseDelegatedBootstrapOptions, type UseDelegatedBootstrapResult, type UseEphemeralOptions, type UseEphemeralResult, bootstrapFromInvitation, clearAllStorage, clearApplicationId, clearContextId, clearContextIdentity, clearDelegatedCredential, clearNodeUrl, clearTokenNodeUrl, createAccountAdmin, createDelegatedContext, createNodeAdmin, cssVar, defaultMeroTheme, getApplicationId, getContextId, getContextIdentity, getNodeUrl, getTokenNodeUrl, isFinalInvitationError, joinWithNode, listDelegatedContexts, localStorageTokenStorage, normaliseAccount, pinRelayNodeKey, readDelegatedCredential, readPinnedRelayNodeKey, readRelayMap, relayForContext, rememberRelay, resolveMeroTheme, resolveRelayFromInvitation, saveDelegatedCredential, setApplicationId, setContextId, setContextIdentity, setNodeUrl, setTokenNodeUrl, themeToCssVars, useAddGroupMembers, useAppVersion, useApplicationContexts, useBlobInfo, useBlobUrl, useContextDiscovery, useContextGroup, useContexts, useCreateContext, useCreateGroupInNamespace, useCreateNamespace, useCreateNamespaceInvitation, useCreatePrivateContext, useDefaultCapabilities, useDelegatedBootstrap, useDeleteContext, useDeleteGroup, useDeleteNamespace, useDetachContextFromGroup, useEphemeral, useExecute, useGroupAppVersion, useGroupCapabilities, useGroupContexts, useGroupInfo, useGroupInvitations, useGroupMembers, useGroupMetadata, useGroupUpgradeStatus, useInstallFromRegistry, useJoinContext, useJoinGroup, useJoinInvitation, useJoinNamespace, useJoinSubgroupInheritance, useLatestVersion, useMemberMetadata, useMero, useMigrationEvents, useMigrationStatus, useMyAuthoredMigration, useNamespace, useNamespaceGroups, useNamespaceIdentity, useNamespaces, useNamespacesForApplication, useNodeIdentity, useRedeemInvitation, useRemoveGroupMembers, useReparentGroup, useResyncContext, useRetryGroupUpgrade, useSetContextMetadata, useSetDefaultCapabilities, useSetGroupMetadata, useSetMemberMetadata, useSetSubgroupVisibility, useSetTeeAdmissionPolicy, useSubgroupVisibility, useSubgroups, useSubscription, useSyncGroup, useUpdateMemberRole, useUpgradeGroup, useUploadBlob };
2045
+ export { type AccountAdminDeps, type AccountEnrolment, AccountSignInPanel, type AccountSignInPanelProps, type AppContext, AppMode, type ApplicationContextRecord, type BlobHookOptions, type BootstrapFailure, type BootstrapFromInvitationInput, type BootstrapResult, type BootstrapStep, type BootstrapSuccess, CalimeroLogo, type CalimeroLogoProps, ConnectButton, ConnectButtonAccount, type ConnectButtonAccountProps, type ConnectButtonProps, ConnectionType, type ContextDiscoveryOptions, type ContextDiscoveryState, type CreatePrivateContextRequest, type CustomConnectionConfig, DEFAULT_MIGRATION_POLL_INTERVAL_MS, type DelegatedCredential, type DelegatedSession, type ExecutionResult, type JoinInvitationInput, type JoinInvitationResult, type JoinInvitationStep, type JoinWithNodeFailure, type JoinWithNodeInput, type JoinWithNodeResult, type JoinWithNodeStep, type JoinWithNodeSuccess, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, type MeroCapabilities, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, MigrationAdminPanel, type MigrationAdminPanelProps, MigrationPendingBanner, type MigrationPendingBannerProps, type MutationOptions, NoRelayError, NotForAccountError, type RelayResolutionFailure, type RelayResolutionStep, type ResolveRelayFromInvitationInput, type ResolveRelayResult, type ResolvedInvitationRelay, type ResolvedMeroTheme, type SetMetadataInput, type SubscriptionEventData, type SubscriptionInput, type UseAccountEnrolmentOptions, type UseBlobUrlOptions, type UseDelegatedBootstrapOptions, type UseDelegatedBootstrapResult, type UseEphemeralOptions, type UseEphemeralResult, bootstrapFromInvitation, clearAllStorage, clearApplicationId, clearContextId, clearContextIdentity, clearDelegatedCredential, clearNodeUrl, clearTokenNodeUrl, createAccountAdmin, createDelegatedContext, createNodeAdmin, cssVar, defaultMeroTheme, getApplicationId, getContextId, getContextIdentity, getNodeUrl, getTokenNodeUrl, isFinalInvitationError, joinWithNode, listDelegatedContexts, localStorageTokenStorage, normaliseAccount, pinRelayNodeKey, readDelegatedCredential, readPinnedRelayNodeKey, readRelayMap, relayForContext, rememberRelay, resolveMeroTheme, resolveRelayFromInvitation, saveDelegatedCredential, setApplicationId, setContextId, setContextIdentity, setNodeUrl, setTokenNodeUrl, themeToCssVars, useAccountEnrolment, useAddGroupMembers, useAppVersion, useApplicationContexts, useBlobInfo, useBlobUrl, useContextDiscovery, useContextGroup, useContexts, useCreateContext, useCreateGroupInNamespace, useCreateNamespace, useCreateNamespaceInvitation, useCreatePrivateContext, useDefaultCapabilities, useDelegatedBootstrap, useDeleteContext, useDeleteGroup, useDeleteNamespace, useDetachContextFromGroup, useEphemeral, useExecute, useGroupAppVersion, useGroupCapabilities, useGroupContexts, useGroupInfo, useGroupInvitations, useGroupMembers, useGroupMetadata, useGroupUpgradeStatus, useInstallFromRegistry, useJoinContext, useJoinGroup, useJoinInvitation, useJoinNamespace, useJoinSubgroupInheritance, useLatestVersion, useMemberMetadata, useMero, useMigrationEvents, useMigrationStatus, useMyAuthoredMigration, useNamespace, useNamespaceGroups, useNamespaceIdentity, useNamespaces, useNamespacesForApplication, useNodeIdentity, useRedeemInvitation, useRemoveGroupMembers, useReparentGroup, useResyncContext, useRetryGroupUpgrade, useSetContextMetadata, useSetDefaultCapabilities, useSetGroupMetadata, useSetMemberMetadata, useSetSubgroupVisibility, useSetTeeAdmissionPolicy, useSubgroupVisibility, useSubgroups, useSubscription, useSyncGroup, useUpdateMemberRole, useUpgradeGroup, useUploadBlob };