import { Account } from '@leapwallet/elements-core'; import { WalletClient } from './types'; /** * React hook to get the wallet account for a given chain from the same wallet's address for any chain */ export declare function useChainAccount(userAddress: string | undefined, walletClient: WalletClient | undefined, chain: { chainId: string; addressPrefix: string; } | undefined, isTestnet?: boolean): { readonly account: Account | undefined; readonly error: any; readonly refetch: import("swr/_internal").KeyedMutator; readonly isLoading: boolean; readonly isValidating: boolean; };