1 import type { TOCItem, ReadingTime } from './content.types'
2
3 // TOC component props interface
4 export interface TOCProps {
5 toc?: TOCItem[]
6 }
7
8 // Post layout props interface (generic, not tied to specific data source)
9 export interface PostLayoutProps {
10 title: string
11 pubDate: Date
12 image?: string
13 readingTime?: ReadingTime
14 toc?: TOCItem[]
15 }
16
17 // Transition props interface
18 export interface TransitionProps {
19 type: 'post' | 'page'
20 class?: string
21 }
22
23 // Layout props interface
24 export interface LayoutProps extends TransitionProps {
25 title?: string
26 description?: string
27 }
28
29 // BaseHead component props interface
30 export interface BaseHeadProps {
31 title: string
32 description: string
33 }