import type { SVGAttributes } from 'svelte/elements'; interface Segment { /** Legend label. Rendered uppercase mono in --ink-faint. */ label: string; /** Share value. Negative values are clamped to 0 before any geometry. */ value: number; /** Any CSS colour / var token. Applied inline as the rect fill and swatch background. */ color: string; /** Optional per-segment value caption shown in the legend (e.g. "42%"). */ valueLabel?: string; } interface Props extends SVGAttributes { /** Ordered segments, laid left-to-right. */ segments: Segment[]; /** SVG height in px (the bar thickness). @default 14 */ height?: number; /** Accessible name for the whole bar. @default 'Proportion' */ label?: string; } declare const ProportionBar: import("svelte").Component; type ProportionBar = ReturnType; export default ProportionBar;