import { Config } from '../../../types'; /** * Abstract class for websocket api * * @param T: ws send request type * @param U: raw ws response type */ export declare abstract class WebsocketInsiderBase { private readonly config; private ws; protected constructor(config: Config); abstract handleMessage(response: U): void; abstract onDestroy(): void; send(request: T): void; destroy(): void; private init; private makeRequestUrl; }