import { type FC, type HTMLAttributes, type Ref } from 'react'; export interface PieChartLegendItemProps extends HTMLAttributes { ref?: Ref; /** * Identifier matching a `PieChartDatum.name` from the root `data` prop. * Drives both the percent calculation and the bidirectional hover sync with the donut slice. */ name: string; /** * Optional override for the value used in the percent calculation. Defaults to looking * the value up from the root `data` array by `name`. Pass an explicit value when the * legend renders entries that are not part of the donut (e.g. a synthetic "Other" row). */ value?: number; /** * Visually marks the row as the selected/filtered datum — applies `bg-states-primary-active` * and `aria-current`. When omitted, the row falls back to membership in the root's * `selectedNames` set (if provided). When passed explicitly (`true` or `false`) it * fully overrides the context — useful when the legend renders rows that aren't part * of the chart's multi-selection (e.g. a single filtered view). The resolved value * also feeds the dim calculation: a row resolved to `selected=false` while *some* * peer is selected will fade like any other non-selected row. */ selected?: boolean; } export declare const PieChartLegendItem: FC;