@embarkai/ui-kit 0.1.5 → 0.2.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.ts CHANGED
@@ -136,7 +136,6 @@ declare function useTokenBalance(tokenAddress: `0x${string}`, userAddress?: `0x$
136
136
  declare global {
137
137
  interface Window {
138
138
  __EMBARK_SERVICES__?: Partial<{
139
- bundlerUrl: string;
140
139
  tssUrl: string;
141
140
  shareVaultUrl: string;
142
141
  tssRequireWasm: boolean;
@@ -184,6 +183,7 @@ interface WatchToken {
184
183
  /** Logo URL (optional) */
185
184
  logo?: string;
186
185
  }
186
+ type WalletMode = 'linked' | 'direct' | 'both';
187
187
  interface ProviderConfig {
188
188
  projectId: string;
189
189
  passkey: {
@@ -206,6 +206,10 @@ interface ProviderConfig {
206
206
  supportedChains?: number[];
207
207
  requireSignature: boolean;
208
208
  walletConnectProjectId?: string;
209
+ /** Operating mode: 'linked' = AA (current), 'direct' = external wallet signs, 'both' = user choice */
210
+ mode?: WalletMode;
211
+ /** Filter RainbowKit wallet list. undefined = show all wallets */
212
+ allowedWallets?: string[];
209
213
  };
210
214
  preferedColorMode?: 'light' | 'dark';
211
215
  projectAssets?: {
@@ -254,7 +258,6 @@ interface ProviderConfig {
254
258
  forceChain?: boolean;
255
259
  };
256
260
  services: {
257
- bundlerUrl: string;
258
261
  tssUrl: string;
259
262
  shareVaultUrl: string;
260
263
  iframeUrl?: string;
@@ -897,6 +900,8 @@ interface SessionState {
897
900
  viemChain: Chain | null;
898
901
  /** Tracks if user explicitly selected a chain (vs using dApp config default) */
899
902
  walletReadyStatus: WalletReadyStatus | null;
903
+ /** Whether zustand persist has finished hydrating from localStorage */
904
+ hasHydrated: boolean;
900
905
  setUsePaymaster: (usePaymaster: boolean) => void;
901
906
  setIsIframeReady: (ready: boolean) => void;
902
907
  setSession: (s: AccountSession | null) => void;
@@ -932,6 +937,11 @@ declare const useSession: zustand.UseBoundStore<Omit<zustand.StoreApi<SessionSta
932
937
  }, unknown>>;
933
938
  };
934
939
  }>;
940
+ /**
941
+ * Wait for zustand persist hydration to complete.
942
+ * Use in async functions to ensure activeChainId and other persisted state is available.
943
+ */
944
+ declare function waitForStoreHydration(): Promise<void>;
935
945
  /**
936
946
  * Require active chain ID from session store (for non-React usage)
937
947
  * Throws an error if the chain ID is not yet set (e.g., before store hydration)
@@ -974,6 +984,7 @@ declare const useLoadingStatus: () => {
974
984
  declare const useRecoveryUserId: () => string;
975
985
  declare const useHasServerVault: () => boolean;
976
986
  declare const useActiveChainId: () => number;
987
+ declare const useHydrated: () => boolean;
977
988
 
978
989
  declare enum PageKey {
979
990
  AUTH = "auth",
@@ -1203,6 +1214,75 @@ interface UseErc3643ComplianceResult {
1203
1214
  */
1204
1215
  declare function useErc3643Compliance(options: UseErc3643ComplianceOptions): UseErc3643ComplianceResult;
1205
1216
 
1217
+ interface UseWalletModeReturn {
1218
+ /** Currently configured mode from provider config */
1219
+ configMode: WalletMode;
1220
+ /** Currently active mode (relevant when configMode='both') */
1221
+ activeMode: WalletMode;
1222
+ /** Switch active mode (only works when configMode='both') */
1223
+ switchMode: (mode: 'linked' | 'direct') => void;
1224
+ /** Whether the current active mode uses direct EOA signing */
1225
+ isDirect: boolean;
1226
+ }
1227
+ declare function useWalletMode(): UseWalletModeReturn;
1228
+
1229
+ interface UseDirectWalletReturn {
1230
+ /** Connected external wallet address */
1231
+ address: `0x${string}` | null;
1232
+ /** Chain ID the external wallet is on */
1233
+ chainId: number | null;
1234
+ /** Whether external wallet is connected */
1235
+ isConnected: boolean;
1236
+ /** Wallet connector name (e.g. 'MetaMask') */
1237
+ connectorName: string | null;
1238
+ /** Connect + link: opens RainbowKit modal, signs, calls linkWallet API */
1239
+ connect: () => void;
1240
+ /** Reconnect only: opens RainbowKit modal to restore wagmi session (no re-linking) */
1241
+ reconnect: () => void;
1242
+ /** Disconnect the external wallet */
1243
+ disconnect: () => void;
1244
+ }
1245
+ declare function useDirectWallet(): UseDirectWalletReturn;
1246
+
1247
+ interface DirectTransactionParams {
1248
+ to: `0x${string}`;
1249
+ /** Amount in human-readable native currency units (e.g. '1.5' for 1.5 ETH), not wei */
1250
+ value: string;
1251
+ data?: `0x${string}`;
1252
+ chainId?: number;
1253
+ }
1254
+ interface UseSendDirectTransactionReturn {
1255
+ sendTransaction: (params: DirectTransactionParams) => Promise<`0x${string}` | null>;
1256
+ isPending: boolean;
1257
+ error: string | null;
1258
+ txHash: `0x${string}` | null;
1259
+ reset: () => void;
1260
+ }
1261
+ declare function useSendDirectTransaction(): UseSendDirectTransactionReturn;
1262
+
1263
+ interface TransferToLinkedParams {
1264
+ /** Token contract address, or 'native' for native currency */
1265
+ token: `0x${string}` | 'native';
1266
+ /** Human-readable amount (e.g. '1.5', '1000') */
1267
+ amount: string;
1268
+ /** Chain ID — transfer only works within same chain */
1269
+ chainId: number;
1270
+ /** Token decimals (default: 18). Required for ERC20 tokens */
1271
+ decimals?: number;
1272
+ /** Target linked wallet address. If omitted, uses first linked wallet */
1273
+ toAddress?: `0x${string}`;
1274
+ }
1275
+ interface UseTransferToLinkedReturn {
1276
+ transfer: (params: TransferToLinkedParams) => Promise<string | null>;
1277
+ isPending: boolean;
1278
+ error: string | null;
1279
+ userOpHash: string | null;
1280
+ /** List of linked wallet addresses from profile */
1281
+ linkedWallets: `0x${string}`[];
1282
+ reset: () => void;
1283
+ }
1284
+ declare function useTransferToLinkedWallet(): UseTransferToLinkedReturn;
1285
+
1206
1286
  interface UseLogoutReturn {
1207
1287
  logout: () => Promise<void>;
1208
1288
  }
@@ -1718,126 +1798,126 @@ declare function useTransactions(): {
1718
1798
  input: viem.Hex;
1719
1799
  s: viem.Hex;
1720
1800
  value: bigint;
1801
+ hash: Hash$1;
1802
+ v: bigint;
1803
+ r: viem.Hex;
1721
1804
  type: "legacy";
1722
- yParity?: undefined;
1805
+ to: viem.Address | null;
1723
1806
  from: viem.Address;
1724
1807
  gas: bigint;
1725
- hash: Hash$1;
1726
1808
  nonce: number;
1727
- r: viem.Hex;
1728
- to: viem.Address | null;
1729
- typeHex: viem.Hex | null;
1730
- v: bigint;
1731
- accessList?: undefined;
1732
- authorizationList?: undefined;
1733
1809
  blobVersionedHashes?: undefined;
1734
- chainId?: number;
1735
1810
  gasPrice: bigint;
1736
1811
  maxFeePerBlobGas?: undefined;
1737
1812
  maxFeePerGas?: undefined;
1738
1813
  maxPriorityFeePerGas?: undefined;
1739
- blockHash: `0x${string}`;
1814
+ accessList?: undefined;
1815
+ authorizationList?: undefined;
1816
+ yParity?: undefined;
1817
+ typeHex: viem.Hex | null;
1818
+ chainId?: number;
1740
1819
  blockNumber: bigint;
1820
+ blockHash: `0x${string}`;
1741
1821
  transactionIndex: number;
1742
1822
  } | {
1743
1823
  input: viem.Hex;
1744
1824
  s: viem.Hex;
1745
1825
  value: bigint;
1826
+ hash: Hash$1;
1827
+ v: bigint;
1828
+ r: viem.Hex;
1746
1829
  type: "eip2930";
1747
- yParity: number;
1830
+ to: viem.Address | null;
1748
1831
  from: viem.Address;
1749
1832
  gas: bigint;
1750
- hash: Hash$1;
1751
1833
  nonce: number;
1752
- r: viem.Hex;
1753
- to: viem.Address | null;
1754
- typeHex: viem.Hex | null;
1755
- v: bigint;
1756
- accessList: viem.AccessList;
1757
- authorizationList?: undefined;
1758
1834
  blobVersionedHashes?: undefined;
1759
- chainId: number;
1760
1835
  gasPrice: bigint;
1761
1836
  maxFeePerBlobGas?: undefined;
1762
1837
  maxFeePerGas?: undefined;
1763
1838
  maxPriorityFeePerGas?: undefined;
1764
- blockHash: `0x${string}`;
1839
+ accessList: viem.AccessList;
1840
+ authorizationList?: undefined;
1841
+ yParity: number;
1842
+ typeHex: viem.Hex | null;
1843
+ chainId: number;
1765
1844
  blockNumber: bigint;
1845
+ blockHash: `0x${string}`;
1766
1846
  transactionIndex: number;
1767
1847
  } | {
1768
1848
  input: viem.Hex;
1769
1849
  s: viem.Hex;
1770
1850
  value: bigint;
1851
+ hash: Hash$1;
1852
+ v: bigint;
1853
+ r: viem.Hex;
1771
1854
  type: "eip1559";
1772
- yParity: number;
1855
+ to: viem.Address | null;
1773
1856
  from: viem.Address;
1774
1857
  gas: bigint;
1775
- hash: Hash$1;
1776
1858
  nonce: number;
1777
- r: viem.Hex;
1778
- to: viem.Address | null;
1779
- typeHex: viem.Hex | null;
1780
- v: bigint;
1781
- accessList: viem.AccessList;
1782
- authorizationList?: undefined;
1783
1859
  blobVersionedHashes?: undefined;
1784
- chainId: number;
1785
1860
  gasPrice?: undefined;
1786
1861
  maxFeePerBlobGas?: undefined;
1787
1862
  maxFeePerGas: bigint;
1788
1863
  maxPriorityFeePerGas: bigint;
1789
- blockHash: `0x${string}`;
1864
+ accessList: viem.AccessList;
1865
+ authorizationList?: undefined;
1866
+ yParity: number;
1867
+ typeHex: viem.Hex | null;
1868
+ chainId: number;
1790
1869
  blockNumber: bigint;
1870
+ blockHash: `0x${string}`;
1791
1871
  transactionIndex: number;
1792
1872
  } | {
1793
1873
  input: viem.Hex;
1794
1874
  s: viem.Hex;
1795
1875
  value: bigint;
1876
+ hash: Hash$1;
1877
+ v: bigint;
1878
+ r: viem.Hex;
1796
1879
  type: "eip4844";
1797
- yParity: number;
1880
+ to: viem.Address | null;
1798
1881
  from: viem.Address;
1799
1882
  gas: bigint;
1800
- hash: Hash$1;
1801
1883
  nonce: number;
1802
- r: viem.Hex;
1803
- to: viem.Address | null;
1804
- typeHex: viem.Hex | null;
1805
- v: bigint;
1806
- accessList: viem.AccessList;
1807
- authorizationList?: undefined;
1808
1884
  blobVersionedHashes: readonly viem.Hex[];
1809
- chainId: number;
1810
1885
  gasPrice?: undefined;
1811
1886
  maxFeePerBlobGas: bigint;
1812
1887
  maxFeePerGas: bigint;
1813
1888
  maxPriorityFeePerGas: bigint;
1814
- blockHash: `0x${string}`;
1889
+ accessList: viem.AccessList;
1890
+ authorizationList?: undefined;
1891
+ yParity: number;
1892
+ typeHex: viem.Hex | null;
1893
+ chainId: number;
1815
1894
  blockNumber: bigint;
1895
+ blockHash: `0x${string}`;
1816
1896
  transactionIndex: number;
1817
1897
  } | {
1818
1898
  input: viem.Hex;
1819
1899
  s: viem.Hex;
1820
1900
  value: bigint;
1901
+ hash: Hash$1;
1902
+ v: bigint;
1903
+ r: viem.Hex;
1821
1904
  type: "eip7702";
1822
- yParity: number;
1905
+ to: viem.Address | null;
1823
1906
  from: viem.Address;
1824
1907
  gas: bigint;
1825
- hash: Hash$1;
1826
1908
  nonce: number;
1827
- r: viem.Hex;
1828
- to: viem.Address | null;
1829
- typeHex: viem.Hex | null;
1830
- v: bigint;
1831
- accessList: viem.AccessList;
1832
- authorizationList: viem.SignedAuthorizationList;
1833
1909
  blobVersionedHashes?: undefined;
1834
- chainId: number;
1835
1910
  gasPrice?: undefined;
1836
1911
  maxFeePerBlobGas?: undefined;
1837
1912
  maxFeePerGas: bigint;
1838
1913
  maxPriorityFeePerGas: bigint;
1839
- blockHash: `0x${string}`;
1914
+ accessList: viem.AccessList;
1915
+ authorizationList: viem.SignedAuthorizationList;
1916
+ yParity: number;
1917
+ typeHex: viem.Hex | null;
1918
+ chainId: number;
1840
1919
  blockNumber: bigint;
1920
+ blockHash: `0x${string}`;
1841
1921
  transactionIndex: number;
1842
1922
  }>;
1843
1923
  getTransactionReceipt: (hash: Hash$1) => Promise<TransactionReceipt>;
@@ -1864,126 +1944,126 @@ declare function useSmartAccountTransactions(): {
1864
1944
  input: viem.Hex;
1865
1945
  s: viem.Hex;
1866
1946
  value: bigint;
1947
+ hash: Hash$1;
1948
+ v: bigint;
1949
+ r: viem.Hex;
1867
1950
  type: "legacy";
1868
- yParity?: undefined;
1951
+ to: viem.Address | null;
1869
1952
  from: viem.Address;
1870
1953
  gas: bigint;
1871
- hash: Hash$1;
1872
1954
  nonce: number;
1873
- r: viem.Hex;
1874
- to: viem.Address | null;
1875
- typeHex: viem.Hex | null;
1876
- v: bigint;
1877
- accessList?: undefined;
1878
- authorizationList?: undefined;
1879
1955
  blobVersionedHashes?: undefined;
1880
- chainId?: number;
1881
1956
  gasPrice: bigint;
1882
1957
  maxFeePerBlobGas?: undefined;
1883
1958
  maxFeePerGas?: undefined;
1884
1959
  maxPriorityFeePerGas?: undefined;
1885
- blockHash: `0x${string}`;
1960
+ accessList?: undefined;
1961
+ authorizationList?: undefined;
1962
+ yParity?: undefined;
1963
+ typeHex: viem.Hex | null;
1964
+ chainId?: number;
1886
1965
  blockNumber: bigint;
1966
+ blockHash: `0x${string}`;
1887
1967
  transactionIndex: number;
1888
1968
  } | {
1889
1969
  input: viem.Hex;
1890
1970
  s: viem.Hex;
1891
1971
  value: bigint;
1972
+ hash: Hash$1;
1973
+ v: bigint;
1974
+ r: viem.Hex;
1892
1975
  type: "eip2930";
1893
- yParity: number;
1976
+ to: viem.Address | null;
1894
1977
  from: viem.Address;
1895
1978
  gas: bigint;
1896
- hash: Hash$1;
1897
1979
  nonce: number;
1898
- r: viem.Hex;
1899
- to: viem.Address | null;
1900
- typeHex: viem.Hex | null;
1901
- v: bigint;
1902
- accessList: viem.AccessList;
1903
- authorizationList?: undefined;
1904
1980
  blobVersionedHashes?: undefined;
1905
- chainId: number;
1906
1981
  gasPrice: bigint;
1907
1982
  maxFeePerBlobGas?: undefined;
1908
1983
  maxFeePerGas?: undefined;
1909
1984
  maxPriorityFeePerGas?: undefined;
1910
- blockHash: `0x${string}`;
1985
+ accessList: viem.AccessList;
1986
+ authorizationList?: undefined;
1987
+ yParity: number;
1988
+ typeHex: viem.Hex | null;
1989
+ chainId: number;
1911
1990
  blockNumber: bigint;
1991
+ blockHash: `0x${string}`;
1912
1992
  transactionIndex: number;
1913
1993
  } | {
1914
1994
  input: viem.Hex;
1915
1995
  s: viem.Hex;
1916
1996
  value: bigint;
1997
+ hash: Hash$1;
1998
+ v: bigint;
1999
+ r: viem.Hex;
1917
2000
  type: "eip1559";
1918
- yParity: number;
2001
+ to: viem.Address | null;
1919
2002
  from: viem.Address;
1920
2003
  gas: bigint;
1921
- hash: Hash$1;
1922
2004
  nonce: number;
1923
- r: viem.Hex;
1924
- to: viem.Address | null;
1925
- typeHex: viem.Hex | null;
1926
- v: bigint;
1927
- accessList: viem.AccessList;
1928
- authorizationList?: undefined;
1929
2005
  blobVersionedHashes?: undefined;
1930
- chainId: number;
1931
2006
  gasPrice?: undefined;
1932
2007
  maxFeePerBlobGas?: undefined;
1933
2008
  maxFeePerGas: bigint;
1934
2009
  maxPriorityFeePerGas: bigint;
1935
- blockHash: `0x${string}`;
2010
+ accessList: viem.AccessList;
2011
+ authorizationList?: undefined;
2012
+ yParity: number;
2013
+ typeHex: viem.Hex | null;
2014
+ chainId: number;
1936
2015
  blockNumber: bigint;
2016
+ blockHash: `0x${string}`;
1937
2017
  transactionIndex: number;
1938
2018
  } | {
1939
2019
  input: viem.Hex;
1940
2020
  s: viem.Hex;
1941
2021
  value: bigint;
2022
+ hash: Hash$1;
2023
+ v: bigint;
2024
+ r: viem.Hex;
1942
2025
  type: "eip4844";
1943
- yParity: number;
2026
+ to: viem.Address | null;
1944
2027
  from: viem.Address;
1945
2028
  gas: bigint;
1946
- hash: Hash$1;
1947
2029
  nonce: number;
1948
- r: viem.Hex;
1949
- to: viem.Address | null;
1950
- typeHex: viem.Hex | null;
1951
- v: bigint;
1952
- accessList: viem.AccessList;
1953
- authorizationList?: undefined;
1954
2030
  blobVersionedHashes: readonly viem.Hex[];
1955
- chainId: number;
1956
2031
  gasPrice?: undefined;
1957
2032
  maxFeePerBlobGas: bigint;
1958
2033
  maxFeePerGas: bigint;
1959
2034
  maxPriorityFeePerGas: bigint;
1960
- blockHash: `0x${string}`;
2035
+ accessList: viem.AccessList;
2036
+ authorizationList?: undefined;
2037
+ yParity: number;
2038
+ typeHex: viem.Hex | null;
2039
+ chainId: number;
1961
2040
  blockNumber: bigint;
2041
+ blockHash: `0x${string}`;
1962
2042
  transactionIndex: number;
1963
2043
  } | {
1964
2044
  input: viem.Hex;
1965
2045
  s: viem.Hex;
1966
2046
  value: bigint;
2047
+ hash: Hash$1;
2048
+ v: bigint;
2049
+ r: viem.Hex;
1967
2050
  type: "eip7702";
1968
- yParity: number;
2051
+ to: viem.Address | null;
1969
2052
  from: viem.Address;
1970
2053
  gas: bigint;
1971
- hash: Hash$1;
1972
2054
  nonce: number;
1973
- r: viem.Hex;
1974
- to: viem.Address | null;
1975
- typeHex: viem.Hex | null;
1976
- v: bigint;
1977
- accessList: viem.AccessList;
1978
- authorizationList: viem.SignedAuthorizationList;
1979
2055
  blobVersionedHashes?: undefined;
1980
- chainId: number;
1981
2056
  gasPrice?: undefined;
1982
2057
  maxFeePerBlobGas?: undefined;
1983
2058
  maxFeePerGas: bigint;
1984
2059
  maxPriorityFeePerGas: bigint;
1985
- blockHash: `0x${string}`;
2060
+ accessList: viem.AccessList;
2061
+ authorizationList: viem.SignedAuthorizationList;
2062
+ yParity: number;
2063
+ typeHex: viem.Hex | null;
2064
+ chainId: number;
1986
2065
  blockNumber: bigint;
2066
+ blockHash: `0x${string}`;
1987
2067
  transactionIndex: number;
1988
2068
  };
1989
2069
  receipt: viem.TransactionReceipt;
@@ -2689,4 +2769,4 @@ declare function combineI18NResources(...resourses: TranslationResources[]): Tra
2689
2769
  declare function getAvailableLanguages(resourses: TranslationResources): string[];
2690
2770
  declare function getLanguageIcon(languageKey: string): string | null;
2691
2771
 
2692
- export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendTransactionReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserProfile, UserRejectedError, type WaitForReceiptOptions, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getIframeManager, getLanguageIcon, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useColorMode, useErc3643Compliance, useError, useHasServerVault, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useUserOpStatus, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForUserOperationReceipt };
2772
+ export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, 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 UserProfile, UserRejectedError, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getIframeManager, getLanguageIcon, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useColorMode, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForStoreHydration, waitForUserOperationReceipt };