import { SmartenitPlugin } from '../smartenit-plugin'; import { ICondition } from '../../interfaces/condition.interface'; import { IEffect } from '../../interfaces/effect.interface'; import { INumericValue } from '../../interfaces/numeric-value.interface'; import { IWebSocketDeviceMessage } from '../../websockets/websocket-device-message.interface'; import { EVSEStatus } from './evse-status.enum'; export declare class EVSEServerPlugin extends SmartenitPlugin implements ICondition, IEffect, INumericValue { static readonly CURRENT_DIVISOR: number; static readonly SUMMATION_DIVISOR: number; private static readonly BATTERY_LEVEL_MIN; private static readonly BATTERY_LEVEL_MAX; readonly stateTTL: number; getReportableAttrs(): string[]; /** * Conditions */ getConditionOptions(): { displayName: string; name: string; value: EVSEStatus; }[]; getConditionAttribute(): string | null; setValue(value: number, attribute?: string | undefined): void; getValue(attribute?: string | undefined): number; getUnit(attribute?: string | undefined): string; /** * Effects */ getEffectOptions(): any; getEffectAttribute(): string; getEffectMethod(context?: any): string | null; /** * Session */ startSession(): void; stopSession(): void; setAutoStartMode(active: boolean): void; /** * Estimations */ setBatteryCapacity(capacity: number): void; setElectricRange(distance: number): void; getBatteryLevel(): void; setBatteryLevel(level: number): void; /** * Attributes */ setMinimumCurrent(amps: number): void; setMaximumCurrent(amps: number): void; getAutoStart(): void; getFault(): void; getVoltage(): void; getCurrent(): void; /** * Status */ getStatusPayload(): any; processMessage(message: IWebSocketDeviceMessage, timestamp?: number): any; getRawValue(value: number, attribute?: string, method?: string): number; getProcessedValue(value: any, attribute?: string, method?: string): any; }