@embarkai/ui-kit 0.4.127 → 0.6.9

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.ts CHANGED
@@ -6,15 +6,17 @@ import { BlockscoutTokenBalance } from '@embarkai/core/clients';
6
6
  import * as viem from 'viem';
7
7
  import { Address as Address$1, Hex, PublicClient, Chain, Hash as Hash$1, TransactionReceipt } from 'viem';
8
8
  import * as _tanstack_react_query from '@tanstack/react-query';
9
+ import { QueryClient } from '@tanstack/react-query';
9
10
  import * as zustand_middleware from 'zustand/middleware';
10
11
  import * as zustand from 'zustand';
11
12
  import { ChainConfig, createPublicClientForChain, createBundlerClientForChain, getChainConfig, getViemChain } from '@embarkai/core/read';
12
13
  import { BundlerClient } from 'viem/account-abstraction';
14
+ import { LoginResponse, JwtTokenManager } from '@embarkai/core/auth';
15
+ export { JwtTokens, LoginResponse, VerifyResponse, getValidTokens, jwtTokenManager } from '@embarkai/core/auth';
16
+ import { UserOperationV07 } from '@embarkai/core/bundler';
13
17
  import * as class_variance_authority_types from 'class-variance-authority/types';
14
18
  import { VariantProps } from 'class-variance-authority';
15
19
  import * as wagmi from 'wagmi';
16
- import { UserOperationV07 } from '@embarkai/core/bundler';
17
- export { JwtTokens, LoginResponse, VerifyResponse, getValidTokens, jwtTokenManager, logout } from '@embarkai/core/auth';
18
20
 
19
21
  interface TokenBalance {
20
22
  address: `0x${string}`;
@@ -153,7 +155,7 @@ declare global {
153
155
  dwhUrl: string;
154
156
  iframeUrl: string;
155
157
  shareVaultUrl: string;
156
- dashboardUrl: string;
158
+ dashboardApiUrl: string;
157
159
  tssRequireWasm: boolean;
158
160
  tssWasmDebug: boolean;
159
161
  }>;
@@ -308,7 +310,8 @@ interface ProviderConfig {
308
310
  tssUrl: string;
309
311
  dwhUrl: string;
310
312
  shareVaultUrl: string;
311
- dashboardUrl?: string;
313
+ /** @deprecated Not used: project settings and paymasters come from TSS */
314
+ dashboardApiUrl?: string;
312
315
  iframeUrl?: string;
313
316
  tssRequireWasm?: boolean;
314
317
  tssWasmDebug?: boolean;
@@ -317,7 +320,6 @@ interface ProviderConfig {
317
320
  mpcSecurity: boolean;
318
321
  strictMode: boolean;
319
322
  requestDeduplication: boolean;
320
- kycNeeded?: boolean;
321
323
  displayNameNeeded?: boolean;
322
324
  allowUserWalletPolicy?: boolean;
323
325
  /**
@@ -328,9 +330,19 @@ interface ProviderConfig {
328
330
  /** Enable/disable asset bridging, default - false */
329
331
  showAssetBridge?: boolean;
330
332
  };
331
- warnings: {
332
- backupWarning: boolean;
333
- emailNotConnectedWarning: boolean;
333
+ warnings?: {
334
+ backupWarning?: {
335
+ enabled?: boolean;
336
+ mandatory?: boolean;
337
+ };
338
+ kycNotCompletedWarning?: {
339
+ enabled?: boolean;
340
+ mandatory?: boolean;
341
+ };
342
+ emailNotConnectedWarning?: {
343
+ enabled?: boolean;
344
+ mandatory?: boolean;
345
+ };
334
346
  };
335
347
  kyc?: {
336
348
  provider?: 'sumsub' | 'uaepass' | 'custom';
@@ -649,6 +661,75 @@ declare function getAllSmartAccounts(): Promise<SmartAccountEntry[]>;
649
661
  */
650
662
  declare function getSmartAccountForChain(chainId: number): Promise<SmartAccountEntry | null>;
651
663
 
664
+ /**
665
+ * TSS routes that change the account and that a dApp token can no longer call (tss-api #6, D4).
666
+ * With a dApp session the parent sends them through the iframe (ACCOUNT_REQUEST), which uses its own session;
667
+ * the iframe accepts only these. Shared by the parent and the iframe bundle: keep it free of dependencies.
668
+ */
669
+ type AccountRequestMethod = 'POST' | 'PUT' | 'PATCH' | 'DELETE';
670
+
671
+ type WireUserOperation = Omit<UserOperationV07, 'signature'>;
672
+ interface SigningPayload {
673
+ kind: 'userOp';
674
+ chainId: number;
675
+ entryPoint: `0x${string}`;
676
+ userOp: WireUserOperation;
677
+ }
678
+
679
+ interface RecoveryStatsDeviceEntry {
680
+ deviceId: string;
681
+ name?: string;
682
+ count: number;
683
+ lastAt: string;
684
+ ip?: string;
685
+ ua?: string;
686
+ secChUa?: string;
687
+ browser?: string;
688
+ }
689
+ interface RecoveryStatsCreatedMeta {
690
+ at: string;
691
+ ip?: string;
692
+ ua?: string;
693
+ secChUa?: string;
694
+ browser?: string;
695
+ deviceId?: string;
696
+ deviceName?: string;
697
+ country?: string;
698
+ encryptionMethod?: VaultEncryptionMethod;
699
+ credentialId?: string;
700
+ }
701
+ interface RecoveryStats {
702
+ created: RecoveryStatsCreatedMeta;
703
+ devices: RecoveryStatsDeviceEntry[];
704
+ /** computed by the vault from the wrap; absent on vaults that predate security levels */
705
+ securityLevel?: SecurityLevel | null;
706
+ /** wallet the backup holds; null = written before backups named their wallet; absent on older vaults */
707
+ ownerAddress?: string | null;
708
+ }
709
+ declare function getShareRecoveryStats(): Promise<RecoveryStats | null>;
710
+
711
+ /**
712
+ * Progressive account security (Basic / Advanced).
713
+ */
714
+ /** How the DEK of the vault backup is wrapped. `server-managed` = KEK derived on TSS (Basic). */
715
+ type VaultEncryptionMethod = 'password' | 'passkey' | 'server-managed';
716
+ type SecurityLevel = 'basic' | 'advanced';
717
+ type EnsureBackupFailReason = 'disabled' | 'no_keyshare' | 'vault_unavailable' | 'kek_unavailable' | 'unknown';
718
+ type EnsureServerBackupResult = {
719
+ status: 'exists';
720
+ encryptionMethod: VaultEncryptionMethod;
721
+ } | {
722
+ status: 'created';
723
+ encryptionMethod: 'server-managed';
724
+ }
725
+ /** otherWallet: the vault reports a backup for this wallet that holds another wallet of the user (not bound yet) */
726
+ | {
727
+ status: 'failed';
728
+ reason: EnsureBackupFailReason;
729
+ error?: string;
730
+ otherWallet?: boolean;
731
+ };
732
+
652
733
  /**
653
734
  * Iframe Manager for Parent SDK
654
735
  *
@@ -661,11 +742,15 @@ interface Transaction$1 {
661
742
  value: string;
662
743
  data?: Hex;
663
744
  gasLimit?: string;
745
+ digest32?: Hex;
746
+ signing?: SigningPayload;
747
+ userOpDetails?: Record<string, unknown>;
664
748
  }
665
749
  interface IframeManagerConfig {
666
750
  iframeUrl: string;
667
751
  projectId: string;
668
752
  debug?: boolean;
753
+ queryClient?: QueryClient;
669
754
  onWalletReady?: (status: WalletReadyStatus) => void;
670
755
  }
671
756
  interface WalletReadyStatus {
@@ -676,6 +761,73 @@ interface WalletReadyStatus {
676
761
  hasSession: boolean;
677
762
  timestamp: number;
678
763
  }
764
+ /** Sign-in input passed to the iframe; the iframe makes the TSS requests with its flow secret */
765
+ type SignInStartRequest = {
766
+ provider: 'email';
767
+ email: string;
768
+ } | {
769
+ provider: 'passkey';
770
+ mode?: 'login' | 'register';
771
+ username?: string;
772
+ } | {
773
+ provider: 'wallet';
774
+ address: string;
775
+ } | {
776
+ provider: 'telegram';
777
+ } | {
778
+ provider: 'x';
779
+ };
780
+ type SignInFinishRequest = {
781
+ provider: 'email';
782
+ code: string;
783
+ } | {
784
+ provider: 'passkey';
785
+ credential: unknown;
786
+ } | {
787
+ provider: 'wallet';
788
+ signature: string;
789
+ chainId: number;
790
+ walletName?: string;
791
+ walletType?: string;
792
+ } | {
793
+ provider: 'telegram';
794
+ payload: Record<string, unknown>;
795
+ } | {
796
+ provider: 'x';
797
+ code: string;
798
+ };
799
+ type SignInStartResult = {
800
+ provider: 'email';
801
+ ok: boolean;
802
+ status: number;
803
+ data: Record<string, any>;
804
+ } | {
805
+ provider: 'passkey';
806
+ mode: 'login' | 'register';
807
+ options: Record<string, any>;
808
+ } | {
809
+ provider: 'wallet';
810
+ message: string;
811
+ } | {
812
+ provider: 'telegram';
813
+ } | {
814
+ provider: 'x';
815
+ url: string;
816
+ };
817
+ /** What the iframe tells the parent about its session: never the tokens */
818
+ interface IframeSessionInfo {
819
+ signedIn: boolean;
820
+ userId?: string;
821
+ displayName?: string | null;
822
+ avatar?: string | null;
823
+ providers?: string[];
824
+ hasKeyshare?: boolean;
825
+ }
826
+ interface AccountRequestResult {
827
+ ok: boolean;
828
+ status: number;
829
+ data: any;
830
+ }
679
831
  declare class IframeManager {
680
832
  private iframe;
681
833
  private iframeUrl;
@@ -687,6 +839,7 @@ declare class IframeManager {
687
839
  private readyResolve;
688
840
  private initPromise;
689
841
  private onWalletReadyCallback?;
842
+ private currentQueryClient;
690
843
  private pendingRequests;
691
844
  private usedNonces;
692
845
  private messageListener;
@@ -697,6 +850,7 @@ declare class IframeManager {
697
850
  private providerSessions;
698
851
  private providerConnections;
699
852
  private readonly REQUEST_TIMEOUT;
853
+ private readonly ENSURE_BACKUP_TIMEOUT;
700
854
  private readonly NONCE_EXPIRY;
701
855
  private readonly HEARTBEAT_INTERVAL;
702
856
  private heartbeatInterval?;
@@ -704,6 +858,14 @@ declare class IframeManager {
704
858
  private sseListeners;
705
859
  constructor(config: IframeManagerConfig);
706
860
  setDebug(debug: boolean): void;
861
+ /** Keeps the profile cache source current without recreating the manager */
862
+ setQueryClient(queryClient: QueryClient | null): void;
863
+ /**
864
+ * Avatar/name from the cached user profile query (no API call, never JWT claims).
865
+ * SessionContext and the profile client are imported lazily: static imports would make this module pull in
866
+ * the whole UI tree and the http client.
867
+ */
868
+ private getCachedProfile;
707
869
  /**
708
870
  * Initialize iframe and wait for it to be ready
709
871
  */
@@ -801,6 +963,7 @@ declare class IframeManager {
801
963
  * Start DKG (Distributed Key Generation)
802
964
  */
803
965
  startDKG(userId: string, accessToken?: string): Promise<Address$1>;
966
+ getProjectId(): string;
804
967
  /**
805
968
  * Sign transaction
806
969
  */
@@ -828,21 +991,35 @@ declare class IframeManager {
828
991
  */
829
992
  getAddress(userId: string): Promise<Address$1 | undefined>;
830
993
  /**
831
- * Check if user has a keyshare
994
+ * Check if user has a keyshare. With `server` (what TSS holds for this project), the iframe first
995
+ * sets aside a keyshare that is not the half of the server's one, and brings back one that is.
832
996
  */
833
- checkKeyshare(userId: string): Promise<{
997
+ checkKeyshare(userId: string, server?: {
998
+ hasKeyshare: boolean;
999
+ ownerAddress?: string | null;
1000
+ }): Promise<{
834
1001
  hasKeyshare: boolean;
835
1002
  address?: Address$1;
836
1003
  }>;
837
1004
  /**
838
1005
  * Open social auth popup (Telegram, Discord, Twitter, etc.)
1006
+ *
1007
+ * X through the auth iframe (tss-api #6): pass `config.iframeStart`, which asks the iframe to start the flow and
1008
+ * resolves with the X authorization URL (null: an older iframe, the popup runs the flow itself as before). The
1009
+ * popup opens at once, so the browser keeps the user gesture, and is sent to X when the URL is there. A login
1010
+ * then resolves with `authCode`, which only the iframe can redeem.
839
1011
  */
840
- openSocialAuthPopup(provider: string, config?: Record<string, any>): Promise<{
1012
+ openSocialAuthPopup(provider: string, config?: Record<string, any> & {
1013
+ iframeStart?: () => Promise<string | null>;
1014
+ }): Promise<{
841
1015
  provider: string;
842
1016
  success: boolean;
843
1017
  user?: any;
844
1018
  mode?: 'login' | 'link';
845
1019
  error?: string;
1020
+ /** X through the iframe: the one-time code for SIGN_IN_FINISH (login only) */
1021
+ authCode?: string;
1022
+ iframeFlow?: boolean;
846
1023
  }>;
847
1024
  /**
848
1025
  * Verify current auth session with the backend.
@@ -894,9 +1071,22 @@ declare class IframeManager {
894
1071
  method: string;
895
1072
  timestamp: number;
896
1073
  error?: string;
1074
+ /** what the vault holds now (server method only) */
1075
+ encryptionMethod?: 'password' | 'passkey';
1076
+ /** true when this call moved the account from Basic to Advanced */
1077
+ upgraded?: boolean;
897
1078
  }>;
898
1079
  /**
899
- * Restore keyshare from server backup
1080
+ * Make sure the vault holds a backup of the current keyshare, creating a Basic (server-managed)
1081
+ * one if there is none. Idempotent: an existing backup of any level is never overwritten.
1082
+ * Never throws: failures come back as `{ status: 'failed' }`.
1083
+ */
1084
+ ensureServerBackup(userId: string, accessToken?: string): Promise<EnsureServerBackupResult>;
1085
+ /**
1086
+ * Restore keyshare from server backup.
1087
+ * Without a password the iframe picks the method from the backup: server-managed (Basic) restores
1088
+ * silently, otherwise passkey. A Basic restore that TSS cannot serve fails with an error starting
1089
+ * with RECOVERY_KEK_UNAVAILABLE.
900
1090
  */
901
1091
  restoreFromServer(userId: string, password?: string, accessToken?: string): Promise<{
902
1092
  success: boolean;
@@ -955,6 +1145,17 @@ declare class IframeManager {
955
1145
  name: string;
956
1146
  available: boolean;
957
1147
  }>>;
1148
+ /** Start a sign-in: the iframe sends the request to TSS with its flow challenge */
1149
+ signInStart(request: SignInStartRequest): Promise<SignInStartResult>;
1150
+ /** Finish a sign-in: the iframe keeps the session and answers with a dApp token pair */
1151
+ signInFinish(request: SignInFinishRequest): Promise<LoginResponse>;
1152
+ /** End the iframe session (TSS revokes the dApp pair with it) */
1153
+ signOut(): Promise<void>;
1154
+ getSession(): Promise<IframeSessionInfo>;
1155
+ /** A new dApp pair from the iframe session; null when the iframe has none */
1156
+ getDappTokens(): Promise<LoginResponse | null>;
1157
+ /** An account change a dApp token cannot make, sent by the iframe with its session */
1158
+ accountRequest(method: AccountRequestMethod, path: string, body?: unknown): Promise<AccountRequestResult>;
958
1159
  /**
959
1160
  * Cleanup and destroy iframe
960
1161
  */
@@ -1145,7 +1346,7 @@ declare function useColorMode(): {
1145
1346
  };
1146
1347
 
1147
1348
  declare const buttonVariants: (props?: {
1148
- variant?: "default" | "outline" | "default-glow" | "secondary" | "secondary-glow" | "ghost";
1349
+ variant?: "outline" | "default" | "default-glow" | "secondary" | "secondary-glow" | "ghost";
1149
1350
  size?: "small" | "large" | "medium" | "icon";
1150
1351
  } & class_variance_authority_types.ClassProp) => string;
1151
1352
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -1275,33 +1476,6 @@ declare class Onboarder {
1275
1476
  }
1276
1477
  declare const onboarder: Onboarder;
1277
1478
 
1278
- interface RecoveryStatsDeviceEntry {
1279
- deviceId: string;
1280
- name?: string;
1281
- count: number;
1282
- lastAt: string;
1283
- ip?: string;
1284
- ua?: string;
1285
- secChUa?: string;
1286
- browser?: string;
1287
- }
1288
- interface RecoveryStatsCreatedMeta {
1289
- at: string;
1290
- ip?: string;
1291
- ua?: string;
1292
- secChUa?: string;
1293
- browser?: string;
1294
- deviceId?: string;
1295
- deviceName?: string;
1296
- country?: string;
1297
- encryptionMethod?: 'passkey' | 'password';
1298
- }
1299
- interface RecoveryStats {
1300
- created: RecoveryStatsCreatedMeta;
1301
- devices: RecoveryStatsDeviceEntry[];
1302
- }
1303
- declare function getShareRecoveryStats(): Promise<RecoveryStats | null>;
1304
-
1305
1479
  interface SendTransactionParams$1 {
1306
1480
  to: `0x${string}`;
1307
1481
  value: string;
@@ -1861,6 +2035,12 @@ declare global {
1861
2035
  }
1862
2036
  }
1863
2037
 
2038
+ /**
2039
+ * Sign out: the iframe session ends first (TSS revokes the dApp pair with it), then the page tokens.
2040
+ * Same signature as the core logout.
2041
+ */
2042
+ declare function logout(manager?: JwtTokenManager): Promise<void>;
2043
+
1864
2044
  /**
1865
2045
  * Provider information in user profile
1866
2046
  * Matches the structure returned by backend /api/auth/profile
@@ -1913,6 +2093,8 @@ declare function getUserProfile(): Promise<UserProfile>;
1913
2093
  */
1914
2094
  declare function updateUserProfile(updates: UpdateProfileRequest): Promise<UserProfile>;
1915
2095
 
2096
+ declare function useUserProfile(): _tanstack_react_query.UseQueryResult<UserProfile, Error>;
2097
+
1916
2098
  interface PolicyRules {
1917
2099
  destinations?: {
1918
2100
  allow?: string[];
@@ -1933,29 +2115,45 @@ type PendingChange<S> = {
1933
2115
  op: 'delete';
1934
2116
  activatesAt: string;
1935
2117
  };
2118
+ interface UserPolicyState {
2119
+ enabled: boolean;
2120
+ allChains: boolean;
2121
+ chainIds: number[];
2122
+ rules: PolicyRules;
2123
+ }
1936
2124
  interface UserPolicy {
1937
2125
  id: string;
1938
2126
  version: number;
1939
- chainId: number;
1940
- active: PolicyRules;
1941
- pending: PendingChange<PolicyRules> | null;
2127
+ name: string;
2128
+ description: string;
2129
+ active: UserPolicyState;
2130
+ pending: PendingChange<UserPolicyState> | null;
1942
2131
  updatedAt: string;
1943
2132
  }
1944
- interface UserPolicyView {
1945
- policy: UserPolicy | null;
1946
- overriddenBy: {
1947
- projectId: string;
1948
- field: string;
1949
- }[];
2133
+ interface UserPolicyOverride {
2134
+ policyId: string;
2135
+ projectId: string;
2136
+ chainId: number | null;
2137
+ field: string;
2138
+ }
2139
+ interface UserPolicyList {
2140
+ policies: UserPolicy[];
2141
+ overriddenBy: UserPolicyOverride[];
2142
+ }
2143
+ interface UserPolicyInput {
2144
+ name: string;
2145
+ description: string;
2146
+ enabled: boolean;
2147
+ allChains: boolean;
2148
+ chainIds: number[];
2149
+ rules: PolicyRules;
1950
2150
  }
1951
2151
 
1952
- type SecuritySubmenu = 'connected-apps' | 'user-assets-policies';
2152
+ type SecuritySubmenu = 'connected-apps' | 'wallet-policies' | 'keyshare-reshare';
1953
2153
  interface SecurityMenuParams extends PageOpenParams {
1954
2154
  submenu: SecuritySubmenu;
1955
- /** open the policy editor pre-populated with these rules (e.g. the caller's own last-fetched policy) */
1956
- policyRules?: PolicyRules;
1957
- /** open the policy editor with empty/default rules */
1958
- openPolicyEditor?: boolean;
2155
+ policy?: UserPolicy;
2156
+ createPolicy?: boolean;
1959
2157
  }
1960
2158
 
1961
2159
  interface ConnectedApp {
@@ -1971,9 +2169,9 @@ interface ConnectedApp {
1971
2169
  lastActiveAt: string;
1972
2170
  }
1973
2171
 
1974
- declare function useConnectedApps(): _tanstack_react_query.UseQueryResult<NoInfer<ConnectedApp[]>, Error>;
2172
+ declare function useConnectedApps(): _tanstack_react_query.UseQueryResult<ConnectedApp[], Error>;
1975
2173
 
1976
- declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResult<NoInfer<{
2174
+ declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResult<{
1977
2175
  keyshareInfo: {
1978
2176
  hasKeyshare: boolean;
1979
2177
  ownerAddress?: `0x${string}`;
@@ -1981,24 +2179,23 @@ declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResul
1981
2179
  keyshareSize?: number;
1982
2180
  };
1983
2181
  shareRecoveryStats: RecoveryStats;
1984
- }>, Error>;
2182
+ }, Error>;
1985
2183
 
1986
- /** The user's own policy for the active chain (one policy per wallet per chain) */
1987
- declare function useUserAssetsPolicies(activeChainId: number): _tanstack_react_query.UseQueryResult<NoInfer<UserPolicyView>, Error>;
2184
+ declare function useUserPolicies(): _tanstack_react_query.UseQueryResult<UserPolicyList, Error>;
1988
2185
 
1989
- declare function getUserPolicy(userId: string, chainId: number): Promise<UserPolicyView>;
1990
- declare function putUserPolicy(userId: string, chainId: number, rules: PolicyRules): Promise<UserPolicyView>;
1991
- declare function cancelPendingPolicy(userId: string, chainId: number): Promise<UserPolicyView>;
1992
- declare function deleteUserPolicy(userId: string, chainId: number): Promise<UserPolicyView>;
1993
- declare const USER_ASSETS_POLICIES_API: {
1994
- getUserPolicy: typeof getUserPolicy;
1995
- putUserPolicy: typeof putUserPolicy;
1996
- cancelPendingPolicy: typeof cancelPendingPolicy;
2186
+ declare function listUserPolicies(userId: string): Promise<UserPolicyList>;
2187
+ declare function createUserPolicy(userId: string, input: UserPolicyInput): Promise<UserPolicyList>;
2188
+ declare function updateUserPolicy(userId: string, policyId: string, input: UserPolicyInput): Promise<UserPolicyList>;
2189
+ declare function deleteUserPolicy(userId: string, policyId: string): Promise<UserPolicyList>;
2190
+ declare function cancelPendingUserPolicy(userId: string, policyId: string): Promise<UserPolicyList>;
2191
+ declare const USER_POLICIES_API: {
2192
+ listUserPolicies: typeof listUserPolicies;
2193
+ createUserPolicy: typeof createUserPolicy;
2194
+ updateUserPolicy: typeof updateUserPolicy;
1997
2195
  deleteUserPolicy: typeof deleteUserPolicy;
2196
+ cancelPendingUserPolicy: typeof cancelPendingUserPolicy;
1998
2197
  };
1999
2198
 
2000
- declare const DEFAULT_POLICY_RULES: PolicyRules;
2001
-
2002
2199
  declare function checkWrapedTokenSymbol(symbol: string): string;
2003
2200
  /**
2004
2201
  * get asset rate for a specific symbol against a USDT by default
@@ -2014,10 +2211,10 @@ interface UseAssetRateOptions {
2014
2211
  refetchInterval?: number;
2015
2212
  staleTime?: number;
2016
2213
  }
2017
- declare function useAssetUsdtRate(assetSymbol: string | null, options?: UseAssetRateOptions): _tanstack_react_query.UseQueryResult<NoInfer<{
2214
+ declare function useAssetUsdtRate(assetSymbol: string | null, options?: UseAssetRateOptions): _tanstack_react_query.UseQueryResult<{
2018
2215
  symbol: string;
2019
2216
  price: string;
2020
- }>, Error>;
2217
+ }, Error>;
2021
2218
 
2022
2219
  interface LinkedProfileDisplay extends AuthProvider {
2023
2220
  displayName: string;
@@ -2025,8 +2222,10 @@ interface LinkedProfileDisplay extends AuthProvider {
2025
2222
  color?: string;
2026
2223
  }
2027
2224
  declare function useLinkedProfiles(): {
2028
- profiles: LinkedProfileDisplay[];
2225
+ address: `0x${string}`;
2029
2226
  avatar: string;
2227
+ profile: UserProfile;
2228
+ profiles: LinkedProfileDisplay[];
2030
2229
  isLoading: boolean;
2031
2230
  isFetching: boolean;
2032
2231
  error: Error;
@@ -2043,7 +2242,8 @@ declare function useLinkedProfiles(): {
2043
2242
  declare class AccountAbstractionError extends Error {
2044
2243
  /** Machine-readable error code for programmatic handling */
2045
2244
  readonly code: string;
2046
- constructor(message: string, code: string);
2245
+ readonly details: Record<string, unknown>;
2246
+ constructor(message: string, code: string, details?: Record<string, unknown>);
2047
2247
  }
2048
2248
  /**
2049
2249
  * Error thrown when user rejects a transaction or signature request
@@ -2063,11 +2263,35 @@ declare class SessionExpiredError extends AccountAbstractionError {
2063
2263
  /**
2064
2264
  * Error codes for EmbarkAI operations
2065
2265
  */
2266
+ declare class PolicyViolationError extends AccountAbstractionError {
2267
+ static readonly CODE: "POLICY_VIOLATION";
2268
+ readonly policyId: string;
2269
+ readonly rule: string;
2270
+ readonly reason: string;
2271
+ constructor(message: string, details?: Record<string, unknown>);
2272
+ }
2066
2273
  declare const ErrorCodes: {
2067
2274
  readonly MPC_SIGNING_ERROR: "MPC_SIGNING_ERROR";
2068
2275
  readonly USER_REJECTED: "USER_REJECTED";
2069
2276
  readonly SESSION_EXPIRED: "SESSION_EXPIRED";
2277
+ readonly POLICY_VIOLATION: "POLICY_VIOLATION";
2278
+ readonly POLICY_UNAVAILABLE: "POLICY_UNAVAILABLE";
2279
+ readonly WALLET_REVOKED: "WALLET_REVOKED";
2280
+ readonly DIGEST_MISMATCH: "DIGEST_MISMATCH";
2281
+ readonly MISSING_OPERATION: "MISSING_OPERATION";
2282
+ readonly UNSUPPORTED_CALLDATA: "UNSUPPORTED_CALLDATA";
2283
+ readonly TSS_REQUEST_FAILED: "TSS_REQUEST_FAILED";
2070
2284
  };
2285
+ interface TssErrorBody {
2286
+ error?: string;
2287
+ code?: string;
2288
+ message?: string;
2289
+ policyId?: string;
2290
+ rule?: string;
2291
+ reason?: string;
2292
+ existingOwnerAddress?: string | null;
2293
+ }
2294
+ declare function tssErrorFromBody(status: number, body: TssErrorBody): AccountAbstractionError;
2071
2295
  /**
2072
2296
  * Duck-types by `code` (not `instanceof`) so the check survives bundle boundaries
2073
2297
  */
@@ -2079,6 +2303,7 @@ declare function isSessionExpiredError(error: unknown): boolean;
2079
2303
  declare function createAccountAbstractionError(params: {
2080
2304
  message: string;
2081
2305
  code?: string;
2306
+ details?: Record<string, unknown>;
2082
2307
  }): Error;
2083
2308
 
2084
2309
  declare function getExplorerUrl(): string;
@@ -2146,130 +2371,130 @@ declare function useTransactions(): {
2146
2371
  getTransaction: (hash: Hash$1) => Promise<{
2147
2372
  input: viem.Hex;
2148
2373
  s: viem.Hex;
2149
- hash: Hash$1;
2374
+ chainId?: number;
2375
+ nonce: number;
2150
2376
  type: "legacy";
2151
- yParity?: undefined;
2152
- blockTimestamp?: bigint;
2153
2377
  from: viem.Address;
2154
- gas: bigint;
2155
- nonce: number;
2156
2378
  r: viem.Hex;
2157
2379
  to: viem.Address | null;
2380
+ maxFeePerGas?: undefined;
2381
+ maxPriorityFeePerGas?: undefined;
2382
+ value: bigint;
2383
+ yParity?: undefined;
2384
+ blockTimestamp?: bigint;
2385
+ gas: bigint;
2386
+ hash: Hash$1;
2158
2387
  typeHex: viem.Hex | null;
2159
2388
  v: bigint;
2160
- value: bigint;
2161
2389
  accessList?: undefined;
2162
2390
  authorizationList?: undefined;
2163
2391
  blobVersionedHashes?: undefined;
2164
- chainId?: number;
2165
2392
  gasPrice: bigint;
2166
2393
  maxFeePerBlobGas?: undefined;
2167
- maxFeePerGas?: undefined;
2168
- maxPriorityFeePerGas?: undefined;
2169
2394
  blockHash: `0x${string}`;
2170
2395
  blockNumber: bigint;
2171
2396
  transactionIndex: number;
2172
2397
  } | {
2173
2398
  input: viem.Hex;
2174
2399
  s: viem.Hex;
2175
- hash: Hash$1;
2400
+ chainId: number;
2401
+ nonce: number;
2176
2402
  type: "eip2930";
2177
- yParity: number;
2178
- blockTimestamp?: bigint;
2179
2403
  from: viem.Address;
2180
- gas: bigint;
2181
- nonce: number;
2182
2404
  r: viem.Hex;
2183
2405
  to: viem.Address | null;
2406
+ maxFeePerGas?: undefined;
2407
+ maxPriorityFeePerGas?: undefined;
2408
+ value: bigint;
2409
+ yParity: number;
2410
+ blockTimestamp?: bigint;
2411
+ gas: bigint;
2412
+ hash: Hash$1;
2184
2413
  typeHex: viem.Hex | null;
2185
2414
  v: bigint;
2186
- value: bigint;
2187
2415
  accessList: viem.AccessList;
2188
2416
  authorizationList?: undefined;
2189
2417
  blobVersionedHashes?: undefined;
2190
- chainId: number;
2191
2418
  gasPrice: bigint;
2192
2419
  maxFeePerBlobGas?: undefined;
2193
- maxFeePerGas?: undefined;
2194
- maxPriorityFeePerGas?: undefined;
2195
2420
  blockHash: `0x${string}`;
2196
2421
  blockNumber: bigint;
2197
2422
  transactionIndex: number;
2198
2423
  } | {
2199
2424
  input: viem.Hex;
2200
2425
  s: viem.Hex;
2201
- hash: Hash$1;
2426
+ chainId: number;
2427
+ nonce: number;
2202
2428
  type: "eip1559";
2203
- yParity: number;
2204
- blockTimestamp?: bigint;
2205
2429
  from: viem.Address;
2206
- gas: bigint;
2207
- nonce: number;
2208
2430
  r: viem.Hex;
2209
2431
  to: viem.Address | null;
2432
+ maxFeePerGas: bigint;
2433
+ maxPriorityFeePerGas: bigint;
2434
+ value: bigint;
2435
+ yParity: number;
2436
+ blockTimestamp?: bigint;
2437
+ gas: bigint;
2438
+ hash: Hash$1;
2210
2439
  typeHex: viem.Hex | null;
2211
2440
  v: bigint;
2212
- value: bigint;
2213
2441
  accessList: viem.AccessList;
2214
2442
  authorizationList?: undefined;
2215
2443
  blobVersionedHashes?: undefined;
2216
- chainId: number;
2217
2444
  gasPrice?: undefined;
2218
2445
  maxFeePerBlobGas?: undefined;
2219
- maxFeePerGas: bigint;
2220
- maxPriorityFeePerGas: bigint;
2221
2446
  blockHash: `0x${string}`;
2222
2447
  blockNumber: bigint;
2223
2448
  transactionIndex: number;
2224
2449
  } | {
2225
2450
  input: viem.Hex;
2226
2451
  s: viem.Hex;
2227
- hash: Hash$1;
2452
+ chainId: number;
2453
+ nonce: number;
2228
2454
  type: "eip4844";
2229
- yParity: number;
2230
- blockTimestamp?: bigint;
2231
2455
  from: viem.Address;
2232
- gas: bigint;
2233
- nonce: number;
2234
2456
  r: viem.Hex;
2235
2457
  to: viem.Address | null;
2458
+ maxFeePerGas: bigint;
2459
+ maxPriorityFeePerGas: bigint;
2460
+ value: bigint;
2461
+ yParity: number;
2462
+ blockTimestamp?: bigint;
2463
+ gas: bigint;
2464
+ hash: Hash$1;
2236
2465
  typeHex: viem.Hex | null;
2237
2466
  v: bigint;
2238
- value: bigint;
2239
2467
  accessList: viem.AccessList;
2240
2468
  authorizationList?: undefined;
2241
2469
  blobVersionedHashes: readonly viem.Hex[];
2242
- chainId: number;
2243
2470
  gasPrice?: undefined;
2244
2471
  maxFeePerBlobGas: bigint;
2245
- maxFeePerGas: bigint;
2246
- maxPriorityFeePerGas: bigint;
2247
2472
  blockHash: `0x${string}`;
2248
2473
  blockNumber: bigint;
2249
2474
  transactionIndex: number;
2250
2475
  } | {
2251
2476
  input: viem.Hex;
2252
2477
  s: viem.Hex;
2253
- hash: Hash$1;
2478
+ chainId: number;
2479
+ nonce: number;
2254
2480
  type: "eip7702";
2255
- yParity: number;
2256
- blockTimestamp?: bigint;
2257
2481
  from: viem.Address;
2258
- gas: bigint;
2259
- nonce: number;
2260
2482
  r: viem.Hex;
2261
2483
  to: viem.Address | null;
2484
+ maxFeePerGas: bigint;
2485
+ maxPriorityFeePerGas: bigint;
2486
+ value: bigint;
2487
+ yParity: number;
2488
+ blockTimestamp?: bigint;
2489
+ gas: bigint;
2490
+ hash: Hash$1;
2262
2491
  typeHex: viem.Hex | null;
2263
2492
  v: bigint;
2264
- value: bigint;
2265
2493
  accessList: viem.AccessList;
2266
2494
  authorizationList: viem.SignedAuthorizationList;
2267
2495
  blobVersionedHashes?: undefined;
2268
- chainId: number;
2269
2496
  gasPrice?: undefined;
2270
2497
  maxFeePerBlobGas?: undefined;
2271
- maxFeePerGas: bigint;
2272
- maxPriorityFeePerGas: bigint;
2273
2498
  blockHash: `0x${string}`;
2274
2499
  blockNumber: bigint;
2275
2500
  transactionIndex: number;
@@ -2297,130 +2522,130 @@ declare function useSmartAccountTransactions(): {
2297
2522
  transaction: {
2298
2523
  input: viem.Hex;
2299
2524
  s: viem.Hex;
2300
- hash: Hash$1;
2525
+ chainId?: number;
2526
+ nonce: number;
2301
2527
  type: "legacy";
2302
- yParity?: undefined;
2303
- blockTimestamp?: bigint;
2304
2528
  from: viem.Address;
2305
- gas: bigint;
2306
- nonce: number;
2307
2529
  r: viem.Hex;
2308
2530
  to: viem.Address | null;
2531
+ maxFeePerGas?: undefined;
2532
+ maxPriorityFeePerGas?: undefined;
2533
+ value: bigint;
2534
+ yParity?: undefined;
2535
+ blockTimestamp?: bigint;
2536
+ gas: bigint;
2537
+ hash: Hash$1;
2309
2538
  typeHex: viem.Hex | null;
2310
2539
  v: bigint;
2311
- value: bigint;
2312
2540
  accessList?: undefined;
2313
2541
  authorizationList?: undefined;
2314
2542
  blobVersionedHashes?: undefined;
2315
- chainId?: number;
2316
2543
  gasPrice: bigint;
2317
2544
  maxFeePerBlobGas?: undefined;
2318
- maxFeePerGas?: undefined;
2319
- maxPriorityFeePerGas?: undefined;
2320
2545
  blockHash: `0x${string}`;
2321
2546
  blockNumber: bigint;
2322
2547
  transactionIndex: number;
2323
2548
  } | {
2324
2549
  input: viem.Hex;
2325
2550
  s: viem.Hex;
2326
- hash: Hash$1;
2551
+ chainId: number;
2552
+ nonce: number;
2327
2553
  type: "eip2930";
2328
- yParity: number;
2329
- blockTimestamp?: bigint;
2330
2554
  from: viem.Address;
2331
- gas: bigint;
2332
- nonce: number;
2333
2555
  r: viem.Hex;
2334
2556
  to: viem.Address | null;
2557
+ maxFeePerGas?: undefined;
2558
+ maxPriorityFeePerGas?: undefined;
2559
+ value: bigint;
2560
+ yParity: number;
2561
+ blockTimestamp?: bigint;
2562
+ gas: bigint;
2563
+ hash: Hash$1;
2335
2564
  typeHex: viem.Hex | null;
2336
2565
  v: bigint;
2337
- value: bigint;
2338
2566
  accessList: viem.AccessList;
2339
2567
  authorizationList?: undefined;
2340
2568
  blobVersionedHashes?: undefined;
2341
- chainId: number;
2342
2569
  gasPrice: bigint;
2343
2570
  maxFeePerBlobGas?: undefined;
2344
- maxFeePerGas?: undefined;
2345
- maxPriorityFeePerGas?: undefined;
2346
2571
  blockHash: `0x${string}`;
2347
2572
  blockNumber: bigint;
2348
2573
  transactionIndex: number;
2349
2574
  } | {
2350
2575
  input: viem.Hex;
2351
2576
  s: viem.Hex;
2352
- hash: Hash$1;
2577
+ chainId: number;
2578
+ nonce: number;
2353
2579
  type: "eip1559";
2354
- yParity: number;
2355
- blockTimestamp?: bigint;
2356
2580
  from: viem.Address;
2357
- gas: bigint;
2358
- nonce: number;
2359
2581
  r: viem.Hex;
2360
2582
  to: viem.Address | null;
2583
+ maxFeePerGas: bigint;
2584
+ maxPriorityFeePerGas: bigint;
2585
+ value: bigint;
2586
+ yParity: number;
2587
+ blockTimestamp?: bigint;
2588
+ gas: bigint;
2589
+ hash: Hash$1;
2361
2590
  typeHex: viem.Hex | null;
2362
2591
  v: bigint;
2363
- value: bigint;
2364
2592
  accessList: viem.AccessList;
2365
2593
  authorizationList?: undefined;
2366
2594
  blobVersionedHashes?: undefined;
2367
- chainId: number;
2368
2595
  gasPrice?: undefined;
2369
2596
  maxFeePerBlobGas?: undefined;
2370
- maxFeePerGas: bigint;
2371
- maxPriorityFeePerGas: bigint;
2372
2597
  blockHash: `0x${string}`;
2373
2598
  blockNumber: bigint;
2374
2599
  transactionIndex: number;
2375
2600
  } | {
2376
2601
  input: viem.Hex;
2377
2602
  s: viem.Hex;
2378
- hash: Hash$1;
2603
+ chainId: number;
2604
+ nonce: number;
2379
2605
  type: "eip4844";
2380
- yParity: number;
2381
- blockTimestamp?: bigint;
2382
2606
  from: viem.Address;
2383
- gas: bigint;
2384
- nonce: number;
2385
2607
  r: viem.Hex;
2386
2608
  to: viem.Address | null;
2609
+ maxFeePerGas: bigint;
2610
+ maxPriorityFeePerGas: bigint;
2611
+ value: bigint;
2612
+ yParity: number;
2613
+ blockTimestamp?: bigint;
2614
+ gas: bigint;
2615
+ hash: Hash$1;
2387
2616
  typeHex: viem.Hex | null;
2388
2617
  v: bigint;
2389
- value: bigint;
2390
2618
  accessList: viem.AccessList;
2391
2619
  authorizationList?: undefined;
2392
2620
  blobVersionedHashes: readonly viem.Hex[];
2393
- chainId: number;
2394
2621
  gasPrice?: undefined;
2395
2622
  maxFeePerBlobGas: bigint;
2396
- maxFeePerGas: bigint;
2397
- maxPriorityFeePerGas: bigint;
2398
2623
  blockHash: `0x${string}`;
2399
2624
  blockNumber: bigint;
2400
2625
  transactionIndex: number;
2401
2626
  } | {
2402
2627
  input: viem.Hex;
2403
2628
  s: viem.Hex;
2404
- hash: Hash$1;
2629
+ chainId: number;
2630
+ nonce: number;
2405
2631
  type: "eip7702";
2406
- yParity: number;
2407
- blockTimestamp?: bigint;
2408
2632
  from: viem.Address;
2409
- gas: bigint;
2410
- nonce: number;
2411
2633
  r: viem.Hex;
2412
2634
  to: viem.Address | null;
2635
+ maxFeePerGas: bigint;
2636
+ maxPriorityFeePerGas: bigint;
2637
+ value: bigint;
2638
+ yParity: number;
2639
+ blockTimestamp?: bigint;
2640
+ gas: bigint;
2641
+ hash: Hash$1;
2413
2642
  typeHex: viem.Hex | null;
2414
2643
  v: bigint;
2415
- value: bigint;
2416
2644
  accessList: viem.AccessList;
2417
2645
  authorizationList: viem.SignedAuthorizationList;
2418
2646
  blobVersionedHashes?: undefined;
2419
- chainId: number;
2420
2647
  gasPrice?: undefined;
2421
2648
  maxFeePerBlobGas?: undefined;
2422
- maxFeePerGas: bigint;
2423
- maxPriorityFeePerGas: bigint;
2424
2649
  blockHash: `0x${string}`;
2425
2650
  blockNumber: bigint;
2426
2651
  transactionIndex: number;
@@ -2609,6 +2834,7 @@ declare const PASSPORT_TRANSLATIONS: {
2609
2834
  disconnect: string;
2610
2835
  language: string;
2611
2836
  account: string;
2837
+ profile: string;
2612
2838
  asset: string;
2613
2839
  amount: string;
2614
2840
  balance: string;
@@ -2640,6 +2866,7 @@ declare const PASSPORT_TRANSLATIONS: {
2640
2866
  selectAll: string;
2641
2867
  selectNone: string;
2642
2868
  comingSoon: string;
2869
+ current: string;
2643
2870
  errors: {
2644
2871
  oops: string;
2645
2872
  };
@@ -2698,6 +2925,10 @@ declare const PASSPORT_TRANSLATIONS: {
2698
2925
  dontHave: string;
2699
2926
  create: string;
2700
2927
  };
2928
+ errors: {
2929
+ authCancelled: string;
2930
+ recoveryFailed: string;
2931
+ };
2701
2932
  terms: {
2702
2933
  text: string;
2703
2934
  action: string;
@@ -2739,6 +2970,8 @@ declare const PASSPORT_TRANSLATIONS: {
2739
2970
  };
2740
2971
  activityLogMenu: {
2741
2972
  title: string;
2973
+ noActivity: string;
2974
+ loadFailed: string;
2742
2975
  };
2743
2976
  userActivityMenu: {
2744
2977
  title: string;
@@ -2895,6 +3128,7 @@ declare const PASSPORT_TRANSLATIONS: {
2895
3128
  selectPaymentMode: string;
2896
3129
  enterAmount: string;
2897
3130
  purchaseSummary: string;
3131
+ noAvailableProviders: string;
2898
3132
  actions: {
2899
3133
  limitsCheck: string;
2900
3134
  estimateFees: string;
@@ -2965,6 +3199,7 @@ declare const PASSPORT_TRANSLATIONS: {
2965
3199
  };
2966
3200
  kycMenu: {
2967
3201
  title: string;
3202
+ kycNotCompleted: string;
2968
3203
  preparing: string;
2969
3204
  authenticating: string;
2970
3205
  loadingForm: string;
@@ -3040,7 +3275,38 @@ declare const PASSPORT_TRANSLATIONS: {
3040
3275
  };
3041
3276
  };
3042
3277
  securityMenu: {
3278
+ securityLevel: {
3279
+ basic: {
3280
+ label: string;
3281
+ description: string;
3282
+ action: string;
3283
+ };
3284
+ advanced: {
3285
+ label: string;
3286
+ description: string;
3287
+ };
3288
+ none: {
3289
+ label: string;
3290
+ description: string;
3291
+ action: string;
3292
+ };
3293
+ unknown: {
3294
+ label: string;
3295
+ description: string;
3296
+ };
3297
+ };
3043
3298
  title: string;
3299
+ keyshareReshare: {
3300
+ title: string;
3301
+ notification: string;
3302
+ description: {
3303
+ default: string;
3304
+ required: string;
3305
+ requirements: string;
3306
+ };
3307
+ runKeyshareReshare: string;
3308
+ lastReshare: string;
3309
+ };
3044
3310
  connectedApps: {
3045
3311
  connectedApp: string;
3046
3312
  trustedApp: string;
@@ -3053,33 +3319,54 @@ declare const PASSPORT_TRANSLATIONS: {
3053
3319
  removalNoteMsg1: string;
3054
3320
  removalNoteMsg2: string;
3055
3321
  };
3056
- assetsPolicies: {
3057
- assetsPolicies: string;
3058
- noLimits: string;
3059
- disabled: string;
3322
+ walletPolicies: {
3323
+ title: string;
3324
+ noPolicies: string;
3325
+ createPolicy: string;
3060
3326
  editPolicy: string;
3061
- deletePolicy: string;
3062
- deletePolicyConfirm: string;
3063
- overriddenBy: string;
3064
- pendingUpdateMessage: string;
3065
- pendingDeleteMessage: string;
3066
- cancelPending: string;
3327
+ unnamed: string;
3328
+ pendingUpdate: string;
3329
+ pendingDelete: string;
3330
+ allowedCount: string;
3331
+ deniedCount: string;
3332
+ violation: {
3333
+ destinationsAllow: string;
3334
+ destinationsDeny: string;
3335
+ limitsPerTx: string;
3336
+ limitsPerDay: string;
3337
+ limitsPerMonth: string;
3338
+ limitsTxPerDay: string;
3339
+ blocked: string;
3340
+ byProject: string;
3341
+ };
3067
3342
  form: {
3068
- destinations: {
3069
- title: string;
3070
- allow: string;
3071
- deny: string;
3072
- };
3073
- limits: {
3074
- title: string;
3075
- perTx: string;
3076
- perDay: string;
3077
- perMonth: string;
3078
- txPerDay: string;
3343
+ network: string;
3344
+ allNetworks: string;
3345
+ enabled: string;
3346
+ disabled: string;
3347
+ amountsPerNetwork: string;
3348
+ meta: string;
3349
+ limits: string;
3350
+ perTx: string;
3351
+ perDay: string;
3352
+ perMonth: string;
3353
+ txPerDay: string;
3354
+ allowedContracts: string;
3355
+ deniedContracts: string;
3356
+ restrictedByProject: string;
3357
+ readOnlyHint: string;
3358
+ placeholders: {
3359
+ name: string;
3360
+ description: string;
3079
3361
  };
3080
3362
  actions: {
3081
3363
  submit: string;
3364
+ creating: string;
3082
3365
  saving: string;
3366
+ delete: string;
3367
+ deleting: string;
3368
+ cancelPending: string;
3369
+ cancelling: string;
3083
3370
  };
3084
3371
  };
3085
3372
  };
@@ -3099,56 +3386,90 @@ declare const PASSPORT_TRANSLATIONS: {
3099
3386
  title: string;
3100
3387
  description: string;
3101
3388
  };
3102
- keyshare: {
3389
+ keyshareReshare: {
3103
3390
  title: string;
3104
3391
  description: string;
3105
- detailsButton: string;
3106
- details: {
3107
- concept: {
3108
- title: string;
3109
- description: string;
3110
- };
3111
- server: {
3112
- title: string;
3113
- description: string;
3114
- };
3115
- local: {
3116
- title: string;
3117
- description: string;
3118
- };
3119
- vault: {
3120
- title: string;
3121
- description: string;
3122
- };
3123
- };
3124
3392
  };
3125
- keyshareExistingVaultBkp: {
3393
+ connectedApps: {
3126
3394
  title: string;
3127
3395
  description: string;
3128
3396
  };
3129
- connectedApps: {
3397
+ walletPolicies: {
3398
+ title: string;
3399
+ description: string;
3400
+ };
3401
+ keyshareStatus: {
3402
+ title: string;
3403
+ description: string;
3404
+ };
3405
+ keyshareBackupLevel: {
3130
3406
  title: string;
3131
3407
  description: string;
3132
3408
  };
3133
3409
  };
3134
3410
  };
3135
3411
  backupMenu: {
3412
+ upgradeWarning: {
3413
+ title: string;
3414
+ description: string;
3415
+ };
3136
3416
  title: string;
3417
+ backupStatus: string;
3418
+ exploreBackupMethods: string;
3419
+ encryptionMethod: string;
3420
+ encryptionMethodExplanation: string;
3137
3421
  passwordMsg: string;
3138
3422
  passkeyMsg: string;
3139
3423
  passkeyCompleteMsg: string;
3140
3424
  passkeyAccessMsg: string;
3141
3425
  passkeyMemo0: string;
3142
- passkeyMemo1: string;
3143
3426
  passkeyMemo2: string;
3144
3427
  passkeyLearnMore: string;
3145
3428
  vaultRecoveryStatus: string;
3146
3429
  vaultCreate: string;
3430
+ vaultUpdate: string;
3147
3431
  vaultRestore: string;
3432
+ vaultUnknown: {
3433
+ title: string;
3434
+ description: string;
3435
+ };
3436
+ vaultNoBackup: {
3437
+ title: string;
3438
+ description: string;
3439
+ };
3440
+ vaultBackupFailed: {
3441
+ title: string;
3442
+ description: string;
3443
+ };
3444
+ vaultBasicBackup: {
3445
+ title: string;
3446
+ description: string;
3447
+ };
3448
+ levelProgress: {
3449
+ basic: string;
3450
+ advanced: string;
3451
+ secured: string;
3452
+ };
3453
+ levelProgressTitles: {
3454
+ basic: string;
3455
+ advanced: string;
3456
+ secured: string;
3457
+ };
3458
+ vault: string;
3459
+ securedVault: string;
3460
+ vaultExplanation: string;
3461
+ vaultMaxProtection: string;
3462
+ recoveryProviders: {
3463
+ title: string;
3464
+ explanation: string;
3465
+ description: string;
3466
+ };
3148
3467
  file: string;
3468
+ fileExplanation: string;
3149
3469
  fileCreate: string;
3150
3470
  fileRestore: string;
3151
3471
  cloud: string;
3472
+ cloudExplanation: string;
3152
3473
  onboarding: {
3153
3474
  backupMenu: {
3154
3475
  title: string;
@@ -3184,6 +3505,7 @@ declare const PASSPORT_TRANSLATIONS: {
3184
3505
  noBackupsMsg2: string;
3185
3506
  uploadBackupFile: string;
3186
3507
  restoreWithBackupFile: string;
3508
+ availableRestoreMethods: string;
3187
3509
  tryAnotherAccount: string;
3188
3510
  };
3189
3511
  chainMenu: {
@@ -3203,6 +3525,7 @@ declare const PASSPORT_TRANSLATIONS: {
3203
3525
  };
3204
3526
  guardiansMenu: {
3205
3527
  title: string;
3528
+ guardiansExplanation: string;
3206
3529
  };
3207
3530
  };
3208
3531
  };
@@ -3228,6 +3551,7 @@ declare const PASSPORT_TRANSLATIONS: {
3228
3551
  disconnect: string;
3229
3552
  language: string;
3230
3553
  account: string;
3554
+ profile: string;
3231
3555
  asset: string;
3232
3556
  amount: string;
3233
3557
  balance: string;
@@ -3259,6 +3583,7 @@ declare const PASSPORT_TRANSLATIONS: {
3259
3583
  selectAll: string;
3260
3584
  selectNone: string;
3261
3585
  comingSoon: string;
3586
+ current: string;
3262
3587
  errors: {
3263
3588
  oops: string;
3264
3589
  };
@@ -3317,6 +3642,10 @@ declare const PASSPORT_TRANSLATIONS: {
3317
3642
  dontHave: string;
3318
3643
  create: string;
3319
3644
  };
3645
+ errors: {
3646
+ authCancelled: string;
3647
+ recoveryFailed: string;
3648
+ };
3320
3649
  terms: {
3321
3650
  text: string;
3322
3651
  action: string;
@@ -3358,6 +3687,8 @@ declare const PASSPORT_TRANSLATIONS: {
3358
3687
  };
3359
3688
  activityLogMenu: {
3360
3689
  title: string;
3690
+ noActivity: string;
3691
+ loadFailed: string;
3361
3692
  };
3362
3693
  userActivityMenu: {
3363
3694
  title: string;
@@ -3514,6 +3845,7 @@ declare const PASSPORT_TRANSLATIONS: {
3514
3845
  selectPaymentMode: string;
3515
3846
  enterAmount: string;
3516
3847
  purchaseSummary: string;
3848
+ noAvailableProviders: string;
3517
3849
  actions: {
3518
3850
  limitsCheck: string;
3519
3851
  estimateFees: string;
@@ -3584,6 +3916,7 @@ declare const PASSPORT_TRANSLATIONS: {
3584
3916
  };
3585
3917
  kycMenu: {
3586
3918
  title: string;
3919
+ kycNotCompleted: string;
3587
3920
  preparing: string;
3588
3921
  authenticating: string;
3589
3922
  loadingForm: string;
@@ -3659,7 +3992,38 @@ declare const PASSPORT_TRANSLATIONS: {
3659
3992
  };
3660
3993
  };
3661
3994
  securityMenu: {
3995
+ securityLevel: {
3996
+ basic: {
3997
+ label: string;
3998
+ description: string;
3999
+ action: string;
4000
+ };
4001
+ advanced: {
4002
+ label: string;
4003
+ description: string;
4004
+ };
4005
+ none: {
4006
+ label: string;
4007
+ description: string;
4008
+ action: string;
4009
+ };
4010
+ unknown: {
4011
+ label: string;
4012
+ description: string;
4013
+ };
4014
+ };
3662
4015
  title: string;
4016
+ keyshareReshare: {
4017
+ title: string;
4018
+ notification: string;
4019
+ description: {
4020
+ default: string;
4021
+ required: string;
4022
+ requirements: string;
4023
+ };
4024
+ runKeyshareReshare: string;
4025
+ lastReshare: string;
4026
+ };
3663
4027
  connectedApps: {
3664
4028
  connectedApp: string;
3665
4029
  trustedApp: string;
@@ -3672,33 +4036,54 @@ declare const PASSPORT_TRANSLATIONS: {
3672
4036
  removalNoteMsg1: string;
3673
4037
  removalNoteMsg2: string;
3674
4038
  };
3675
- assetsPolicies: {
3676
- assetsPolicies: string;
3677
- noLimits: string;
3678
- disabled: string;
4039
+ walletPolicies: {
4040
+ title: string;
4041
+ noPolicies: string;
4042
+ createPolicy: string;
3679
4043
  editPolicy: string;
3680
- deletePolicy: string;
3681
- deletePolicyConfirm: string;
3682
- overriddenBy: string;
3683
- pendingUpdateMessage: string;
3684
- pendingDeleteMessage: string;
3685
- cancelPending: string;
4044
+ unnamed: string;
4045
+ pendingUpdate: string;
4046
+ pendingDelete: string;
4047
+ allowedCount: string;
4048
+ deniedCount: string;
4049
+ violation: {
4050
+ destinationsAllow: string;
4051
+ destinationsDeny: string;
4052
+ limitsPerTx: string;
4053
+ limitsPerDay: string;
4054
+ limitsPerMonth: string;
4055
+ limitsTxPerDay: string;
4056
+ blocked: string;
4057
+ byProject: string;
4058
+ };
3686
4059
  form: {
3687
- destinations: {
3688
- title: string;
3689
- allow: string;
3690
- deny: string;
3691
- };
3692
- limits: {
3693
- title: string;
3694
- perTx: string;
3695
- perDay: string;
3696
- perMonth: string;
3697
- txPerDay: string;
4060
+ network: string;
4061
+ allNetworks: string;
4062
+ enabled: string;
4063
+ disabled: string;
4064
+ amountsPerNetwork: string;
4065
+ meta: string;
4066
+ limits: string;
4067
+ perTx: string;
4068
+ perDay: string;
4069
+ perMonth: string;
4070
+ txPerDay: string;
4071
+ allowedContracts: string;
4072
+ deniedContracts: string;
4073
+ restrictedByProject: string;
4074
+ readOnlyHint: string;
4075
+ placeholders: {
4076
+ name: string;
4077
+ description: string;
3698
4078
  };
3699
4079
  actions: {
3700
4080
  submit: string;
4081
+ creating: string;
3701
4082
  saving: string;
4083
+ delete: string;
4084
+ deleting: string;
4085
+ cancelPending: string;
4086
+ cancelling: string;
3702
4087
  };
3703
4088
  };
3704
4089
  };
@@ -3718,56 +4103,90 @@ declare const PASSPORT_TRANSLATIONS: {
3718
4103
  title: string;
3719
4104
  description: string;
3720
4105
  };
3721
- keyshare: {
4106
+ keyshareReshare: {
3722
4107
  title: string;
3723
4108
  description: string;
3724
- detailsButton: string;
3725
- details: {
3726
- concept: {
3727
- title: string;
3728
- description: string;
3729
- };
3730
- server: {
3731
- title: string;
3732
- description: string;
3733
- };
3734
- local: {
3735
- title: string;
3736
- description: string;
3737
- };
3738
- vault: {
3739
- title: string;
3740
- description: string;
3741
- };
3742
- };
3743
4109
  };
3744
- keyshareExistingVaultBkp: {
4110
+ connectedApps: {
3745
4111
  title: string;
3746
4112
  description: string;
3747
4113
  };
3748
- connectedApps: {
4114
+ walletPolicies: {
4115
+ title: string;
4116
+ description: string;
4117
+ };
4118
+ keyshareStatus: {
4119
+ title: string;
4120
+ description: string;
4121
+ };
4122
+ keyshareBackupLevel: {
3749
4123
  title: string;
3750
4124
  description: string;
3751
4125
  };
3752
4126
  };
3753
4127
  };
3754
4128
  backupMenu: {
4129
+ upgradeWarning: {
4130
+ title: string;
4131
+ description: string;
4132
+ };
3755
4133
  title: string;
4134
+ backupStatus: string;
4135
+ exploreBackupMethods: string;
4136
+ encryptionMethod: string;
4137
+ encryptionMethodExplanation: string;
3756
4138
  passwordMsg: string;
3757
4139
  passkeyMsg: string;
3758
4140
  passkeyCompleteMsg: string;
3759
4141
  passkeyAccessMsg: string;
3760
4142
  passkeyMemo0: string;
3761
- passkeyMemo1: string;
3762
4143
  passkeyMemo2: string;
3763
4144
  passkeyLearnMore: string;
3764
4145
  vaultRecoveryStatus: string;
3765
4146
  vaultCreate: string;
4147
+ vaultUpdate: string;
3766
4148
  vaultRestore: string;
4149
+ vaultUnknown: {
4150
+ title: string;
4151
+ description: string;
4152
+ };
4153
+ vaultNoBackup: {
4154
+ title: string;
4155
+ description: string;
4156
+ };
4157
+ vaultBackupFailed: {
4158
+ title: string;
4159
+ description: string;
4160
+ };
4161
+ vaultBasicBackup: {
4162
+ title: string;
4163
+ description: string;
4164
+ };
4165
+ levelProgress: {
4166
+ basic: string;
4167
+ advanced: string;
4168
+ secured: string;
4169
+ };
4170
+ levelProgressTitles: {
4171
+ basic: string;
4172
+ advanced: string;
4173
+ secured: string;
4174
+ };
4175
+ vault: string;
4176
+ securedVault: string;
4177
+ vaultExplanation: string;
4178
+ vaultMaxProtection: string;
4179
+ recoveryProviders: {
4180
+ title: string;
4181
+ explanation: string;
4182
+ description: string;
4183
+ };
3767
4184
  file: string;
4185
+ fileExplanation: string;
3768
4186
  fileCreate: string;
3769
4187
  fileRestore: string;
3770
4188
  cloud: string;
4189
+ cloudExplanation: string;
3771
4190
  onboarding: {
3772
4191
  backupMenu: {
3773
4192
  title: string;
@@ -3803,6 +4222,7 @@ declare const PASSPORT_TRANSLATIONS: {
3803
4222
  noBackupsMsg2: string;
3804
4223
  uploadBackupFile: string;
3805
4224
  restoreWithBackupFile: string;
4225
+ availableRestoreMethods: string;
3806
4226
  tryAnotherAccount: string;
3807
4227
  };
3808
4228
  chainMenu: {
@@ -3822,6 +4242,7 @@ declare const PASSPORT_TRANSLATIONS: {
3822
4242
  };
3823
4243
  guardiansMenu: {
3824
4244
  title: string;
4245
+ guardiansExplanation: string;
3825
4246
  };
3826
4247
  };
3827
4248
  };
@@ -3847,6 +4268,7 @@ declare const PASSPORT_TRANSLATIONS: {
3847
4268
  disconnect: string;
3848
4269
  language: string;
3849
4270
  account: string;
4271
+ profile: string;
3850
4272
  asset: string;
3851
4273
  amount: string;
3852
4274
  balance: string;
@@ -3878,6 +4300,7 @@ declare const PASSPORT_TRANSLATIONS: {
3878
4300
  selectAll: string;
3879
4301
  selectNone: string;
3880
4302
  comingSoon: string;
4303
+ current: string;
3881
4304
  errors: {
3882
4305
  oops: string;
3883
4306
  };
@@ -3936,6 +4359,10 @@ declare const PASSPORT_TRANSLATIONS: {
3936
4359
  dontHave: string;
3937
4360
  create: string;
3938
4361
  };
4362
+ errors: {
4363
+ authCancelled: string;
4364
+ recoveryFailed: string;
4365
+ };
3939
4366
  terms: {
3940
4367
  text: string;
3941
4368
  action: string;
@@ -3977,6 +4404,8 @@ declare const PASSPORT_TRANSLATIONS: {
3977
4404
  };
3978
4405
  activityLogMenu: {
3979
4406
  title: string;
4407
+ noActivity: string;
4408
+ loadFailed: string;
3980
4409
  };
3981
4410
  userActivityMenu: {
3982
4411
  title: string;
@@ -4133,6 +4562,7 @@ declare const PASSPORT_TRANSLATIONS: {
4133
4562
  selectPaymentMode: string;
4134
4563
  enterAmount: string;
4135
4564
  purchaseSummary: string;
4565
+ noAvailableProviders: string;
4136
4566
  actions: {
4137
4567
  limitsCheck: string;
4138
4568
  estimateFees: string;
@@ -4203,6 +4633,7 @@ declare const PASSPORT_TRANSLATIONS: {
4203
4633
  };
4204
4634
  kycMenu: {
4205
4635
  title: string;
4636
+ kycNotCompleted: string;
4206
4637
  preparing: string;
4207
4638
  authenticating: string;
4208
4639
  loadingForm: string;
@@ -4278,7 +4709,38 @@ declare const PASSPORT_TRANSLATIONS: {
4278
4709
  };
4279
4710
  };
4280
4711
  securityMenu: {
4712
+ securityLevel: {
4713
+ basic: {
4714
+ label: string;
4715
+ description: string;
4716
+ action: string;
4717
+ };
4718
+ advanced: {
4719
+ label: string;
4720
+ description: string;
4721
+ };
4722
+ none: {
4723
+ label: string;
4724
+ description: string;
4725
+ action: string;
4726
+ };
4727
+ unknown: {
4728
+ label: string;
4729
+ description: string;
4730
+ };
4731
+ };
4281
4732
  title: string;
4733
+ keyshareReshare: {
4734
+ title: string;
4735
+ notification: string;
4736
+ description: {
4737
+ default: string;
4738
+ required: string;
4739
+ requirements: string;
4740
+ };
4741
+ runKeyshareReshare: string;
4742
+ lastReshare: string;
4743
+ };
4282
4744
  connectedApps: {
4283
4745
  connectedApp: string;
4284
4746
  trustedApp: string;
@@ -4291,33 +4753,54 @@ declare const PASSPORT_TRANSLATIONS: {
4291
4753
  removalNoteMsg1: string;
4292
4754
  removalNoteMsg2: string;
4293
4755
  };
4294
- assetsPolicies: {
4295
- assetsPolicies: string;
4296
- noLimits: string;
4297
- disabled: string;
4756
+ walletPolicies: {
4757
+ title: string;
4758
+ noPolicies: string;
4759
+ createPolicy: string;
4298
4760
  editPolicy: string;
4299
- deletePolicy: string;
4300
- deletePolicyConfirm: string;
4301
- overriddenBy: string;
4302
- pendingUpdateMessage: string;
4303
- pendingDeleteMessage: string;
4304
- cancelPending: string;
4761
+ unnamed: string;
4762
+ pendingUpdate: string;
4763
+ pendingDelete: string;
4764
+ allowedCount: string;
4765
+ deniedCount: string;
4766
+ violation: {
4767
+ destinationsAllow: string;
4768
+ destinationsDeny: string;
4769
+ limitsPerTx: string;
4770
+ limitsPerDay: string;
4771
+ limitsPerMonth: string;
4772
+ limitsTxPerDay: string;
4773
+ blocked: string;
4774
+ byProject: string;
4775
+ };
4305
4776
  form: {
4306
- destinations: {
4307
- title: string;
4308
- allow: string;
4309
- deny: string;
4310
- };
4311
- limits: {
4312
- title: string;
4313
- perTx: string;
4314
- perDay: string;
4315
- perMonth: string;
4316
- txPerDay: string;
4777
+ network: string;
4778
+ allNetworks: string;
4779
+ enabled: string;
4780
+ disabled: string;
4781
+ amountsPerNetwork: string;
4782
+ meta: string;
4783
+ limits: string;
4784
+ perTx: string;
4785
+ perDay: string;
4786
+ perMonth: string;
4787
+ txPerDay: string;
4788
+ allowedContracts: string;
4789
+ deniedContracts: string;
4790
+ restrictedByProject: string;
4791
+ readOnlyHint: string;
4792
+ placeholders: {
4793
+ name: string;
4794
+ description: string;
4317
4795
  };
4318
4796
  actions: {
4319
4797
  submit: string;
4798
+ creating: string;
4320
4799
  saving: string;
4800
+ delete: string;
4801
+ deleting: string;
4802
+ cancelPending: string;
4803
+ cancelling: string;
4321
4804
  };
4322
4805
  };
4323
4806
  };
@@ -4337,56 +4820,90 @@ declare const PASSPORT_TRANSLATIONS: {
4337
4820
  title: string;
4338
4821
  description: string;
4339
4822
  };
4340
- keyshare: {
4823
+ keyshareReshare: {
4341
4824
  title: string;
4342
4825
  description: string;
4343
- detailsButton: string;
4344
- details: {
4345
- concept: {
4346
- title: string;
4347
- description: string;
4348
- };
4349
- server: {
4350
- title: string;
4351
- description: string;
4352
- };
4353
- local: {
4354
- title: string;
4355
- description: string;
4356
- };
4357
- vault: {
4358
- title: string;
4359
- description: string;
4360
- };
4361
- };
4362
4826
  };
4363
- keyshareExistingVaultBkp: {
4827
+ connectedApps: {
4364
4828
  title: string;
4365
4829
  description: string;
4366
4830
  };
4367
- connectedApps: {
4831
+ walletPolicies: {
4832
+ title: string;
4833
+ description: string;
4834
+ };
4835
+ keyshareStatus: {
4836
+ title: string;
4837
+ description: string;
4838
+ };
4839
+ keyshareBackupLevel: {
4368
4840
  title: string;
4369
4841
  description: string;
4370
4842
  };
4371
4843
  };
4372
4844
  };
4373
4845
  backupMenu: {
4846
+ upgradeWarning: {
4847
+ title: string;
4848
+ description: string;
4849
+ };
4374
4850
  title: string;
4851
+ backupStatus: string;
4852
+ exploreBackupMethods: string;
4853
+ encryptionMethod: string;
4854
+ encryptionMethodExplanation: string;
4375
4855
  passwordMsg: string;
4376
4856
  passkeyMsg: string;
4377
4857
  passkeyCompleteMsg: string;
4378
4858
  passkeyAccessMsg: string;
4379
4859
  passkeyMemo0: string;
4380
- passkeyMemo1: string;
4381
4860
  passkeyMemo2: string;
4382
4861
  passkeyLearnMore: string;
4383
4862
  vaultRecoveryStatus: string;
4384
4863
  vaultCreate: string;
4864
+ vaultUpdate: string;
4385
4865
  vaultRestore: string;
4866
+ vaultUnknown: {
4867
+ title: string;
4868
+ description: string;
4869
+ };
4870
+ vaultNoBackup: {
4871
+ title: string;
4872
+ description: string;
4873
+ };
4874
+ vaultBackupFailed: {
4875
+ title: string;
4876
+ description: string;
4877
+ };
4878
+ vaultBasicBackup: {
4879
+ title: string;
4880
+ description: string;
4881
+ };
4882
+ levelProgress: {
4883
+ basic: string;
4884
+ advanced: string;
4885
+ secured: string;
4886
+ };
4887
+ levelProgressTitles: {
4888
+ basic: string;
4889
+ advanced: string;
4890
+ secured: string;
4891
+ };
4892
+ vault: string;
4893
+ securedVault: string;
4894
+ vaultExplanation: string;
4895
+ vaultMaxProtection: string;
4896
+ recoveryProviders: {
4897
+ title: string;
4898
+ explanation: string;
4899
+ description: string;
4900
+ };
4386
4901
  file: string;
4902
+ fileExplanation: string;
4387
4903
  fileCreate: string;
4388
4904
  fileRestore: string;
4389
4905
  cloud: string;
4906
+ cloudExplanation: string;
4390
4907
  onboarding: {
4391
4908
  backupMenu: {
4392
4909
  title: string;
@@ -4422,6 +4939,7 @@ declare const PASSPORT_TRANSLATIONS: {
4422
4939
  noBackupsMsg2: string;
4423
4940
  uploadBackupFile: string;
4424
4941
  restoreWithBackupFile: string;
4942
+ availableRestoreMethods: string;
4425
4943
  tryAnotherAccount: string;
4426
4944
  };
4427
4945
  chainMenu: {
@@ -4441,6 +4959,7 @@ declare const PASSPORT_TRANSLATIONS: {
4441
4959
  };
4442
4960
  guardiansMenu: {
4443
4961
  title: string;
4962
+ guardiansExplanation: string;
4444
4963
  };
4445
4964
  };
4446
4965
  };
@@ -4477,6 +4996,4 @@ declare function combineI18NResources(...resourses: TranslationResources[]): Tra
4477
4996
  declare function getAvailableLanguages(resourses: TranslationResources): string[];
4478
4997
  declare function getLanguageIcon(languageKey: string): string | null;
4479
4998
 
4480
- declare const USER_PROFILE_QUERY_KEY: string;
4481
-
4482
- export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type BatchOperation, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, DEFAULT_POLICY_RULES, type DirectTransactionParams, ErrorBoundary, type ErrorBoundaryProps, ErrorCodes, Expandable, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, NETWORKS_ICONS, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, ONBOARDING_TOURS, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, type PolicyRules, type PrepareBatchUserOperationParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SecurityMenuParams, type SendBatchUserOperationParams, type SendTransactionParams, type SendTransactionResult, SessionExpiredError, type SignTypedDataParams, type SmartAccountEntry, TOKENS_ICONS, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, USER_ASSETS_POLICIES_API, USER_PROFILE_QUERY_KEY, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserPolicy, type UserPolicyView, type UserProfile, UserRejectedError, WALLET_ICONS, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, checkWrapedTokenSymbol, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAssetRate, getAvailableLanguages, getExplorerUrl, getIframeManager, getInProgressOnrampTransactionsList, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, isSessionExpiredError, looksLikeNickname, onboarder, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssetUsdtRate, useAssets, useBalance, useBlockscoutAssets, useColorMode, useConnectedApps, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useKeyshareRecoveryStats, useLinkedProfiles, useLoadingStatus, useLogout, useNativeWalletSignature, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserAssetsPolicies, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, waitForStoreHydration, waitForUserOperationReceipt };
4999
+ export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type BatchOperation, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorBoundary, type ErrorBoundaryProps, ErrorCodes, Expandable, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, NETWORKS_ICONS, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, ONBOARDING_TOURS, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, type PolicyRules, PolicyViolationError, type PrepareBatchUserOperationParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SecurityMenuParams, type SendBatchUserOperationParams, type SendTransactionParams, type SendTransactionResult, SessionExpiredError, type SignTypedDataParams, type SmartAccountEntry, TOKENS_ICONS, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TssErrorBody, type TypedDataDomain, type TypedDataField, USER_POLICIES_API, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserPolicy, type UserPolicyInput, type UserPolicyList, type UserPolicyState, type UserProfile, UserRejectedError, WALLET_ICONS, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, checkWrapedTokenSymbol, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAssetRate, getAvailableLanguages, getExplorerUrl, getIframeManager, getInProgressOnrampTransactionsList, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, isSessionExpiredError, logout, looksLikeNickname, onboarder, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, tssErrorFromBody, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssetUsdtRate, useAssets, useBalance, useBlockscoutAssets, useColorMode, useConnectedApps, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useKeyshareRecoveryStats, useLinkedProfiles, useLoadingStatus, useLogout, useNativeWalletSignature, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useUserPolicies, useUserProfile, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, waitForStoreHydration, waitForUserOperationReceipt };