import { Refable, type Styleable } from "@trackunit/react-components"; import { MouseEventHandler } from "react"; export interface LegendItemProps extends Refable, Styleable { label: string; count?: number; selected?: boolean; disabled?: boolean; onClick?: MouseEventHandler; onMouseEnter?: () => void; onMouseLeave?: () => void; color: string; className?: string; "data-testid"?: string; unit?: "%"; hideValue?: boolean; } /** * The LegendItem component is used to show form legends. * * @param {LegendItem} props - The props for the LegendItem component * @returns {ReactElement} LegendItem component */ export declare const LegendItem: ({ className, style, count, label, disabled, selected, onClick, color, "data-testid": dataTestId, onMouseEnter, onMouseLeave, unit, hideValue, }: LegendItemProps) => import("react/jsx-runtime").JSX.Element;