import { r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-moon.d.ts type MoonStrings = Pick; //#endregion //#region src/charts/moon-phase/geometry.d.ts type MoonMode = "progress" | "cycle"; //#endregion //#region src/charts/moon-phase/index.d.ts interface MoonPhaseProps { /** Fraction 0–1 (clamped). */ value: number; /** `progress` (monotonic illumination) or `cycle` (true lunar mapping). */ mode?: MoonMode | undefined; /** Override the lit color (default --mc-stroke). */ color?: string | undefined; size?: number | undefined; locale?: string | string[] | undefined; strings?: MoonStrings | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } /** * The lit fraction 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). Clamps and coerces, so a non-finite value reads 0 rather than "NaN%". * * `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. Exported * so the interactive entry's hover chip reads the SAME string the summary speaks. */ declare function moonPct(value: number, locale?: string | string[] | undefined): string; declare function moonPhaseSummary(value: number, mode?: MoonMode, strings?: MoonStrings, locale?: string | string[] | undefined): string; declare function MoonPhase(props: MoonPhaseProps): ReactNode; //#endregion export { MoonStrings as a, moonPhaseSummary as i, MoonPhaseProps as n, moonPct as r, MoonPhase as t };