import { r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-hourglass.d.ts type HourglassStrings = Pick; //#endregion //#region src/charts/hourglass/index.d.ts interface HourglassProps { /** Elapsed fraction 0–1 (consistent with Progress; clamped). */ value: number; /** The running-sand cue (default true). */ stream?: boolean | undefined; /** Print the percent that matters to the context. */ label?: "none" | "remaining" | "elapsed" | undefined; /** Override the sand color, both chambers (default --mc-moon). */ color?: string | undefined; width?: number | undefined; height?: number | undefined; fontSize?: number | undefined; locale?: string | string[] | undefined; strings?: HourglassStrings | 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; } /** * A whole percent 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). Takes the WHOLE percent rather than the fraction so elapsed and * remaining are rounded once and 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. Exported * so the interactive entry's hover chip reads the SAME string the `label` * numeral prints. */ declare function hourglassPct(whole: number, locale?: string | string[] | undefined): string; declare function hourglassSummary(value: number, strings?: HourglassStrings, locale?: string | string[] | undefined): string; declare function Hourglass(props: HourglassProps): ReactNode; //#endregion export { HourglassStrings as a, hourglassSummary as i, HourglassProps as n, hourglassPct as r, Hourglass as t };