import React from 'react'; import type { FunkitWithdrawalConfig } from '../../providers/FunkitCheckoutContext'; /** * Whether to offer the "Use connected wallet" recipient shortcut: shown when a * wallet is connected and the integrator hasn't set `disableConnectedWallet`. * Independent of the withdrawal source address — for connected-wallet * withdrawals (e.g. Mallard) the source IS the connected wallet, and * withdrawing to it on the destination chain is valid. * * Hidden with both an EVM and a Solana wallet connected. */ export declare function shouldShowUseConnectedWallet({ disableConnectedWallet, isConnected, hasMultipleWalletsConnected, }: { disableConnectedWallet: boolean | undefined; isConnected: boolean; hasMultipleWalletsConnected: boolean; }): boolean; export declare function WithdrawRecipientAddress({ config, recipientAddress, setRecipientAddress: setRecipientAddressProp, selectedChainId, selectedToken, isValidAddress, isRiskyAddress, onAddressAutofilled, onAddressChanged, }: { config: FunkitWithdrawalConfig; recipientAddress: string; setRecipientAddress: (s: string) => void; selectedChainId: number | undefined; selectedToken: string | undefined; isValidAddress: boolean; isRiskyAddress: boolean; onAddressAutofilled?: (address: string) => void; onAddressChanged?: (address: string, previousAddress: string) => void; }): React.JSX.Element;