import React, { ComponentType, ReactNode } from 'react'; import { GestureResponderEvent, TouchableHighlightProps, TouchableOpacityProps, TouchableWithoutFeedbackProps } from 'react-native'; type PressFn = (event: GestureResponderEvent) => void | Promise; export interface ExtendedProps { onPress?: PressFn; onLongPress?: PressFn; awaitChild?: ReactNode; debounce?: boolean; } type PropsWithOptionalChildren

= P & { children?: ReactNode; }; export declare function withExtendedTouchable(WrappedComponent: ComponentType>): React.FC & ExtendedProps>; export {};