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-quantile-dots.d.ts type QuantileDotsStrings = Pick; //#endregion //#region src/charts/quantile-dots/geometry.d.ts type ThresholdSide = "above" | "below"; interface QuantileDotsGeometry { dots: { x: number; y: number; r: number; past: boolean; }[]; threshold: { x: number; } | null; /** Dots past the threshold. */ past: number; count: number; /** Modal (tallest) column value bounds, for the no-threshold summary. */ mode: { lo: number; hi: number; }; min: number; max: number; /** * Data-space frame — the fixed `domain` when one is given, else the dotplot's * own span. Lets the interactive probe invert pointer x → value. */ x0: number; range: number; columns: number; pad: number; /** Top edge of the plot box. */ y0: number; /** Bottom edge of the plot box — the floor the seat stands on. */ y1: number; labelX: number; labelY: number; totalWidth: number; } //#endregion //#region src/charts/quantile-dots/index.d.ts declare function quantileDotsSummary(geo: QuantileDotsGeometry, fmt: (n: number) => string, opts: { threshold?: number | undefined; side: ThresholdSide; }, strings: QuantileDotsStrings): string; interface QuantileDotsProps { /** Raw sample or posterior draws. */ data: readonly number[]; /** Number of quantile dots (default 20; docs recommend 15–20; capped at 25). */ count?: number | undefined; /** The decision line — turns the plot from shape into odds. */ threshold?: number | undefined; /** Which side of the threshold is the event being counted (default "above"). */ side?: ThresholdSide | undefined; /** `"count"` states "N in count" in a gutter (default when `threshold` set). */ label?: "count" | "none" | undefined; domain?: readonly [number, number] | undefined; width?: number | undefined; height?: number | undefined; color?: string | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: QuantileDotsStrings | 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 QuantileDots(props: QuantileDotsProps): ReactNode; //#endregion export { QuantileDotsStrings as i, QuantileDotsProps as n, quantileDotsSummary as r, QuantileDots as t };