import { ReactNode } from 'react'; import { PlacesType, TooltipRefProps } from 'react-tooltip'; export type { TooltipRefProps } from 'react-tooltip'; export interface TooltipProps { /** Tooltip unique identifier */ id?: string; /** Label that triggers the opening of the tooltip */ label: ReactNode; /** Content to be rendered inside the tooltip box */ content: ReactNode; /** * Desired direction where the tooltip content will be opened in relation to the label. * If the tooltip is too close to the edge of the screen, it will be repositioned automatically. * @default 'top' */ direction?: Extract; /** * If true, the tooltip will have a fixed width of 280px. * If false or undefined, the tooltip will have a max-width of 280px and no minimum width. */ minWidth?: boolean; /** * Class name to be applied to the tooltip wrapper. * Useful for custom styling. */ className?: string; } /** * Render a label that will open a tooltip box when hovered/focused. * Both label and content can be any ReactNode. * * This component is a wrapper around react-tooltip. */ export declare const Tooltip: import('react').ForwardRefExoticComponent>;