import { type DataPoint, type Threshold, type ThresholdValue } from '@iot-app-kit/core'; import { type SeriesOption } from 'echarts'; import { type ChartRef } from '../../../hooks/useECharts'; import { type ChartAlarms } from '../hooks/useChartAlarms'; import { type useNormalizedDataStreams } from '../hooks/useNormalizedDataStreams'; import { type ChartDataQuality, type ChartOptions } from '../types'; type ChartConfigurationOptions = Pick & { group: string; } & { isLoading: boolean; } & { dataStreams: ReturnType; } & { visibleData: DataPoint[]; } & { thresholds: Threshold[]; } & { chartWidth: number; } & ChartDataQuality & { gestures: boolean; } & { alarms: ChartAlarms; showAlarmIcons?: boolean; }; export type DataStreamMetaData = ReturnType['dataStreamMetaData'][number]; /** * Hook to set the chart visual configuration options * These include styling: * chart grid, x axis, y axis, datastreams, thresholds, * tooltip, zoom behavior, chart title, * background color, loading behavior */ export declare const useChartConfiguration: (chartRef: ChartRef, { group, isLoading, dataStreams, alarms, showAlarmIcons, visibleData, id, axis, gestures, backgroundColor, significantDigits, styleSettings, thresholds, defaultVisualizationType, showBadDataIcons, showUncertainDataIcons, timeZone, }: ChartConfigurationOptions) => { series: SeriesOption[]; yAxis: NonNullable[]; dataStreamMetaData: { id: string; name: string | undefined; refId: string | undefined; color: string | undefined; dataType: import("@iot-app-kit/core").DataType | undefined; detailedName: string | undefined; unit: string | undefined; assetName: string | undefined; latestValue: import("@iot-app-kit/core").Primitive | undefined; latestAlarmStateValue: string | undefined; assetId: string | undefined; alarmName: string | undefined; }[]; }; export {}; //# sourceMappingURL=useChartConfiguration.d.ts.map