import { r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-fill-word.d.ts type FillWordStrings = Pick; //#endregion //#region src/charts/fill-word/geometry.d.ts type FillMode = "fill" | "drain"; //#endregion //#region src/charts/fill-word/index.d.ts interface FillWordProps { /** The text that is the chart. */ word: string; /** Fraction 0–1 (clamped). fill = complete; drain = remaining. */ value: number; /** `fill` (default) grows the ink; `drain` empties it (TTL / expiry). */ mode?: FillMode | undefined; /** `value` appends the percent numeral after the word. */ label?: "none" | "value" | undefined; fontSize?: number | undefined; locale?: string | string[] | undefined; strings?: FillWordStrings | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } /** Whole-percent shown for the context (fill = complete, drain = remaining). * The raw number; `shownPctText` is the rendered form, which is what the * interactive entry's hover chip and the `label="value"` numeral both use so * they can never disagree about the reading. */ declare function shownPct(value: number, mode: FillMode): number; /** * `shownPct` as rendered text — a real `Intl` percent, not `${n}%`, which is an * en-US percent (fr-FR wants a NBSP before the sign, tr-TR puts the sign first). * The whole percent is computed first so fill and drain still sum to 100. * * `locale` comes from the chart's own prop, so a server render and its client * hydration produce the same string instead of each resolving its host default. * Trailing and optional: callers that never localized keep compiling. */ declare function shownPctText(value: number, mode: FillMode, locale?: string | string[] | undefined): string; declare function fillWordSummary(value: number, word: string, mode?: FillMode, strings?: FillWordStrings, locale?: string | string[] | undefined): string; declare function FillWord(props: FillWordProps): ReactNode; //#endregion export { shownPctText as a, shownPct as i, FillWordProps as n, FillWordStrings as o, fillWordSummary as r, FillWord as t };