import type { Alignment, FloatingContext, Side } from '@floating-ui/react'; import type { ComponentPropsWithRef } from 'react'; declare const TOOLTIP_ARROW_HEIGHT = 3; declare const TOOLTIP_ARROW_WIDTH = 12; declare const TOOLTIP_ARROW_BOX_HEIGHT = 12; declare const getSideAlignment: (placement: string) => { side: Side; alignment: Alignment; }; type TooltipArrowProps = ComponentPropsWithRef<'div'> & { /** * The floating context. */ context: Omit & { refs: any; }; }; /** * Renders a pointing arrow triangle. */ declare const TooltipArrow: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export { getSideAlignment, TOOLTIP_ARROW_BOX_HEIGHT, TOOLTIP_ARROW_HEIGHT, TOOLTIP_ARROW_WIDTH, TooltipArrow, }; export type { TooltipArrowProps };