import type { HTMLAttributes, ReactNode } from 'react'; import type { SxProp } from '../Layout/sx.cjs'; export type TimelineDotColor = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral'; /** Which side the content sits on relative to the central rail. */ export type TimelinePosition = 'right' | 'left' | 'alternate'; /** Rail direction. */ export type TimelineOrientation = 'vertical' | 'horizontal'; /** Density preset — scales dots, connector thickness, and type. */ export type TimelineSize = 'sm' | 'md' | 'lg'; export interface TimelineProps extends HTMLAttributes { /** Side the content sits on relative to the rail. Default `'right'`. (Vertical only.) */ position?: TimelinePosition; /** Rail direction. Default `'vertical'`. */ orientation?: TimelineOrientation; /** Density preset. Default `'md'`. */ size?: TimelineSize; /** * Make the entries keyboard-navigable: one Tab stop, then Up/Down (Left/Right * when horizontal) and Home/End move between items. */ navigable?: boolean; /** Replace the items with skeleton entries and mark the timeline `aria-busy`. */ loading?: boolean; /** Shown in place of the items when there are none (and not `loading`). */ empty?: ReactNode; /** * One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a * responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx * merges into inline style; responsive sx injects a scoped class. */ sx?: SxProp; } export declare const Timeline: import("react").ForwardRefExoticComponent>; export interface TimelineItemProps extends HTMLAttributes { /** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */ sx?: SxProp; } export declare const TimelineItem: import("react").ForwardRefExoticComponent>; export interface TimelineSeparatorProps extends HTMLAttributes { /** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */ sx?: SxProp; } export declare const TimelineSeparator: import("react").ForwardRefExoticComponent>; /** Dot fill treatment. */ export type TimelineDotVariant = 'filled' | 'outlined' | 'soft'; export interface TimelineDotProps extends HTMLAttributes { /** Semantic color. Default `'neutral'`. */ color?: TimelineDotColor; /** Fill treatment: filled (default), outlined ring, or soft tint. */ variant?: TimelineDotVariant; /** Optional icon (or number) rendered inside the dot. */ icon?: ReactNode; /** Pulsing ring to mark the current step. Respects reduced-motion. */ active?: boolean; /** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */ sx?: SxProp; } export declare const TimelineDot: import("react").ForwardRefExoticComponent>; /** Connector line style. */ export type TimelineConnectorLineStyle = 'solid' | 'dashed' | 'dotted'; export interface TimelineConnectorProps extends HTMLAttributes { /** Tint the segment to show a completed step. Omit for a neutral hairline. */ color?: TimelineDotColor; /** Line style. Default `'solid'`. */ lineStyle?: TimelineConnectorLineStyle; /** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */ sx?: SxProp; } export declare const TimelineConnector: import("react").ForwardRefExoticComponent>; /** Content treatment: plain, bordered card, or elevated card. */ export type TimelineContentVariant = 'plain' | 'card' | 'elevated'; export interface TimelineContentProps extends HTMLAttributes { /** `'card'` = bordered block, `'elevated'` = card with shadow. Default `'plain'`. */ variant?: TimelineContentVariant; /** Adds a colored left-accent border to a card, matched to a status color. */ accentColor?: TimelineDotColor; /** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */ sx?: SxProp; } export declare const TimelineContent: import("react").ForwardRefExoticComponent>; /** Slot rendered on the opposite side of the rail from the content (e.g. a timestamp). */ export interface TimelineOppositeContentProps extends HTMLAttributes { /** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */ sx?: SxProp; } export declare const TimelineOppositeContent: import("react").ForwardRefExoticComponent>;