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-constellation.d.ts type ConstellationStrings = Pick; //#endregion //#region src/charts/constellation/index.d.ts interface ConstellationPoint { /** Time (the x axis; required, never jittered). */ x: number; /** Value (the y axis). Omit on every point to fall back to jittered layout. */ y?: number | undefined; /** Magnitude → area-true dot size (r ∝ √m). Omit for uniform dots. */ m?: number | undefined; } interface ConstellationProps { data: readonly ConstellationPoint[]; /** The faint chronology line. Default `true`; off for a pure scatter. */ connect?: boolean | undefined; /** Numeral at the largest event (`max`), or none (default). */ label?: "max" | "none" | undefined; /** Value (y) extent. Default: data extent. */ domain?: readonly [number, number] | undefined; /** Time (x) extent. Default: data extent. */ xDomain?: readonly [number, number] | undefined; /** Formats x for the summary / labels (e.g. a month name). Default: numeric. */ xFormat?: ((x: number) => string) | undefined; color?: string | undefined; width?: number | undefined; height?: number | undefined; rBase?: number | undefined; fontSize?: number | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: ConstellationStrings | 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 constellationSummary(data: readonly ConstellationPoint[], opts?: { xFormat?: ((x: number) => string) | undefined; strings?: ConstellationStrings | undefined; format?: Format | undefined; locale?: string | string[] | undefined; }): string; declare function Constellation(props: ConstellationProps): ReactNode; //#endregion export { ConstellationStrings as a, constellationSummary as i, ConstellationPoint as n, ConstellationProps as r, Constellation as t };