/**
 * Function used to format labels. This function should be set to the
 * [labelFormatFunction](#labelFormatFunction) property. This function fires
 * every time a label is created or updated on the histogram.
 *
 * @param value - The value for the line on the data axis.
 *
 * @return The formatted value of the label.
 */
export type HistogramLabelFormatFunction = (value: number) => string;
export type DataLine = {
    value: number;
    label?: nullish | number | string;
};
export interface SymbolDataLine {
    value: number;
    symbol: "x̄" | `-${number | ""}σ` | `+${number | ""}σ`;
    lineClass?: string;
}
export type HistogramColor = number[] | string | {
    r?: number;
    g?: number;
    b?: number;
    a?: number;
};
export type HistogramContinuousColorStop = {
    color: HistogramColor;
    value: number;
};
export type HistogramClassedColorStop = {
    color?: HistogramColor;
    minValue: number;
    maxValue: number;
};
export type HistogramColorStops = HistogramClassedColorStop[] | HistogramContinuousColorStop[];
export type NormalizedHistogramContinuousColorStop = {
    color: string;
    value: number;
};
export type NormalizedHistogramClassedColorStop = {
    color: string;
    minValue: number;
    maxValue: number;
};
export type NormalizedHistogramColorStops = NormalizedHistogramClassedColorStop[] | NormalizedHistogramContinuousColorStop[];
export type HistogramLayout = "horizontal" | "vertical";
