import { Client, Message, MQTTError } from 'paho-mqtt'; export declare const startSession: ({ endpoint, region, accessKeyId, secretAccessKey, sessionToken, clientId, }: { endpoint: string; region: string; accessKeyId: string; secretAccessKey: string; sessionToken: string; clientId: string; }, { onConnect, onFailure, onMessageArrived, onConnectionLost, }: { onConnect: () => void; onFailure: (e: MQTTError) => void; onMessageArrived: (m: Message) => void; onConnectionLost: (e: MQTTError) => void; }) => Client;