import 'rxjs/add/observable/of'; import { SmartenitPlugin } from '../smartenit-plugin'; import { ITextValue } from '../../interfaces/text-value.interface'; import { INumericValue } from '../../interfaces/numeric-value.interface'; import { IWebSocketDeviceMessage } from '../../websockets/websocket-device-message.interface'; export declare class SimpleMeteringServerPlugin extends SmartenitPlugin implements ITextValue, INumericValue { static readonly UNITS: any; static readonly PERIOD_COST_NAME: string; static readonly PERIOD_SUMMATION_NAME: string; private supportsEnergyUsage; private periodCost; private periodSummation; onInit(): void; getReportableAttrs(): string[]; requestMetrics(): void; getFirstUnit(): string; getSecondUnit(): string; getCurrentSummation(): string; getInstantaneousDemand(): string; getPeriodCost(): string; getPeriodSummation(): string; getUnit(attribute?: string): string; getValue(attribute?: string): number; setValue(value: number, attribute?: string, subscribe?: boolean): any; getConditionAttribute(): string; getConditionOptions(): any; getEffectOptions(): any; getEffectAttribute(): string | null; getEffectMethod(context?: any): string | null; getTextValue(context?: string): string; formatValue(value: string): string; getStatusPayload(): any; getStatus(context?: string, force?: boolean, asObservable?: boolean, payload?: any, sendDirect?: boolean): void; processMessage(message: IWebSocketDeviceMessage, timestamp?: number): any; private parseUnits(unitCode); }