import React, { ReactElement } from 'react'; declare type Props = { tooltipText: string; isButton?: boolean; tooltipPlacement?: 'top' | 'right' | 'bottom' | 'left'; trigger?: Array; tooltipWrapperClassName?: string; interactive?: boolean; showOnOverflow?: boolean; } | { tooltipContent: ReactElement; key: string; isButton?: boolean; tooltipPlacement?: 'top' | 'right' | 'bottom' | 'left'; trigger?: Array; tooltipWrapperClassName?: string; interactive?: boolean; showOnOverflow?: boolean; }; declare const withTooltip: >(WrappedComponent: React.ComponentType) => React.FunctionComponent; export default withTooltip;