import React from 'react'; import { BoxSystemProps } from './Box'; import { Side, Align } from '../utils/geometry'; import { StyleConfig } from '../utils/styleConfig'; export declare type TooltipParts = { content: ''; arrow: ''; }; declare type TooltipDOMProps = React.ComponentPropsWithRef<'div'>; declare type TooltipStyleConfigProp = { styleConfig?: StyleConfig; }; declare type TooltipSystemProps = BoxSystemProps; declare type TooltipOwnProps = { children: React.ReactElement & { ref?: React.Ref; }; label: string; ariaLabel?: string; isOpen?: boolean; onOpenChange?: (isOpen?: boolean) => void; side?: Side; sideOffset?: number; align?: Align; alignOffset?: number; arrowOffset?: number; noArrow?: boolean; collisionTolerance?: number; }; export declare type TooltipProps = TooltipDOMProps & TooltipStyleConfigProp & TooltipSystemProps & TooltipOwnProps & { as?: React.ElementType; }; export declare const Tooltip: React.ForwardRefExoticComponent & React.RefAttributes>; export {};