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-calibration.d.ts type CalibrationStrings = Pick; //#endregion //#region src/charts/calibration-strip/geometry.d.ts interface RawPair { p: number; outcome: number; } interface BinnedRow { predicted: number; observed: number; count: number; } interface CalibrationPoint { x: number; y: number; predicted: number; observed: number; count: number; lowSupport: boolean; } //#endregion //#region src/charts/calibration-strip/index.d.ts type CalibrationStripDatum = RawPair | BinnedRow; interface CalibrationStripProps { data: readonly CalibrationStripDatum[]; /** Uniform bin count for raw input. */ bins?: number | undefined; /** Below this a bin is low-confidence (open + faded). Default max(10, 2%). */ minSupport?: number | undefined; /** `"bars"` draws signed deviation columns from the diagonal. * */ mode?: "dots" | "bars" | undefined; color?: string | undefined; width?: number | undefined; height?: number | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: CalibrationStrings | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } /** Shared summary — the largest gap and the count of low-support bins. */ declare function calibrationSummary(points: readonly CalibrationPoint[], maxGap: { predicted: number; observed: number; } | null, strings: CalibrationStrings, fmt: (n: number) => string): string; declare function CalibrationStrip(props: CalibrationStripProps): ReactNode; //#endregion export { calibrationSummary as i, CalibrationStripDatum as n, CalibrationStripProps as r, CalibrationStrip as t };