import { c as Value, r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { n as Format } from "./format-Dq02z5ZL.js"; import { t as Curve } from "./path--G6Lr9c1.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-stack.d.ts type StackStrings = Pick; //#endregion //#region src/charts/stacked-area/index.d.ts interface StackedAreaDatum { label?: string | undefined; values: readonly Value[]; } /** Shared composition-shift summary — the leader at the last column. */ declare function stackedAreaSummary(data: readonly StackedAreaDatum[], sharesAtEnd: readonly number[], points: number, pctFmt: (n: number) => string, strings: StackStrings): string; interface StackedAreaProps { /** ≤ 3 series (hard cap). */ data: readonly StackedAreaDatum[]; /** `"ridge"` — the relocated MountainRidges look; same stack, new skin. * */ mode?: "stacked" | "ridge" | undefined; /** `"asc"` puts the smallest series on top (least thickness distortion). */ order?: "data" | "asc" | undefined; /** `"last"` = endpoint share labels per series (deterministic drop-out). */ label?: "last" | "none" | undefined; /** Column whose shares feed `label="last"` (default: final column). Interactive * scrub passes the focused column so the end labels track the crosshair. */ labelAt?: number | undefined; /** Per-series colours, cycled; overrides `--mc-cat-N` for this instance. */ colors?: readonly string[] | undefined; curve?: Curve | undefined; domain?: readonly [number, number] | undefined; width?: number | undefined; height?: number | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: StackStrings | 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; } declare function StackedArea(props: StackedAreaProps): ReactNode; //#endregion export { StackStrings as a, stackedAreaSummary as i, StackedAreaDatum as n, StackedAreaProps as r, StackedArea as t };