import React from 'react'; import type { ThemeVars } from '@coinbase/cds-common/core/theme'; import type { DimensionStyles, SharedAccessibilityProps, SharedProps, } from '@coinbase/cds-common/types'; import { type PressableDefaultElement, type PressableProps } from '../system'; export type UpsellCardBaseProps = SharedProps & Pick & Pick & { /** Callback fired when the action button is pressed */ onActionPress?: PressableProps['onClick']; /** Callback fired when the dismiss button is pressed */ onDismissPress?: PressableProps['onClick']; /** Callback fired when the card is pressed */ onClick?: PressableProps['onClick']; /** Text or ReactNode to be displayed in TextHeadline */ title: React.ReactNode; /** Content to be displayed below the title */ description?: React.ReactNode; /** Node to display for the card action */ action?: React.ReactNode; /** * Remote Image or other node with media content. */ media?: React.ReactNode; /** * Background color for the card. * @default 'bgPrimaryWash' */ background?: ThemeVars.Color; /** * @danger This is a migration escape hatch. It is not intended to be used normally. */ dangerouslySetBackground?: string; }; export type UpsellCardProps = UpsellCardBaseProps; /** * @deprecated Use `MessagingCard` with `type="upsell"` instead. This will be removed in a future major release. * @deprecationExpectedRemoval v9 * * Migration guide: * ```tsx * // Before * } * action="Get Started" * onActionPress={handleAction} * onDismissPress={handleDismiss} * /> * * // After * } * actions={} * onDismiss={handleDismiss} * mediaPlacement="end" * /> * ``` */ export declare const UpsellCard: React.MemoExoticComponent< ({ title, description, action, onActionPress, onDismissPress, media, background, dangerouslySetBackground, testID, accessibilityLabel, width, onClick, }: UpsellCardProps) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=UpsellCard.d.ts.map