import { Signer, Account, SkipSupportedAsset } from '@leapwallet/elements-core'; import { SkipSupportedChainData } from './use-skip-supported-chains'; /** * Wallet client interface */ export interface WalletClient { enable: (chainIds: string | string[]) => Promise; getAccount: (chainId: string) => Promise; getSigner: (chainId: string) => Promise; } /** * Arguments for useTransfer hook */ export type useTransferArgs = { asset: SkipSupportedAsset | undefined; sourceChain: SkipSupportedChainData | undefined; destinationAsset?: SkipSupportedAsset | undefined; destinationChain: SkipSupportedChainData | undefined; userAddress: string; destinationAddress: string | undefined; amount: string; walletClient: WalletClient; enabled: boolean; isMainnet: boolean; };