import PropTypes from 'prop-types'; import React from 'react'; import { Animated } from 'react-native'; import { ConfigContext } from '../configProvider'; declare class Switch extends React.Component { static contextType: React.Context & { theme: import("../../styles/themes/ITheme").default; }>; context: React.ContextType; static propTypes: { accessible: PropTypes.Requireable; accessibilityRole: PropTypes.Requireable; accessibilityLabel: PropTypes.Requireable; accessibilityHint: PropTypes.Requireable; accessibilityState: PropTypes.Requireable; selected: PropTypes.Requireable; checked: PropTypes.Requireable; busy: PropTypes.Requireable; expanded: PropTypes.Requireable; }>>; accessibilityValue: PropTypes.Requireable; max: PropTypes.Requireable; now: PropTypes.Requireable; text: PropTypes.Requireable; }>>; value: PropTypes.Validator; style: PropTypes.Requireable; onTintColor: PropTypes.Requireable; tintColor: PropTypes.Requireable; disabled: PropTypes.Requireable; highTextContrast: PropTypes.Requireable; onValueChange: PropTypes.Validator<(...args: any[]) => any>; }; static defaultProps: { value: boolean; style: {}; disabled: boolean; highTextContrast: boolean; }; private colorSwitchCircle; private colorSwitchOff; private colorSwitchOffAcc; offsetX: Animated.Value; constructor(props: any); UNSAFE_componentWillReceiveProps(newProps: any): void; render(): JSX.Element; animated(): void; _onValueChange(): void; componentDidMount(): void; } export default Switch;