import { RemoteVariableProtocol, VariableValue, VariableState } from '@flexem/fc-gui'; import { Observable, Subject } from 'rxjs'; import { VariableNameMappingListDto } from '../../shared/service-proxies/service-proxies'; import { StringifyingMap } from '../utils/stringifying-map'; export declare class DefaultSimulateRemoteVariableProtocol implements RemoteVariableProtocol { private readonly variableValueStore; private readonly variables; connected: Observable; variableValuesChanged: Subject; variableStatesChanged: Subject; constructor(variableValueStore: StringifyingMap, variables: VariableNameMappingListDto[]); subscribeVariableStates(variableNames: string[]): Observable; unsubscribeVariableStates(variableNames: string[]): Observable; tryOpenVariables(variableNames: string[]): Observable; tryStopVariables(): Observable; writeVariable(variableName: string, value: any): Observable; writeVariableWordByBit(variableName: string, index: number, value: number): Observable; private getVariableValue; private changeVariableValueToDecimal; private replaceDigitOfBinaryString; decimalToBinary(num: number, bits: number): string; }