import { type IMQTTConnection } from '@hass-blocks/hass-mqtt'; import type { ILogger } from '../types/index.ts'; interface LazyMqttOptions { host: string | undefined; port: number | undefined; username: string | undefined; password: string | undefined; } export declare class LazyMqtt implements IMQTTConnection { private config; private logger; private theConnection; constructor(config: LazyMqttOptions, logger: ILogger); private initialisedConnection; connect(): Promise; publish(topic: string, data: Record | string): Promise; subscribe(topic: string, handler: (message: string) => void): Promise; } export {}; //# sourceMappingURL=lazy-mqtt.d.ts.map