import React from "react";
type Bar<T> = T & {
    key?: string;
    href?: string;
    value: number;
    name: string;
};
interface BarListProps<T = unknown> extends React.HTMLAttributes<HTMLDivElement> {
    data: Bar<T>[];
    valueFormatter?: (value: number) => string;
    showAnimation?: boolean;
    onValueChange?: (payload: Bar<T>) => void;
    sortOrder?: "ascending" | "descending" | "none";
}
declare function BarListInner<T>({ data, valueFormatter, showAnimation, onValueChange, sortOrder, className, ...props }: BarListProps<T>, forwardedRef: React.ForwardedRef<HTMLDivElement>): JSX.Element;
declare namespace BarListInner {
    var displayName: string;
}
declare const BarList: <T>(p: BarListProps<T> & {
    ref?: React.ForwardedRef<HTMLDivElement>;
}) => ReturnType<typeof BarListInner>;
export { BarList, type BarListProps };
//# sourceMappingURL=BarList.d.ts.map