import type { ReactNode } from 'react'; import type { DateOrder } from '../../DateFormatProvider/context'; export type ChartTimeOrder = DateOrder; export type ChartHourCycle = 12 | 24; export interface ChartTimeFormatterOptions { order?: ChartTimeOrder; hourCycle?: ChartHourCycle; } /** `14:32` (24h) / `2:32 PM` (12h). Empty string for invalid input. */ export declare const formatChartHour: (value: unknown, options?: { hourCycle?: ChartHourCycle; }) => string; /** `24 Jan` (day-first) / `Jan 24` (month-first). Year is omitted — axis space is precious. */ export declare const formatChartDate: (value: unknown, options?: { order?: ChartTimeOrder; }) => string; /** Combined `24 Jan 14:32`. Respects both `order` and `hourCycle`. */ export declare const formatChartDateTime: (value: unknown, options?: ChartTimeFormatterOptions) => string; /** `GMT±N` / `UTC`. Delegates to the shared `utils/formatDateTime` helper. */ export declare const formatChartTimezone: (value: unknown) => string; /** * Wrap a string formatter so it appends a dimmed timezone chip. Returns a * `ReactNode` so it can be passed to tooltip / zoom-popover slots. */ export declare const withTimezoneChip: (formatter: (value: unknown) => string) => ((value: unknown) => ReactNode);