import type { LocusSocketLike } from "../../../types/locus.types.js"; import WebSocket from "ws"; export type NodeLocusSocketOptions = Readonly<{ onSend?: (message: string) => void; maxBufferedAmount?: number; onBackpressure?: () => void; }>; /** @experimental Concrete Node `ws` transport adapter for Locus. */ export declare function create_node_locus_socket(websocket: WebSocket, optionsOrOnSend?: NodeLocusSocketOptions | ((message: string) => void)): LocusSocketLike; //# sourceMappingURL=locus.node-socket.d.ts.map