export type ChartDataset = { label?: string; data: (number | null)[]; backgroundColor?: string; borderColor?: string; type?: "bar" | "line"; scope: "initial" | "trajectory" | "goal"; forceLegend?: boolean; isGoalNull?: boolean; }; export type ChartState = { dataset: ChartDataset[]; allLabels: string[]; totalNumberOfIems: number; }; export declare const getEmptyChartState: () => ChartState; export type InitialBarData = { label: string; value: number; color?: string; }; export declare const getInitialBars: (initialValues: InitialBarData[], chartState: ChartState, label?: string, color?: string) => ChartState; export type TrajectoryScore = number | null; export type TrajectoryBarData = { label: string; values: [TrajectoryScore, TrajectoryScore]; }; export type TrajectoryOptions = Partial<{ label: string; color?: string; }>; export declare const getTrajectoryBars: (trajectory: TrajectoryBarData[], chartState: ChartState, trajectoryOptions?: { main?: TrajectoryOptions; difference?: TrajectoryOptions; }) => ChartState; type GoalLineOptions = { goal: number | null; chartState: ChartState; label?: string; color?: string; forceLegend?: boolean; }; export declare const getGoalLine: (options: GoalLineOptions) => ChartState; export {};