import * as React from "react"; export interface TooltipProps { placement?: "top" | "right" | "bottom" | "left"; mode?: "hover" | "click" | "always"; tip: React.ReactNode; positionFixed?: boolean; children: React.ReactNode | ((params: any) => React.ReactNode); } /** * This is a tooltip component. In the basic usage it will wrap the tooltip's children with a `` and the tooltip will appear off that node. */ declare class Tooltip extends React.Component { static defaultProps: { placement: string; mode: string; }; private scheduleUpdate?; private readonly ref; constructor(props: any); showTooltip(): void; hideTooltip(): void; hideTooltipClickOutside(event: any): void; toggleTooltip(): void; getEventProps(): { onMouseOver: () => void; onMouseOut: () => void; onTouchStart: () => void; onClick?: undefined; } | { onClick: () => void; onMouseOver?: undefined; onMouseOut?: undefined; onTouchStart?: undefined; }; componentDidMount(): void; componentWillUnmount(): void; componentDidUpdate(): void; render(): JSX.Element; } export default Tooltip;