import React from "react"; import { Color, ValueFormatter } from "lib"; type Bar = T & { key?: string; value: number; name: React.ReactNode; icon?: React.JSXElementConstructor; href?: string; target?: string; color?: Color; }; export interface BarListProps extends React.HTMLAttributes { data: Bar[]; valueFormatter?: ValueFormatter; color?: Color; showAnimation?: boolean; onValueChange?: (payload: Bar) => void; sortOrder?: "ascending" | "descending" | "none"; } declare function BarListInner(props: BarListProps, ref: React.ForwardedRef): React.JSX.Element; declare namespace BarListInner { var displayName: string; } declare const BarList: (p: BarListProps & { ref?: React.ForwardedRef | undefined; }) => ReturnType; export default BarList;