import { StreamSocket } from "../../api/resources/stream/client/Socket.js"; export declare class CustomStreamSocket extends StreamSocket { /** Remove the handler for an event. If callback is supplied, only removes if it matches. */ off(event: T, callback?: StreamSocket.EventHandlers[T]): void; /** Send raw data directly on the underlying WebSocket (e.g. binary audio, custom frames). */ send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void; }