import type { HTMLAttributes } from "react";
import { type HistogramBin } from "../../../lib/chart/histogram.js";
type HistogramData = {
bins: HistogramBin[];
values?: never;
binCount?: never;
} | {
values: number[];
binCount: number;
bins?: never;
};
export type HistogramProps = HTMLAttributes & {
title: string;
height?: number;
/** Formats the count axis label and the bin bounds in the a11y table. */
valueFormatter?: (v: number) => string;
} & HistogramData;
declare const Histogram: import("react").ForwardRefExoticComponent>;
export { Histogram };