import PropTypes from 'prop-types'; import React from 'react'; import { ViewStyle, TextStyle, StyleProp, ImageStyle } from 'react-native'; export interface MHCardProps { cardType: 'normal' | 'switch'; cardRadiusType: 'all' | 'none' | 'top' | 'bottom'; iconContainerStyle: ViewStyle; icon: number; iconStyle: StyleProp; title: string; titleStyle: TextStyle; subtitle: string; subtitleStyle: TextStyle; rightText: string; rightTextStyle: TextStyle; hideArrow: boolean; onPress: () => void; switchValue: boolean; onTintColor: string; tintColor: string; onValueChange: () => void; disabled: boolean; visible: boolean; showShadow: boolean; marginTop: number; } declare class MHCard extends React.Component { static contextType: React.Context & { theme: import("../../styles/themes/ITheme").default; }>; static propTypes: { cardType: PropTypes.Requireable; cardRadiusType: PropTypes.Requireable; style: PropTypes.Requireable; iconContainerStyle: PropTypes.Requireable; icon: PropTypes.Validator; iconStyle: PropTypes.Requireable; title: PropTypes.Validator; titleStyle: PropTypes.Requireable; subtitle: PropTypes.Requireable; subtitleStyle: PropTypes.Requireable; rightText: PropTypes.Requireable; rightTextStyle: PropTypes.Requireable; hideArrow: PropTypes.Requireable; onPress: PropTypes.Requireable<(...args: any[]) => any>; switchValue: PropTypes.Requireable; onTintColor: PropTypes.Requireable; tintColor: PropTypes.Requireable; onValueChange: PropTypes.Requireable<(...args: any[]) => any>; disabled: PropTypes.Requireable; visible: PropTypes.Requireable; showShadow: PropTypes.Requireable; marginTop: PropTypes.Requireable; unlimitedHeightEnable: PropTypes.Requireable; allowFontScaling: PropTypes.Requireable; titleNumberOfLines: PropTypes.Requireable; subtitleNumberOfLines: PropTypes.Requireable; rightTextNumberOfLines: PropTypes.Requireable; accessible: PropTypes.Requireable; accessibilityLabel: PropTypes.Requireable; accessibilityHint: PropTypes.Requireable; }; static defaultProps: { cardType: string; cardRadiusType: string; icon: any; hideArrow: boolean; switchValue: boolean; disabled: boolean; visible: boolean; showShadow: boolean; marginTop: number; unlimitedHeightEnable: boolean; allowFontScaling: boolean; }; static CARD_TYPE: { NORMAL: string; SWITCH: string; }; static CARD_RADIUS_TYPE: { ALL: string; NONE: string; TOP: string; BOTTOM: string; }; constructor(props: any); onAccessibilityAction: ({ nativeEvent: { actionName } }: { nativeEvent: { actionName: any; }; }) => void; renderInnerView(): JSX.Element; renderRight(): JSX.Element | null | undefined; render(): JSX.Element; } export default MHCard;