import { ConversationQueueType, QueueHeader, QueueOptions, MqttSensorQueue, QueueCallback } from "@leftshiftone/gaia-sdk/dist";
import { IListener, IRenderer } from "../api";
import { Subscription } from "./Subscription";
export declare class Connection {
    mqttSensorQueue: MqttSensorQueue;
    private readonly listener;
    private readonly renderer;
    private subscriptions;
    constructor(options: QueueOptions, renderer: IRenderer, listener: IListener);
    /**
     * Subscribes to the given destination.
     *
     * @param type the queue type
     * @param header the destination header
     * @param callback the callback function
     */
    subscribe(type: ConversationQueueType, header: QueueHeader, callback: QueueCallback): Subscription;
    /**
     * disconnect the mqtt connection
     */
    disconnect(): void;
    private initMqttSensorQueue;
    private onMessage;
}
