import * as React from "react"; import * as PropTypes from "prop-types"; interface Props { activeOpacity: number; style: React.CSSProperties; onPress: () => void; onLongPress: () => void; } interface State { backgroundColor: string | undefined; } export default class TouchableOpacity extends React.Component { pressedDown: boolean; startedTime: number; state: { backgroundColor: string | undefined; }; static defaultProps: { activeOpacity: number; style: {}; onPress: () => void; onLongPress: () => void; }; static propTypes: { activeOpacity: PropTypes.Requireable; style: PropTypes.Requireable; onPress: PropTypes.Requireable<(...args: any[]) => any>; onLongPress: PropTypes.Requireable<(...args: any[]) => any>; }; _getChildStyleOpacityWithDefault(): string | undefined; onDown(): void; onUp(): void; render(): JSX.Element; } export {};