import type { HTMLAttributes } from 'svelte/elements';
interface CompareRow {
/** Row label. Rendered uppercase mono, --ink-dim, ellipsis-truncated. */
label: string;
/** Actual value. Drives the actual-fill width and the over-target comparison. */
value: number;
/** Target value. Drives the ghost target-fill width. */
target: number;
/** Optional caption shown at the row's right edge (e.g. "€240 / 320"). */
valueLabel?: string;
}
interface Props extends HTMLAttributes {
/** Ordered rows, stacked top-to-bottom. */
rows: CompareRow[];
/** Accessible name for the whole chart. @default 'Comparison' */
label?: string;
/** Polymorphic root element. @default 'div' */
as?: string;
}
declare const CompareBars: import("svelte").Component;
type CompareBars = ReturnType;
export default CompareBars;