import type { Insets, StyleProp, TextStyle, TouchableHighlightProps, ViewStyle } from 'react-native'; type Styles = { container?: StyleProp; content?: StyleProp; loading?: StyleProp; text?: StyleProp; disabled?: StyleProp; disabledText?: StyleProp; hovered?: StyleProp; }; export type ButtonType = 'text' | 'solid' | 'outlined'; export type ButtonColorType = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light'; export type ButtonSizeType = 'small' | 'medium' | 'large'; export type Props = { testID?: string; type?: ButtonType; color?: ButtonColorType; size?: ButtonSizeType; disabled?: boolean; loading?: boolean; loadingColor?: string; loadingElement?: JSX.Element; text?: string | JSX.Element; borderRadius?: number; startElement?: JSX.Element; endElement?: JSX.Element; style?: StyleProp>; styles?: Styles; onPress?: TouchableHighlightProps['onPress']; activeOpacity?: TouchableHighlightProps['activeOpacity']; touchableHighlightProps?: Omit; hitSlop?: null | Insets | number | undefined; }; export declare function Button({ testID, type, color, size, disabled, loading, loadingElement, text, startElement, endElement, style, styles, onPress, activeOpacity, touchableHighlightProps, borderRadius, loadingColor, hitSlop, }: Props): JSX.Element; export {};