import { type Placement } from '@floating-ui/dom';
export type TooltipHandle = {
    destroy(): void;
    el: HTMLElement;
};
type PlacementOption = Placement | 'auto';
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 {};
