import { SxProps } from '@mui/material';
import { IconId } from '../icon/Icon';
import { IncrementLabelType } from '../../propTypes/IncrementLabel';
export declare const legendDirections: readonly ["column", "row"];
type LegendDirection = (typeof legendDirections)[number];
export declare const widgetLegendIconSizes: readonly ["XS", "S", "M", "L", "XL"];
type WidgetLegendIconSize = (typeof widgetLegendIconSizes)[number];
export type WidgetLegendItemProps = {
    /**
     * The label to display at the top of the group of items
     */
    groupLabel?: string;
    /**
     * The direction to display the group of items
     */
    legendDirection?: LegendDirection;
    /**
     * The items to display in this WidgetLegendItem. It could be more than one.
     */
    items: {
        /**
         * The main label to display for this item
         */
        label?: string;
        /**
         * Color used for texts (except for increment)
         */
        color?: string;
        /**
         * The icon to display
         * The color of the dot
         */
        iconId?: IconId;
        /**
         * The color of the icon
         */
        iconColor: string;
        /**
         * The icon size
         */
        iconSize?: WidgetLegendIconSize;
        /**
         * The primary value as text for this item
         */
        value?: string;
        /**
         * The increment value as text for this item
         */
        incrementLabelValue?: string;
        /**
         * The format used to represent the increment part of this item
         */
        incrementLabelType?: IncrementLabelType;
        /**
         * Add styles to each legend item
         */
        style?: SxProps;
    }[];
    /**
     * Optional callback to be called when the legend item is clicked
     */
    onClick?: () => void;
};
/**
 * Represent a legend item for any widget chart series or data.
 */
declare const WidgetLegendItem: ({ groupLabel, legendDirection, items, onClick }: WidgetLegendItemProps) => import("react/jsx-runtime").JSX.Element;
export default WidgetLegendItem;
