export interface TimelineProps {
  dataTestId?: string;
  alterMode?: boolean;
  className?: string;
  collapsibleEvents?: boolean;
  dateFormat?: string;
  events: TimelineEventProps[];
  navigatable?: boolean;
  transitionDuration?: number;
  onActionClick?: (event: EventDataProps) => void;
  onChange?: (event: EventDataProps) => void;
}

export interface TimelineEventProps {
  actions?: { text: string; url: string }[];
  date: Date;
  description: string;
  images?: { alt?: string; src: string }[];
  opened?: boolean;
  subtitle?: string;
  title: string;
}

export interface EventDataProps {
  eventData: TimelineEventProps;
  nativeEvent?: any;
  syntheticEvent?: React.SyntheticEvent<any>;
}
