import * as i0 from "@angular/core"; export interface TooltipRow { name: string; value: number | string; color: string; formattedValue?: string; } export interface TooltipState { visible: boolean; x: number; y: number; title: string; rows: TooltipRow[]; pinned?: boolean; } export declare class ChartTooltipService { readonly state: import("@angular/core").WritableSignal; show(x: number, y: number, title: string, rows: TooltipRow[]): void; hide(): void; togglePin(): void; /** Compute flip position if tooltip hits viewport right/bottom bounds */ getAdjustedPosition(x: number, y: number, containerW: number, containerH: number, tooltipW?: number, tooltipH?: number): { left: number; top: number; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }