import { ReactElement } from 'react'; import { CommonProps } from '../common'; export interface TooltipProps extends CommonProps { /** * Content of tooltip. */ content: string | ReactElement; /** * Whether the tooltip content can be interactive, allowing you to hover over and click inside it. */ interactive?: boolean; /** * Milliseconds for interaction timeout, this only takes effect when `interactive` is enabled. */ interactiveTimeout?: number; /** * Position of tooltip. */ placement?: 'top' | 'bottom' | 'right' | 'left'; /** The target where tooltip is relatively placed to. */ target: string | ReactElement; /** Whether or not to show Tooltip when hovering the target. */ visible?: boolean; } declare const Tooltip: ({ content, placement, target, interactive, interactiveTimeout, id, className, style, sx, "data-test-id": dataTestId, visible, }: TooltipProps) => ReactElement; export default Tooltip;