/**
 * Chart tooltip overlay
 * @countermeasure/web-components/charts/tooltip
 */
/** Structured tooltip content for safe rendering */
export interface TooltipContent {
    /** Optional title/header */
    title?: string;
    /** Data items to display */
    items?: {
        label: string;
        value: string | number;
        color?: string;
    }[];
}
/** HTML-based tooltip overlay that follows the cursor within a chart container */
export declare class ChartTooltip {
    private element;
    private container;
    constructor(container: HTMLElement);
    /** Position and display the tooltip with the given content, flipping if near edges */
    show(x: number, y: number, content: string | TooltipContent): void;
    /** Hide the tooltip */
    hide(): void;
    /** Remove the tooltip element from the DOM */
    destroy(): void;
}
//# sourceMappingURL=tooltip.d.ts.map