import { FunctionComponent } from 'react'; /** * The type for the data. */ export interface DataType { name: string; score: number; } /** * The type for the statistics. */ export interface StatType { mean: number; meanStandardDeviation: number; } export interface LoadedGameChartProps { data: DataType[]; stats: StatType; labels: { mean: string; deviation: string; }; colors: { grid: string; score: string; mean: string; deviation: string; }; } /** * This component displays a chart for game set. It is used directly, so the components are supposed being * already loaded. */ declare const LoadedGameChart: FunctionComponent; export default LoadedGameChart;