import { WalletClient } from './types'; import { AddressError } from './errors'; /** * React hook to derive the wallet address for a given chain from the same wallet's address for another chain * * @deprecated Use useChainAccount instead */ export declare function useSourceAddress(userAddress: string | undefined, walletClient: WalletClient | undefined, sourceChain: { chainId: string; coinType: string; addressPrefix: string; } | undefined, isTestnet: boolean): { readonly address: string | undefined; readonly error: AddressError | undefined; readonly refetch: (cancelled?: React.MutableRefObject) => Promise; };