import { IBehaviour, IRenderer } from '../api'; import { MqttConnection } from '../connection/MqttConnection'; /** * IBehaviour implementation which listens for a mouse click event in order to publish * a text message to the outgoing text channel. */ export declare class MouseBehaviour implements IBehaviour { private readonly target1; private readonly target2; private readonly renderer; private readonly callback; constructor(renderer: IRenderer, target1?: HTMLButtonElement, target2?: HTMLTextAreaElement, callback?: () => void); /** * Adds an event listener to the invoker. * The user is able to publish a message by * clicking the invoker. * * @inheritDoc */ bind(gateway: MqttConnection): void; }