import { HTMLAttributes, JSXElementConstructor, ReactElement } from 'react';
export type Boundaries = {
left: number;
top: number;
bottom: number;
right: number;
height: number;
width: number;
};
type BoundCb = [number, number];
export type Vertices = {
right: (boundaries: Boundaries, tooltip: HTMLDivElement) => BoundCb;
left: (boundaries: Boundaries, tooltip: HTMLDivElement) => BoundCb;
top: (boundaries: Boundaries, tooltip: HTMLDivElement) => BoundCb;
bottom: (boundaries: Boundaries, tooltip: HTMLDivElement) => BoundCb;
};
export interface TooltipProps {
children: ReactElement>;
tooltipContent?: string | ReactElement>;
position?: 'top' | 'left' | 'right' | 'bottom';
overflow?: boolean;
}
export declare const Tooltip: ({ children, tooltipContent, position, overflow }: TooltipProps & HTMLAttributes) => JSX.Element;
export {};