import React from "react"; import { ChartsLegendProps } from "@mui/x-charts/ChartsLegend"; import { DatasetType, MakeOptional } from "@mui/x-charts/internals"; import { LineSeriesType } from "@mui/x-charts/models/seriesType"; import { Granularity } from "../../types/dashboard"; declare module "@mui/material/styles" { interface Palette { graphColorPrimary?: { main: string; }; } } export interface LineChartProps { dataset: DatasetType; series?: MakeOptional[]; dataKeyX: string; dataKeyY?: string; height?: number; area?: boolean; granularity?: Granularity; yAxisOptions?: object; legendProps?: ChartsLegendProps; } export declare const LineChart: React.FC; export default LineChart;