import type { Context2D } from "../canvas-types"; import type { Theme } from "../../theme/theme"; /** * Draw a freestanding tooltip box anchored near (cx, cy), measuring * lines, sizing/clamping the box, painting bg/border, and laying out * text rows. Shared by sunburst + treemap which need a non-PlotLayout * anchor. */ export declare function drawTooltipBox(ctx: Context2D, theme: Theme, lines: string[], cx: number, cy: number, cssWidth: number, cssHeight: number, fontFamily: string): void;