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-ensemble.d.ts type EnsembleStrings = Pick; //#endregion //#region src/charts/ensemble-ghosts/geometry.d.ts interface EnsembleGeometry { ghostPaths: { d: string; member: number; }[]; /** member: null ⇒ the emphasised path is the synthetic pointwise median. */ emphasisPath: { d: string; member: number | null; }; /** Endpoint dots for the ghosts (rendered only when `endpoints`). */ ghostEnds: { x: number; y: number; }[]; /** Endpoint range across ALL valid members. */ spread: { lastLo: number; lastHi: number; }; /** Endpoint of the emphasised ("typical") path — for the summary. */ typicalEnd: number; memberCount: number; /** Endpoint of the emphasised path, in viewBox coords (label anchor). */ landing: { x: number; y: number; value: number; }; /** x for a member's Nth point on the shared index scale (annotations Marker). */ xFor: (i: number) => number; /** y for a data value on the shared domain (annotations Threshold/TargetZone). */ yFor: (v: number) => number; /** Resolved value domain `[min,max]` — the annotation-host y-frame. */ domain: readonly [number, number]; labelX: number; labelY: number; totalWidth: number; } //#endregion //#region src/charts/ensemble-ghosts/index.d.ts declare function ensembleSummary(geo: EnsembleGeometry, fmt: (v: number) => string, strings: EnsembleStrings): string; interface EnsembleGhostsProps { /** Ensemble members (2–50 simulated paths). */ data: readonly (readonly number[])[]; /** Rendered member count (deterministic endpoint-rank selection). Default 8, cap 12. */ ghosts?: number | undefined; /** `"nearest-median"` (a real member), `"median"` (synthetic), or a pinned member index. */ emphasis?: "nearest-median" | "median" | number | undefined; /** Ghost endpoint dots — makes the final-value spread countable. */ endpoints?: boolean | undefined; /** `"end"` (default) states the emphasised path's endpoint in a right gutter. */ label?: "end" | "none" | undefined; domain?: readonly [number, number] | undefined; format?: Format | undefined; locale?: string | string[] | undefined; width?: number | undefined; height?: number | undefined; color?: string | undefined; strings?: EnsembleStrings | 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 EnsembleGhosts(props: EnsembleGhostsProps): ReactNode; //#endregion export { EnsembleStrings as i, EnsembleGhostsProps as n, ensembleSummary as r, EnsembleGhosts as t };