import type { IntlShape } from 'react-intl'; import type { FormatterWithPrecision, StringFormatter, TimeFrameFormatter } from '../../../../../core/types/formatter.js'; import type { XYAccessorDataTypes } from '../../../../types/xy-chart.js'; /** * Pure function that formats tooltip body content. * This can be called from non-React contexts (like utility functions). * * `formatter` is discriminated by the value type: a `StringFormatter` for * categorical axes, a `FormatterWithPrecision` for numerical axes, and a * `TimeFrameFormatter` for time axes. */ export declare function getHoveredPointTooltipBodyContent(intl: IntlShape, v0?: XYAccessorDataTypes | undefined, v1?: XYAccessorDataTypes | undefined, formatter?: FormatterWithPrecision | TimeFrameFormatter | StringFormatter, toPercentage?: (value: number) => number): { duration: string | undefined; text: string; };