import { ChainType, WalletType } from '../wallets/client/IWallet'; export declare function useInnerAuthStore(): import('./context').AuthContextType; export declare function useAuthStore(): { userInfo: import('./context').IUserInfo | undefined; refreshUserInfo: () => void; isUserInfoLoading: boolean; userModal: import('./context').UserModalType; setUserModal: (modal?: import('./context').UserModalType) => void; walletInfos: import('..').IWalletInfo[]; setWalletInfos: import('react').Dispatch>; }; /** * UI层连接管理 * @returns * reloadLogin 获取当前后端已登录的用户,并设置到context * connect 链接web3钱包 */ export declare function useConnect(): { reloadLogin: (isReloadConnectedWalletAsync?: boolean) => Promise<{ userId?: string; email?: string; username?: string; ethereumAddress?: string; flowAddress?: string; bnbAddress?: string; nervosAddress?: string; skaleAddress?: string; b2Address?: string; baseAddress?: string; tonAddress?: string; suiAddress?: string; opbnbAddress?: string; soneiumAddress?: string; mantleAddress?: string; bitcoinAddressP2wpkh?: string; bitcoinAddressP2sh?: string; bitcoinAddressP2pkh?: string; bitcoinAddressP2Tr?: string; twitterId?: string; twitterUsername?: string; discordId?: string; discordUsername?: string; telegramId?: string; telegramUsername?: string; avatar?: string; hasPassword?: boolean; createdAt?: string; authAgentWhiteList?: boolean; } | undefined>; connect: (chain: ChainType, wallet: WalletType) => Promise; unConnect: (chain: ChainType, wallet: WalletType) => Promise; };