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-quadrant.d.ts type QuadrantStrings = Pick; //#endregion //#region src/charts/quadrant-dot/geometry.d.ts interface QuadrantDotGeometry { /** Split cross in px; `x`/`y` null when that axis is degenerate (line hidden). */ cross: { x: number | null; y: number | null; }; /** Focal in px (`x`,`y`) plus its raw data values (`vx`,`vy`). */ dot: { x: number; y: number; vx: number; vy: number; }; /** Peers in px + raw values + quadrant, sorted nearest-first from the focal. * Interactive index 0 is the focal; peers are 1…n in this order. */ ghosts: { x: number; y: number; vx: number; vy: number; quadrant: 0 | 1 | 2 | 3; }[]; /** TL=0, TR=1, BL=2, BR=3. */ quadrant: 0 | 1 | 2 | 3; /** Focal above/right of split? (drives quadrant naming & the tint rect.) */ xHigh: boolean; yHigh: boolean; /** The tinted region rect (focal's quadrant). */ region: { x: number; y: number; width: number; height: number; }; peersInQuadrant: number; fieldCount: number; xDegenerate: boolean; yDegenerate: boolean; } //#endregion //#region src/charts/quadrant-dot/index.d.ts type QuadrantNames = readonly [string, string, string, string]; declare function quadrantSummary(geo: QuadrantDotGeometry, opts: { xLabel: string; yLabel: string; quadrants?: QuadrantNames | undefined; }, fmt: (v: number) => string, strings: QuadrantStrings): string; interface QuadrantDotProps { /** The focal item's 2-D position. */ data: { x: number; y: number; }; /** The peer set — omit for a lone glyph. */ field?: readonly { x: number; y: number; }[] | undefined; /** x-axis domain (`domain` stays the y-axis per grammar). */ xDomain?: readonly [number, number] | undefined; domain?: readonly [number, number] | undefined; /** Quadrant boundary — default domain midpoints. Never hidden. */ split?: readonly [number, number] | undefined; /** Names in reading order (TL, TR, BL, BR) — summaries only, never rendered. */ quadrants?: QuadrantNames | undefined; /** Axis nouns for the summary (default "x"/"y" — pass them, it's the point). */ xLabel?: string | undefined; yLabel?: string | undefined; /** `false` drops the quadrant tint (dense grids). */ region?: boolean | undefined; format?: Format | undefined; locale?: string | string[] | undefined; width?: number | undefined; height?: number | undefined; color?: string | undefined; strings?: QuadrantStrings | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } declare function QuadrantDot(props: QuadrantDotProps): ReactNode; //#endregion export { QuadrantStrings as a, quadrantSummary as i, QuadrantDotProps as n, QuadrantNames as r, QuadrantDot as t };