/// import { Action } from './Action'; import { ActionCallback } from './ActionCallback'; import { ActionType } from './ActionType'; import { Scenario } from './Scenario'; declare class MqttAction implements Action { name: string; description: string; type: ActionType; invokeEvenOnFail: boolean; allowFailure: boolean; private allowInsecure; private url; private username; private password; private topic; private durationInSec; private expectedNumberOfMessages; private numberOfReceivedMessages; private messageType; private messageFilter; private messageEncoding?; private protoFile; private protoClass; private readonly diagramConfiguration; constructor(name: string, desc: string | undefined, actionDef: any, url?: any, username?: any, password?: any, allowInsecure?: any, topic?: any, durationInSec?: any, expectedNumberOfMessages?: any, messageType?: any, messageFilter?: any, messageEncoding?: 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'latin1' | 'binary' | 'hex' | undefined, protoFile?: any, protoClass?: any, invokeEvenOnFail?: boolean, allowFailure?: boolean, diagramConfiguration?: any); static fromTemplate(mqttListenDefinition: any, template: MqttAction): MqttAction; invoke(scenario: Scenario): ActionCallback; decodeProtoPayload(buffer: Buffer): { [k: string]: any; }; private invokeAsync; private expandParameters; } export { MqttAction };