import React from 'react'; import type { PressableProps } from 'react-native'; import type { SharedProps } from '@coinbase/cds-common/types/SharedProps'; export type FloatingAssetCardBaseProps = SharedProps & { /** Callback fired when the card is pressed */ onPress?: PressableProps['onPress']; /** Text or ReactNode to be displayed above Title */ subtitle?: React.ReactNode; /** Text or ReactNode to be displayed in TextHeadline */ title: React.ReactNode; /** Content to be displayed below the title */ description?: React.ReactNode; /** * Remote Image or other node with media content. */ media: React.ReactNode; /** * Variant for card size. Can be small or large. * @default 's' */ size?: 's' | 'l'; }; export type FloatingAssetCardProps = FloatingAssetCardBaseProps; /** * @deprecated Use `MediaCard` instead. This will be removed in a future major release. * @deprecationExpectedRemoval v9 * * Migration guide: * ```tsx * // Before * } * /> * * // After * } * /> * ``` * * Note: The floating variation (media outside the card container) is no longer supported. * MediaCard provides a contained layout with media placement options (start/end). */ export declare const FloatingAssetCard: React.MemoExoticComponent< ({ title, description, subtitle, media, testID, size, onPress, }: FloatingAssetCardProps) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=FloatingAssetCard.d.ts.map