import React, { type ReactNode } from 'react'; import { type PayerWallet } from '../providers/GeneralWalletProvider'; import { PaymentMethod, type PaymentMethodInfo } from '../domains/paymentMethods'; export declare const PAYMENT_METHOD_ICONS: Record, (size: number) => ReactNode>; interface WalletRowOptions { iconSize?: number; /** * Set by surfaces showing a committed route. History records an address but * no icon, so the wallet that paid is named beside the generic glyph. */ payerWallet?: PayerWallet; } /** Reference ENG-716 * EOA wallet users * detect connectors and show builtin icon in SDK * if no SDK icons available, show icon from wagmi * otherwise show fallback icon EVM */ export declare function usePaymentMethodIcon(paymentMethod: PaymentMethod, { iconSize, payerWallet, }?: WalletRowOptions): string | number | bigint | boolean | React.JSX.Element | Iterable | Promise | React.ReactElement> | React.ReactPortal | null | undefined> | null | undefined; interface PaymentMethodInfoLabel { text: string; icon: ReactNode; } export declare const usePaymentMethodInfoLabel: (methodInfo: PaymentMethodInfo, { iconSize, payerWallet, }?: WalletRowOptions) => PaymentMethodInfoLabel; export {};