import { type LegendConfig } from '@iot-app-kit/charts-core'; import type { Viewport } from '@iot-app-kit/core'; /** * Stream type is a classification of a `DataStream`, which contains with it additional structure and features specific * to the stream type. * * For example, for an alarm stream, if a stream is associated to the alarm stream, we interpret the stream as * representing the status for the given alarm and present alarm specific UX such as alarm status on the legend and tooltip. */ export declare enum StreamType { ALARM = "ALARM", ANOMALY = "ANOMALY", ALARM_THRESHOLD = "ALARM_THRESHOLD" } /** * Maps the view model to d3 axis types. In the future we could add additional * custom scale types beyond what's available in `d3-axis`. */ export declare enum ScaleType { TimeSeries = "time-series", Log = "log", Linear = "linear" } export declare enum LEGEND_POSITION { RIGHT = "RIGHT", BOTTOM = "BOTTOM" } export declare enum COMPARISON_OPERATOR { LESS_THAN = "LT", GREATER_THAN = "GT", LESS_THAN_EQUAL = "LTE", GREATER_THAN_EQUAL = "GTE", EQUAL = "EQ", CONTAINS = "CONTAINS" } export declare const COMPARATOR_MAP: { GTE: string; GT: string; LTE: string; LT: string; EQ: string; CONTAINS: string; }; export declare enum StatusIconType { ERROR = "error", ACTIVE = "active", NORMAL = "normal", ACKNOWLEDGED = "acknowledged", SNOOZED = "snoozed", DISABLED = "disabled", LATCHED = "latched" } export declare const STATUS_ICONS: StatusIconType[]; export declare enum DATA_ALIGNMENT { EITHER = "EITHER", RIGHT = "RIGHT", LEFT = "LEFT" } /** * To differentiate between points that come from data streams and points that come from trend lines */ export declare const enum POINT_TYPE { DATA = "data", TREND = "trend" } export declare enum TREND_TYPE { LINEAR = "linear-regression" } export declare const DEFAULT_VIEWPORT: Viewport; export declare const DEFAULT_LEGEND: LegendConfig; export declare const ECHARTS_GESTURE = "echarts-gesture"; export declare const DEFAULT_DECIMAL_PLACES = 4; export declare const CHART_ALARM_ERROR: { msg: string; }; //# sourceMappingURL=constants.d.ts.map