import * as React from 'react'; export type TimelineIntent = 'neutral' | 'info' | 'success' | 'warning' | 'danger'; export interface TimelineItem { id: string; timestamp: Date | string; title: React.ReactNode; description?: React.ReactNode; icon?: React.ReactNode; intent?: TimelineIntent | undefined; meta?: React.ReactNode; } export interface TimelineLabels { /** Text read for each intent. Neutral reads nothing by default. */ intent?: Partial> | undefined; } export interface TimelineProps { /** Timeline items in order. */ items: readonly TimelineItem[]; /** Direction of the timeline. */ orientation?: 'vertical' | 'horizontal' | undefined; /** Timestamp format: relative ('3 h ago'), absolute, or Intl.DateTimeFormat options. */ timeFormat?: 'relative' | 'absolute' | Intl.DateTimeFormatOptions | undefined; /** Required when timeFormat='relative' on the server (else dev error). */ now?: Date | number | undefined; /** BCP 47 locale used for formatting and parsing. */ locale?: string | undefined; /** IANA zone for absolute and option formats. Default 'UTC', so server and client render the same text whatever their host zone is. */ timeZone?: string | undefined; /** Overrides for the built-in, localizable UI strings. */ labels?: TimelineLabels | undefined; /** Accessible name, required when there is no visible label. */ 'aria-label'?: string | undefined; /** Class name merged onto the root element. */ className?: string | undefined; /** REQ-CMP-03: resolves to the root part ([data-ag-part=timeline-container]). */ ref?: React.Ref | undefined; } export declare const DEFAULT_INTENT_LABELS: Record; export declare function formatTimestamp(ts: Date | string, timeFormat: 'relative' | 'absolute' | Intl.DateTimeFormatOptions, locale: string, now?: Date | number, timeZone?: string): { dateTime: string; text: string; }; export declare function Timeline({ items, orientation, timeFormat, now, locale, timeZone, labels, 'aria-label': ariaLabel, className, ref, }: TimelineProps): React.JSX.Element; export declare namespace Timeline { var formatTimestamp: typeof import('./Timeline.js').formatTimestamp; } //# sourceMappingURL=Timeline.d.ts.map