import * as React from "react"; import { Direction } from "../../dropdownable/components/Dropdownable"; export interface BaseTooltipProps { children: React.ReactNode | string; id?: string; maxWidth?: number | null; minWidth?: number; } export interface TooltipProps extends BaseTooltipProps { ariaLabel?: string; preferredDirections?: Direction[]; isOpen?: boolean; suppress?: boolean; trigger: React.ReactNode; onClose?: () => void; disablePortal?: boolean; } export interface TooltipState { isOpen: boolean; triggerNode: HTMLElement | null; } declare const Tooltip: ({ ariaLabel, children, disablePortal, id, maxWidth, minWidth, onClose, isOpen: isOpenProp, preferredDirections, suppress, trigger }: TooltipProps) => React.JSX.Element; export default Tooltip;