import type { PopoverProps, TooltipPositionOptions, PositionResult, Position } from './type'; import Popover from './Popover.svelte'; import { popover } from './theme'; /** * Calculates the position for a tooltip relative to a reference element. * @param options - The options for positioning * @returns The calculated position for the tooltip and arrow */ declare function calculateTooltipPosition({ tooltipRect, referenceRect, position, offset, arrowRect }: TooltipPositionOptions): PositionResult; export { Popover, popover, type PopoverProps, type Position, calculateTooltipPosition };