import * as React from 'react'; import type { ChartPoint, ChartRenderContext, ChartSvgRenderer, ChartTextMeasurer, ChartTooltipBodyTarget, ChartValue, DomChartDefinition } from '@tanstack/charts'; export interface ChartCommonProps { ariaLabel: string; ariaDescription?: string; height?: number; aspectRatio?: number; width?: number; initialWidth?: number; className?: string; style?: React.CSSProperties; tabIndex?: number; idPrefix?: string; renderSvg?: ChartSvgRenderer, NoInfer, NoInfer>; measureText?: ChartTextMeasurer; onFocusChange?: (point: ChartPoint | null) => void; onFocusGroupChange?: (points: readonly ChartPoint[]) => void; onSelect?: (point: ChartPoint | null) => void; onRender?: (context: ChartRenderContext) => void; } export type ChartProps = ChartCommonProps & { definition: DomChartDefinition; }; export type ChartImplementationProps = ChartProps & { onTooltipBodyChange?: (target: ChartTooltipBodyTarget | null) => void; }; export declare function Chart(props: ChartProps): React.JSX.Element; export declare function ChartImplementation(props: ChartImplementationProps): React.JSX.Element;