import { DeviceEntity, UserEntity } from '..'; export declare class ChartData { startDate: Date; endDate: Date; range: number; data: any[]; constructor(data: UserEntity[] | DeviceEntity[], range: number); /** * * @param date date which to offset * @param offset in days (1, 2, 3) */ private calculateOffset; private dataInRange; getLabels(): any[]; private count; getData(): any[]; } export declare const defaultChartOptions: { maintainAspectRatio: boolean; height: number; scales: { xAxes: { ticks: { fontColor: string; reverse: boolean; beginAtZero: boolean; precision: number; }; }[]; yAxes: { ticks: { fontColor: string; beginAtZero: boolean; precision: number; }; }[]; }; title: { fontColor: string; }; labels: { fontColor: string; }; legend: { display: boolean; labels: { fontColor: string; }; }; ticks: { beginAtZero: boolean; precision: number; }; };