import * as React from "react"; export interface TooltipTheme { /** * Added to the tooltip element. */ tooltip?: string; /** * Added to the root when the tooltip is active. */ tooltipActive?: string; /** * Wrapper for the root element used to position the tooltip. */ tooltipWrapper?: string; } interface TooltipProps { /** * Classnames object defining the component style. */ theme?: TooltipTheme; /** * The text string to use for the tooltip. */ tooltip?: string; /** * Amount of time in miliseconds spent before the tooltip is visible. */ tooltipDelay?: number; /** * If true, the Tooltip hides after a click in the host component. * @default true */ tooltipHideOnClick?: boolean; } declare class TooltipComponent extends React.Component { props: P & TooltipProps; } interface TooltippedComponentClass

extends TooltipProps { new (props?: P, context?: any): TooltipComponent; } export function Tooltip

(componentClass: React.ComponentClass

): TooltippedComponentClass

; export default Tooltip;