export interface HistogramBucket{label:string;count:number;} /** Converts an untyped bucket count to a bounded, non-negative integer. */ export declare function normalizeHistogramBinCount(binCount:unknown):number; /** Splits `values` into `binCount` equal-width buckets and counts membership. * Non-finite `binCount` (or <= 0) yields no buckets; a fractional `binCount` * is floored and an excessive count is capped; non-finite samples in * `values` are dropped rather than corrupting bucket-index math. Pass a BCP 47 * `locale` to localize the generated range labels -- an omitted value (or `'auto'`) resolves to * the page's active `setLyraLocale()` locale the same way `utilities/format.ts`'s helpers do * (see `resolveActiveOrExplicitLocale()`), falling back to `'en'` only once none has been set; * an explicit tag always stays authoritative. `` itself is unaffected -- it always * passes its own resolved `effectiveLocale` here. */ export declare function binValues(values:readonly number[],binCount:number,locale?:string):HistogramBucket[];