import type { RefObject } from 'react'; import type { TooltipPlacement, TooltipProps } from '../../core/types'; type TooltipFallbackPlacementParams = { isOpened: boolean; placement: TooltipPlacement; arrowPosition: TooltipProps['arrowPosition']; fallbackPlacements: TooltipPlacement[] | undefined; tooltipBodyRef: RefObject; }; type TooltipFallbackPlacementResult = { activePlacement: TooltipPlacement; activeArrowPosition: TooltipProps['arrowPosition']; }; export declare function useTooltipFallbackPlacement({ isOpened, placement, arrowPosition, fallbackPlacements, tooltipBodyRef }: TooltipFallbackPlacementParams): TooltipFallbackPlacementResult; export {};