/// <reference types="node" />
export default class MQTT {
    private publishedTopics;
    private connectionTimer;
    private client;
    private eventBus;
    private initialConnect;
    private republishRetainedTimer;
    private retainedMessages;
    constructor(eventBus: EventBus);
    connect(): Promise<void>;
    private onConnect;
    publishStateOnline(): Promise<void>;
    disconnect(): Promise<void>;
    subscribe(topic: string): void;
    onMessage(topic: string, message: Buffer): void;
    isConnected(): boolean;
    publish(topic: string, payload: string, options?: MQTTOptions, base?: string, skipLog?: boolean, skipReceive?: boolean): Promise<void>;
}
//# sourceMappingURL=mqtt.d.ts.map