import { type ReactNode } from 'react'; import type { PaymentMethodType } from '../../../hooks/usePaymentSources'; /** * The only place the V1 picker reads the FiatV2 gate. Returns the * "Add a card" row, or null when the gate is off so the picker is unchanged. */ export declare function useAddCardRow({ isDisabled, isSwappedEnabled, tab, onOpen, }: { isDisabled: boolean; isSwappedEnabled: boolean; tab: PaymentMethodType; onOpen: () => void; }): ReactNode | null;