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-beam.d.ts type BeamStrings = Pick; //#endregion //#region src/charts/balance-beam/geometry.d.ts type BeamShape = "square" | "round"; type BeamMode = "ratio" | "difference"; //#endregion //#region src/charts/balance-beam/index.d.ts interface BeamDatum { label: string; value: number; } interface BalanceBeamProps { data: readonly [BeamDatum, BeamDatum]; /** Degrees at full saturation (default 12). */ maxTilt?: number | undefined; /** Weight shape (default square — circles under-read area at this size). */ shape?: BeamShape | undefined; /** `ratio` (share-of-whole) or `difference` (absolute, scaled by domain). */ mode?: BeamMode | undefined; domain?: readonly [number, number] | undefined; /** Print both numerals under the weights. */ label?: "none" | "values" | undefined; color?: string | undefined; width?: number | undefined; height?: number | undefined; fontSize?: number | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: BeamStrings | 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 balanceBeamSummary(data: readonly [BeamDatum, BeamDatum], opts?: { mode?: BeamMode | undefined; domain?: readonly [number, number] | undefined; strings?: BeamStrings | undefined; format?: Format | undefined; locale?: string | string[] | undefined; }): string; declare function BalanceBeam(props: BalanceBeamProps): ReactNode; //#endregion export { BeamStrings as a, balanceBeamSummary as i, BalanceBeamProps as n, BeamDatum as r, BalanceBeam as t };