import React from 'react'; import { type CreateEventMap, type CreateUIAnalyticsEvent } from '../types'; export interface WithAnalyticsEventsProps { /** * You should not be accessing this prop under any circumstances. * It is provided by `@atlaskit/analytics-next` and integrated in the component */ createAnalyticsEvent?: CreateUIAnalyticsEvent; ref?: React.Ref; } declare const withAnalyticsEvents: (createEventMap?: CreateEventMap) => (WrappedComponent: (React.ComponentType | React.ForwardRefExoticComponent & Props>) & Component) => React.ForwardRefExoticComponent>> & React.RefAttributes>; export default withAnalyticsEvents;