1 | import MqttClient, { IClientOptions } from '../client';
|
2 | declare function connect(brokerUrl: string): MqttClient;
|
3 | declare function connect(opts: IClientOptions): MqttClient;
|
4 | declare function connect(brokerUrl: string, opts?: IClientOptions): MqttClient;
|
5 | declare function connectAsync(brokerUrl: string): Promise<MqttClient>;
|
6 | declare function connectAsync(opts: IClientOptions): Promise<MqttClient>;
|
7 | declare function connectAsync(brokerUrl: string, opts?: IClientOptions): Promise<MqttClient>;
|
8 | declare function connectAsync(brokerUrl: string, opts: IClientOptions, allowRetries: boolean): Promise<MqttClient>;
|
9 | export default connect;
|
10 | export { connectAsync };
|