import { ReactElement } from 'react'; import { TooltipProps } from '../types'; import { CartesianChartModel } from '../model/cartesian-model'; /** A real, optional HTML part in ChartPlot's tooltip slot. */ export declare function Tooltip(props: TooltipProps & { model: CartesianChartModel; }): ReactElement | null; export declare function Tooltip(props?: TooltipProps & { model?: never; }): ReactElement | null;