import { createSlice, PayloadAction } from '@reduxjs/toolkit';

export interface Top3Disease {
  name: string,
  personAmount: string,
  percent: number
}

export interface AgingDisease {
  fromAge: number,
  toAge: number,
  aging: number,
  top3Diseases: Top3Disease[],
  imageBase64: string
}