export type Interval = 'day' | 'week' | 'month' | 'year';