import type { ChartConfig } from "./chart-types"; /** A single row rendered in the chart tooltip. */ export interface ChartTooltipRow { label: string; value: string | number; color: string; } /** SVG gridlines + axis labels for each Y tick. Render inside the chart's . */ export declare function ChartGrid({ ticks, scaleY, width, }: { ticks: number[]; scaleY: (v: number) => number; width: number; }): import("react/jsx-runtime").JSX.Element; /** Toggleable HTML legend; each item's aria-pressed reflects series visibility. */ export declare function ChartLegend({ config, hidden, onToggle, }: { config: ChartConfig; hidden: Record; onToggle: (key: string) => void; }): import("react/jsx-runtime").JSX.Element; /** * Absolutely-positioned hover tooltip; left/top are relative to the .vyre-chart * container. Edge-aware: after render it measures itself + the container and * flips/clamps so it never overflows (and stays readable near the edges). */ export declare function ChartTooltip({ x, y, rows, title, }: { x: number; y: number; rows: ChartTooltipRow[]; title?: string; }): import("react/jsx-runtime").JSX.Element; interface ChartTooltipData { x: number; y: number; rows: ChartTooltipRow[]; title?: string; } /** State hook driving ChartTooltip visibility/content. */ export declare function useChartTooltip(): { active: boolean; data: ChartTooltipData | null; show: (x: number, y: number, rows: ChartTooltipRow[], title?: string) => void; hide: () => void; }; export {};