import type { DaemonTransportFactory, WebSocketFactory, WebSocketLike } from "./daemon-client-transport-types.js";
export declare function defaultWebSocketFactory(url: string, _options?: {
    headers?: Record<string, string>;
}): WebSocketLike;
export declare function createWebSocketTransportFactory(factory: WebSocketFactory): DaemonTransportFactory;
export declare function bindWsHandler(ws: WebSocketLike, event: "open" | "close" | "error" | "message", handler: (...args: any[]) => void): () => void;
//# sourceMappingURL=daemon-client-websocket-transport.d.ts.map