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-control.d.ts type ControlStrings = Pick; //#endregion //#region src/charts/control-strip/geometry.d.ts type ControlLimits = "sigma" | "percentile"; type ControlRules = "none" | "we"; interface ControlViolation { index: number; rule: "we1" | "we2" | "we4"; } interface ControlGeometry { center: { y: number; value: number; }; band: { y: number; height: number; lo: number; hi: number; }; line: { d: string; }; points: { x: number; y: number; out: boolean; }[]; violations: ControlViolation[]; /** false when n < 10 — limits provisional. */ reliable: boolean; /** MR̄ = 0 → band collapses to the center hairline. */ degenerate: boolean; n: number; /** Resolved value domain `[min,max]` — the annotation-host y-frame. */ domain: readonly [number, number]; } //#endregion //#region src/charts/control-strip/index.d.ts declare function controlSummary(geo: ControlGeometry, fmt: (n: number) => string, strings: ControlStrings): string; interface ControlStripProps { /** Sequential process measurements. */ data: readonly number[]; /** ±3σ̂ (default) or empirical p0.135/p99.865 for skewed processes. */ limits?: ControlLimits | undefined; /** Known process center from a reference period (else = mean of data). */ baseline?: number | undefined; /** Western Electric secondary run rules (WE-1/2/4 subset). */ rules?: ControlRules | undefined; /** `"out"` (default) marks only out-of-control points; `"all"` marks every * point; `"none"` draws no point marks at all. */ dots?: "out" | "all" | "none" | undefined; domain?: readonly [number, number] | undefined; width?: number | undefined; height?: number | undefined; color?: string | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: ControlStrings | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } declare function ControlStrip(props: ControlStripProps): ReactNode; //#endregion export { ControlStrings as i, ControlStripProps as n, controlSummary as r, ControlStrip as t };