import { DefineComponent } from 'vue';

export type TimelineItem = {
  title: string;
  date: string;
  username?: string;
  danger?: boolean;
  body?: { [key: string]: any };
};

export type TimelineProps = {
  data: TimelineItem[];
};

declare const Timeline: DefineComponent<TimelineProps>;

export default Timeline;
