import * as react from 'react'; import { HTMLAttributes } from 'react'; interface SegmentBarChartSegment { label: string; value: number; /** Optional — omitted colors cycle `SEGMENT_BAR_COLORS`. */ color?: string; } interface SegmentBarChartProps extends HTMLAttributes { segments: SegmentBarChartSegment[]; /** Bar height in px (default 36). */ height?: number; /** Show percentage labels inside segments when wide enough (default on). */ showPercentLabels?: boolean; /** Hide in-bar % labels below this share (default 8). */ minPercentLabel?: number; /** Formats legend values, tooltips, and aria-labels. */ formatValue?: (value: number) => string; /** * Focusable segments with tooltips: Tab reaches the bar, ←/→ move between * segments (roving tabindex), Home/End jump, Esc dismisses. */ interactive?: boolean; /** Accessible chart name when `interactive` (default "Segment bar chart"). */ ariaLabel?: string; } declare const SegmentBarChart: react.ForwardRefExoticComponent>; export { SegmentBarChart, type SegmentBarChartProps, type SegmentBarChartSegment };