/** * Metric breakdown: how a total splits into parts. A stacked bar shows the * shares at a glance and a list states each part's value and share, so the * list alone carries everything the bar shows. */ import type { BlockModule } from '../../registry/block-module.js'; export declare const BREAKDOWN_LIMITS: { readonly minParts: 2; readonly maxParts: 12; }; export declare const PART_TONES: readonly ["neutral", "info", "success", "warning", "danger"]; /** Distinct series colours before the bar repeats them with a hatch. */ export declare const BREAKDOWN_SERIES = 6; /** * Whole-percent shares of `denominator` that never sum past what the parts * cover: each share is floored, then the points left over go to the largest * remainders (earlier parts win ties), so the bar and the list always agree * and the bar never overflows. */ export declare function quantizeShares(values: readonly number[], denominator: number): number[]; export declare const metricBreakdownBlock: BlockModule; //# sourceMappingURL=metric-breakdown.d.ts.map