import type { ReactElement } from 'react';
import React from 'react';
export type PropagationEvent = 'click' | 'touchstart';
export declare function withStopPropagation(events: PropagationEvent[], element: ReactElement): ReactElement<any, string | React.JSXElementConstructor<any>>;
