import React from 'react'; import { TouchableOpacityProps, TouchableNativeFeedbackProps, StyleProp, ViewStyle, ActivityIndicatorProps, TextStyle } from 'react-native'; import { RneFunctionComponent } from '../helpers'; import { IconNode } from '../icons/Icon'; import { TextProps } from '../text/Text'; export declare type ButtonProps = TouchableOpacityProps & TouchableNativeFeedbackProps & { title?: string | React.ReactElement<{}>; titleStyle?: StyleProp; titleProps?: TextProps; buttonStyle?: StyleProp; type?: 'solid' | 'clear' | 'outline'; loading?: boolean; loadingStyle?: StyleProp; loadingProps?: ActivityIndicatorProps; containerStyle?: StyleProp; icon?: IconNode; iconContainerStyle?: StyleProp; iconRight?: boolean; linearGradientProps?: object; TouchableComponent?: typeof React.Component; ViewComponent?: typeof React.Component; disabled?: boolean; disabledStyle?: StyleProp; disabledTitleStyle?: StyleProp; raised?: boolean; iconPosition?: 'left' | 'right' | 'top' | 'bottom'; }; declare const Button: RneFunctionComponent; export { Button }; declare const _default: React.FunctionComponent>> | React.ForwardRefExoticComponent; export default _default;