import React from 'react'; type EventType = React.MouseEvent | React.ChangeEvent | React.KeyboardEvent | React.SyntheticEvent | TouchEvent | MouseEvent | KeyboardEvent; export type EventHandlerFunctionType = (event?: EventType) => any; export default function useEventStopPropagation(fn: EventHandlerFunctionType | true): ((event: EventType) => void) | undefined; export {};