import React, { ReactNode } from 'react'; import type { GestureResponderEvent } from 'react-native'; import type { ResponsiveValue } from '@shopify/restyle'; import { TouchableComponent } from '../TouchableComponent'; import type { Theme } from '../../theme/theme'; interface CardProps { customComponent?: ReactNode; iconAlign?: 'center' | 'flex-end' | 'flex-start'; subtitle?: string; subtitleColor?: ResponsiveValue; subtitleVariant?: ResponsiveValue; subtitleWeight?: 'regular' | 'bold'; title?: string; titleColor?: ResponsiveValue; titleVariant?: ResponsiveValue; titleWeight?: 'regular' | 'bold'; type: 'success' | 'danger' | 'warning'; } declare type Props = React.ComponentProps & CardProps & { backgroundColor?: string; bg?: string; onLongPress?: (event: GestureResponderEvent) => void; onPress?: (event: GestureResponderEvent) => void; }; /** * * @example * ### CardAlert - success | danger | warning * * ```js * * ``` * */ export declare const CardAlert: ({ backgroundColor, bg, customComponent, iconAlign, onLongPress, onPress, subtitle, subtitleColor, subtitleVariant, subtitleWeight, title, titleColor, titleVariant, titleWeight, type, ...props }: Props) => JSX.Element; export {};