import { PureComponent, CSSProperties, ReactNode, ReactElement, SVGProps } from 'react'; import { ValueType, NameType, Payload, Props as DefaultProps } from './DefaultTooltipContent'; import { AnimationTiming } from '../util/types'; export declare type ContentType = ReactElement | ((props: TooltipProps) => ReactNode); declare type UniqueFunc = (entry: Payload) => unknown; declare type UniqueOption = boolean | UniqueFunc; export declare type TooltipProps = DefaultProps & { allowEscapeViewBox?: { x?: boolean; y?: boolean; }; content?: ContentType; viewBox?: { x?: number; y?: number; width?: number; height?: number; }; active?: boolean; offset?: number; wrapperStyle?: CSSProperties; cursor?: boolean | ReactElement | SVGProps; coordinate?: { x?: number; y?: number; }; position?: { x?: number; y?: number; }; trigger?: 'hover' | 'click'; shared?: boolean; payloadUniqBy?: UniqueOption; isAnimationActive?: boolean; animationDuration?: number; animationEasing?: AnimationTiming; filterNull?: boolean; useTranslate3d?: boolean; }; export declare class Tooltip extends PureComponent> { static displayName: string; static defaultProps: { active: boolean; allowEscapeViewBox: { x: boolean; y: boolean; }; offset: number; viewBox: { x1: number; x2: number; y1: number; y2: number; }; coordinate: { x: number; y: number; }; cursorStyle: {}; separator: string; wrapperStyle: {}; contentStyle: {}; itemStyle: {}; labelStyle: {}; cursor: boolean; trigger: string; isAnimationActive: boolean; animationEasing: string; animationDuration: number; filterNull: boolean; useTranslate3d: boolean; }; state: { boxWidth: number; boxHeight: number; dismissed: boolean; dismissedAtCoordinate: { x: number; y: number; }; }; private wrapperNode; componentDidMount(): void; componentDidUpdate(): void; updateBBox(): void; getTranslate: ({ key, tooltipDimension, viewBoxDimension, }: { key: 'x' | 'y'; tooltipDimension: number; viewBoxDimension: number; }) => number; render(): JSX.Element; } export {};