export type StatsSection = { id: StatsSectionIds; title: string; charts: Array<StatsChart> }
export type StatsSectionIds = keyof typeof StatsSectionId;
export enum StatsSectionId {
  'all',
  'accounts',
  'blocks',
  'transactions',
  'gas',
}

export type StatsInterval = { id: StatsIntervalIds; title: string }
export type StatsIntervalIds = keyof typeof StatsIntervalId;
export enum StatsIntervalId {
  'all',
  'oneMonth',
  'threeMonths',
  'sixMonths',
  'oneYear',
}

export type StatsChart = {
  visible?: boolean;
  id: string;
  title: string;
  description: string;
  apiMethodURL: string;
}

export interface ModalChart {
  id: string;
  title: string;
}
