/**
 * @deprecated This is a legacy copy used only by the tour overlay runner.
 * The canonical tooltip implementation lives in:
 *   packages/adaptives/adaptive-overlays/src/tooltip.ts
 *
 * Any new tooltip features or bug fixes should go in adaptive-overlays only.
 * These two copies have diverged (close button, arrow offset, sanitizer)
 * and should NOT be kept in sync.
 */
import { type Placement } from '@floating-ui/dom';
export type TooltipHandle = {
    destroy(): void;
    el: HTMLElement;
};
type PlacementOption = Placement | 'auto';
/** @deprecated Use adaptive-overlays tooltip instead. See file-level deprecation notice. */
export declare function showTooltip(anchorEl: HTMLElement, overlayRoot: HTMLElement, opts: {
    html: string;
    placement?: PlacementOption;
    offsetPx?: number;
    blocking?: boolean;
    trigger?: 'immediate' | 'hover' | 'click';
    onAction?: (actionId: string) => void;
}): TooltipHandle;
export {};
