import React from 'react';
import { TouchableOpacityProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
export interface CheckBoxProps extends TouchableOpacityProps {
    textStyle?: StyleProp<TextStyle & ViewStyle>;
    checked?: boolean;
    disabled?: boolean;
    color?: string;
    size?: number;
    checkedIcon?: string | JSX.Element;
    unCheckedIcon?: string | JSX.Element;
    onChange?: (checked: boolean) => void;
}
export interface CheckBoxState {
    checked: boolean;
    controlChecked: 'props' | 'state';
}
export default class CheckBox extends React.Component<CheckBoxProps, CheckBoxState> {
    constructor(props: CheckBoxProps);
    static defaultProps: {
        checkedIcon: string;
        unCheckedIcon: string;
        color: string;
        size: number;
    };
    static getDerivedStateFromProps(props: CheckBoxProps, state: CheckBoxState): {
        checked: boolean | undefined;
        controlChecked?: undefined;
    } | {
        controlChecked: string;
        checked?: undefined;
    } | null;
    onPress: () => void;
    render(): JSX.Element;
}
