import { n as Format } from "./format-Dq02z5ZL.js"; import { t as ScalarStrings } from "./strings-scalar-C_B3azW6.js"; import { CSSProperties, ReactNode } from "react"; //#region src/charts/pictogram-row/geometry.d.ts interface PictogramUnit { cx: number; cy: number; /** Unit radius (dot) or half-edge (square). */ r: number; /** * Radius / half-edge of the HOLLOW unit's ring, inset by a hairline so the * stroke sits inside the unit rather than straddling its edge. Clamped: on a * sub-pixel unit the inset is wider than the unit, and `r - 0.3` went negative * — an SVG error, so the empty units silently dropped while the filled ones * still painted, and the row read as full. */ ringR: number; /** 0 = empty, 1 = filled, else the true fraction. */ fill: number; /** Present when 0 < fill < 1 — the partial-fill path (left-anchored). */ partial?: string; index: number; } //#endregion //#region src/charts/pictogram-row/index.d.ts /** True numbers even on overflow ("9 of 8."). */ declare function pictogramSummary(value: number, total: number, fmt: (n: number) => string, strings: ScalarStrings): string; interface PictogramRowProps { /** Filled units (may be fractional). */ value: number; /** Unit count (≤ 20 documented; beyond → Progress). */ total: number; /** `"dot"` (default) or `"square"` (packs tighter in table cells). */ shape?: "dot" | "square" | undefined; /** `"clip"` shows the true partial unit; `"round"` snaps (seats). */ fractional?: "clip" | "round" | undefined; /** Custom unit glyph (star ratings) — the ONE sanctioned customization. */ renderPoint?: ((unit: PictogramUnit) => ReactNode) | undefined; width?: number | undefined; height?: number | undefined; color?: string | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: ScalarStrings | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } declare function PictogramRow(props: PictogramRowProps): ReactNode; //#endregion export { PictogramRowProps as n, pictogramSummary as r, PictogramRow as t };