import { r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { n as Format } from "./format-Dq02z5ZL.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-partition.d.ts type PartitionStrings = Pick; //#endregion //#region src/charts/partition-strip/geometry.d.ts interface PartitionNode { label: string; value?: number | undefined; children?: readonly { label: string; value: number; }[] | undefined; } //#endregion //#region src/charts/partition-strip/index.d.ts type PartitionStripDatum = PartitionNode; interface PartitionStripProps { data: readonly PartitionStripDatum[]; /** Accents one node and its lineage (parent + siblings muted). */ emphasis?: string | undefined; /** Parent-row labels with size drop-out. */ labels?: boolean | undefined; /** Per-group colours, cycled; overrides `--mc-cat-N` for this instance. The * emphasised node and muted siblings keep their accent/neutral roles. */ colors?: readonly string[] | undefined; width?: number | undefined; height?: number | undefined; /** Formats node values in the interactive readout + announcement (the static * strip renders no numbers). Same grammar as every other chart. */ format?: Format | undefined; locale?: string | string[] | undefined; strings?: PartitionStrings | undefined; /** Minimum in-chart label size, in viewBox units. Geometry sizes labels from * the mark and floors them at 7; this raises that floor and moves the * reserved gutter with it. A label the box cannot seat at the raised floor * drops rather than shrinking back under it. */ labelSize?: number | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } /** Shared summary — group/part counts + the largest leaf and its parent. */ declare function partitionStripSummary(data: readonly PartitionStripDatum[], strings: PartitionStrings, /** Percent formatter (FRACTION in). The old `${Math.round(s * 100)}%` was an * en-US percent, so `locale` reached the interactive chip's shares but not * the accessible name's. */ pctOf?: (fraction: number) => string): string; declare function PartitionStrip(props: PartitionStripProps): ReactNode; //#endregion export { partitionStripSummary as i, PartitionStripDatum as n, PartitionStripProps as r, PartitionStrip as t };