1 | import { ConnectionOptions } from "./types.js";
|
2 | export declare const MSG_TYPE_AUTH_REQUIRED = "auth_required";
|
3 | export declare const MSG_TYPE_AUTH_INVALID = "auth_invalid";
|
4 | export declare const MSG_TYPE_AUTH_OK = "auth_ok";
|
5 | export interface HaWebSocket extends WebSocket {
|
6 | haVersion: string;
|
7 | }
|
8 | export declare function createSocket(options: ConnectionOptions): Promise<HaWebSocket>;
|