import { MqttConnectionConfig } from "./mqtt";
import WebsocketStream = require("websocket-stream");
export interface WebsocketOptions {
    headers?: {
        [index: string]: string;
    };
    protocol?: string;
}
export interface AWSCredentials {
    aws_region?: string;
    aws_access_id: string;
    aws_secret_key: string;
    aws_sts_token?: string;
}
export declare function create_websocket_url(config: MqttConnectionConfig): string;
export declare function create_websocket_stream(config: MqttConnectionConfig): WebsocketStream.WebSocketDuplex;
