import React from 'react';
import { StyleProp, TextProps, TextStyle, TouchableHighlightProps, ViewProps, ViewStyle } from 'react-native';
export interface ChildProps extends ViewProps {
    color?: string;
}
export interface TitleProps extends TextProps {
    color?: string;
}
export interface ButtonProps extends TouchableHighlightProps {
    title: string | ((props: TitleProps) => React.ReactNode);
    icon?: null | false | ((props: ChildProps) => React.ReactNode);
    mode?: 'contained' | 'outline' | 'text';
    compact?: boolean;
    loading?: boolean;
    contentContainerStyle?: StyleProp<ViewStyle>;
    textStyle?: StyleProp<TextStyle>;
    numberOfLines?: number;
    color?: string;
    activityIndicatorSize?: number;
}
declare const Button: React.FC<ButtonProps>;
export default Button;
