import { ChartData } from "../chart-types"; import { Attributes } from "./transformDataAttributes"; declare type LegendFormatValue = (value: string | number | null) => string | number; interface Arguments { attributes: Attributes; data: ChartData; units: string; unitsCommon: string | undefined; unitsDesired: string; uuid: string; } export declare const useFormatters: ({ attributes, data, units, unitsCommon, unitsDesired, uuid, }: Arguments) => { legendFormatValue: LegendFormatValue; legendFormatValueDecimalsFromMinMax: (newMin: number, newMax: number) => LegendFormatValue; unitsCurrent: string; }; export {};