import * as React from 'react'; import { EasingFunction, ViewProps } from 'react-native'; import { ITheme } from '@ef-carbon/react-native-style'; export interface IProps extends ViewProps { onPress?(): void; onLongPress?(): void; delayLongPress?: number; theme?: ITheme; radius?: number; animate?: boolean; activeOpacity?: number; activeOpacityDuration?: number; activeOpacityEasing?: EasingFunction; activeOpacityDelay?: number; } export interface IState { active: boolean; } declare class Touchable extends React.PureComponent { private layout?; private gesture; private data?; private timer?; static delayLongPress: number; constructor(props: IProps); componentWillUnmount(): void; render(): React.ReactNode; private readonly opacityStyle; private readonly handleLayout; private readonly handleStartShouldSetResponder; private readonly handleLongPress; private readonly handleResponderGrant; private readonly handleResponderReject; private readonly handleResponderMove; private readonly handleResponderRelease; private readonly handleResponderTerminationRequest; private readonly handleResponderTerminate; readonly idle: boolean; readonly requested: boolean; readonly granted: boolean; private start; private update; private end; private clear; readonly radius: number; } export interface IStatic extends React.ComponentClass { } declare const component: IStatic; export { component as Component }; export default Touchable;