import { ReactNode } from 'react'; export interface TooltipProps { /** The element which triggers the tooltip on hover. */ element: ReactNode; /** The id of the tooltip element. */ id: string; /** The contents of the tooltip. */ text: string; /** The size of the tooltip. */ size?: 'small' | 'medium' | 'large'; /** **Obsolete**. Used by Lens only, and should be refactored */ openUnderTrigger?: boolean; } /** Represents a component for a custom tooltip. */ export declare function Tooltip({ element, id, text, size, openUnderTrigger }: TooltipProps): import("react").JSX.Element;