import { Feed, PageParameters, SemanticGroup, TimeRangeOption, Unit, User } from '../../+shared'; export interface Report { id?: number; name: string; guid: string; contextId?: number; owner?: User; creatorName?: string; settings?: string; reportRange?: TimeRangeOption | 'CUSTOM'; defaultFrom: number; defaultTo: number; aggregationPeriod: number; aggregationFunction: string; unit?: Unit; reportType: ReportType; scope: SemanticGroup; shared: boolean; feedIds: number[]; yAxes: YAxis[]; } export interface CreateReportDto { name: string; scope: SemanticGroup; shared: boolean; reportRange: string; defaultFrom: number; defaultTo: number; aggregationPeriod?: string | number; aggregationFunction?: string; yAxes: YAxis[]; reportType: ReportType; } export declare enum AxisPosition { LEFT = "LEFT", RIGHT = "RIGHT" } export interface AxisFeed { id: number; name: string; feedName?: string; feedColor: string; feed?: Feed; } export interface YAxis { id?: number; name: string; location: AxisPosition; autoCalculated: boolean; axisMin: number | null; axisMax: number | null; feeds: AxisFeed[]; unit: Unit; } export interface ReportQueryParams extends PageParameters { query?: string; } export declare enum ReportType { LINE = "CHART", MAP = "MAP" } //# sourceMappingURL=Report.d.ts.map