import { PlacementType } from './types';
export interface TruncationTooltipOptions {
    /** The host element (for hover/focus listeners and positioning anchor) */
    hostEl: HTMLElement;
    /** The inner element where overflow actually occurs (inside shadow root) */
    contentEl: HTMLElement;
    /** Function that returns the full text to display in the tooltip */
    getTooltipText: () => string;
    /** Tooltip placement preference (default: 'top') */
    placement?: PlacementType;
}
/**
 * Sets up automatic tooltip behavior for a truncated element.
 *
 * When the element's text overflows, hovering or focusing the host element
 * will display a tooltip showing the full text content. The tooltip is
 * rendered as a portal on document.body and positioned with Floating UI.
 *
 * @returns A cleanup function that removes all listeners, observers, and DOM elements.
 */
export declare function setupTruncationTooltip(options: TruncationTooltipOptions): () => void;
