export interface BlogAuthor {
  name: string;
  avatar: string;
}

export interface RelatedDoc {
  title: string;
  href: string;
  icon: string;
}

export interface BlogPost {
  slug: string;
  title: string;
  description: string;
  heroImage: string;
  category: string;
  date: string;
  author: BlogAuthor;
  readTime: string;
  relatedArticles: string[];
  relatedDocs: RelatedDoc[];
}

export interface TocItem {
  id: string;
  text: string;
  level: number;
}
