import { ElementType } from 'react';
type Segment = {
    label: string;
    color: string;
};
type HorizontalBarRow = {
    name: string;
    values: number[];
    /** If present, the whole row is rendered as a link to this URL. */
    href?: string;
    /** If present, an individual segment becomes its own link. Indices align with `segments`. */
    hrefs?: Array<string | undefined>;
};
export declare function HorizontalBars({ data, segments, maxVal, fmt, className, LinkComponent, }: {
    data: Array<HorizontalBarRow>;
    segments: Segment[];
    maxVal: number;
    fmt: (v: number) => string;
    className?: string;
    /** Override how links produced by `href` / `hrefs` are rendered. Receives `href`,
     *  `className`, `aria-label`, and `children`. Defaults to a plain `<a>` element;
     *  consumers using a router should pass an adapter that maps `href` to their
     *  navigation primitive (e.g. react-router `<Link to={href} />`). */
    LinkComponent?: ElementType;
}): import("react/jsx-runtime").JSX.Element;
export {};
