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-bias-strip.d.ts type BiasStripStrings = Pick; //#endregion //#region src/charts/bias-strip/geometry.d.ts interface BiasPair { a: number; b: number; } interface BiasGeometry { /** Projected dots (downsampled to ≤ 40 for display), 2-dp. */ dots: { x: number; y: number; index: number; outside: boolean; }[]; /** Limits-of-agreement band rect (full width), or null when n < 5. */ band: { y: number; height: number; } | null; /** Pixel y of the zero-difference reference line (always the center). */ zeroY: number; /** Pixel y of the bias (mean-difference) line, or null when n < 5. */ biasY: number | null; /** Mean difference over every finite pair, 2-dp; null when n === 0. */ bias: number | null; /** Share (0–100) of finite pairs inside the limits, or null when n < 5. */ withinPct: number | null; /** Count of finite pairs (stats basis). */ n: number; /** Plot box (viewBox y) the symmetric diff scale paints into — the caption * gutter is already subtracted, so the zero line is its exact centre. */ y0: number; y1: number; } //#endregion //#region src/charts/bias-strip/index.d.ts declare function biasStripSummary(geo: BiasGeometry, strings: BiasStripStrings, fmtSigned: (n: number) => string, /** Percent formatter (FRACTION in) for the within-limits share. A literal * `${n}%` left this one number in en-US while `locale` localized the rest. */ pct?: (fraction: number) => string): string; interface BiasStripProps { data: readonly BiasPair[]; /** * k in bias ± k·σ (default 1.96 ≈ 95% limits of agreement). Non-finite or * negative falls back to the default; limits that overflow to ±Infinity drop * the band the way fewer than 5 pairs does. */ limits?: number | undefined; /** Seat-gated bias label. `"none"` hides it. */ label?: "bias" | "none" | undefined; /** Base dot radius in viewBox units, clamped to [1, 3]; non-finite → 1.5. */ r?: number | undefined; width?: number | undefined; height?: number | undefined; color?: string | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: BiasStripStrings | 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 BiasStrip(props: BiasStripProps): ReactNode; //#endregion export { BiasPair as i, BiasStripProps as n, biasStripSummary as r, BiasStrip as t };