import { INumericValue } from '../../interfaces/numeric-value.interface'; import { INumericDynamicCondition } from '../../interfaces/numeric-dynamic-condition.interface'; import { IWebSocketDeviceMessage } from '../../websockets/websocket-device-message.interface'; import { InOutInputPlugin } from '../in-out-input/in-out-input.plugin'; export declare class AnalogInputPlugin extends InOutInputPlugin implements INumericValue, INumericDynamicCondition { private static readonly MAX_DECIMALS; private static readonly DEFAULT_CONFIG; getReportableAttrs(): string[]; /** * Conditions */ getConditionOptions(): null; getConditionAttribute(): string | null; getConditionMeta(value: number): object; getConditionMin(): number; getConditionMax(): number; getConditionInitial(): number; private getInputConfig(); /** * Effects */ getEffectOptions(): void; getEffectAttribute(): string | null; getEffectMethod(context?: any): string | null; /** * Numeric */ setValue(value: number, attribute?: string | undefined): void; getValue(attribute?: string | undefined): number; getUnit(attribute?: string | undefined): string; /** * General */ getStatusPayload(): string[]; processMessage(message: IWebSocketDeviceMessage, timestamp?: number): any; getRawValue(value: any, attribute?: string, method?: string): any; /** * Transforms a raw level value to a processed one * @param value Analog raw level value */ getProcessedValue(value: any, attribute?: string, method?: string): any; /** * Converts from a linear range of values to another range of values after log scaling * @param level Value to convert * @param options Options for the conversion */ private linearToLogScale(level, options); /** * Converts from a log value to a linear value in a range * @param level Value to convert * @param options Options for the conversion */ private logToLinearScale(level, options); }