import * as d3 from 'd3';
import { ChartPosition, TooltipItem } from '../types';
interface TooltipConfig {
    parent: d3.Selection<SVGGElement, unknown, null, undefined>;
    title: string;
    items: TooltipItem[];
    position: ChartPosition;
    unxkcdify?: boolean;
    backgroundColor: string;
    strokeColor: string;
    fontFamily: string;
    chartWidth: number;
    chartHeight: number;
}
export declare class Tooltip {
    private options;
    private svg;
    private tipBackground;
    private tipTitle;
    private tipItems;
    private filter;
    private safetyBuffer;
    constructor(options: TooltipConfig);
    private initialize;
    private createBackground;
    private createTitle;
    private createItems;
    private generateTipItem;
    private getBackgroundWidth;
    private getBackgroundHeight;
    private getUpLeftX;
    private getUpLeftY;
    show(): void;
    hide(): void;
    update(updates: {
        title?: string;
        items?: TooltipItem[];
        position?: ChartPosition;
    }): void;
    remove(): void;
}
export {};
//# sourceMappingURL=Tooltip.d.ts.map