import { SeverityKey } from '../../tokens/colors'; export interface SplitBarSegment { key: SeverityKey | string; value: number; /** Overrides the scale colour. Use sparingly. */ color?: string; } export interface SplitBarProps { segments: readonly SplitBarSegment[]; /** `severity` colours by severity key; `series` colours by slot order. */ scale?: 'severity' | 'series'; /** Accessible name for the whole bar, e.g. "Findings by severity". */ label: string; height?: number; /** Hides the per-segment counts. Only legal when values appear adjacent. */ hideValues?: boolean; } export declare function SplitBar({ segments, scale, label, height, hideValues, }: SplitBarProps): import("react").JSX.Element | null;