import { WebSocketMessageCallback, WebSocketService } from '../interfaces/websocket'; import { ClientOption } from '../../model/client_option'; import { DomainType } from '../../model/constant'; /** * DefaultWsService implements the WebSocket service interface for handling real-time data communication. * It manages WebSocket connections, subscriptions, and message handling with automatic reconnection support. */ export declare class DefaultWsService implements WebSocketService { private readonly wsOption; private readonly privateChannel; private readonly tokenTransport; private topicManager; private client; private readonly eventEmitter; constructor(option: ClientOption, domain: DomainType, privateChannel: boolean, versionString: string); start(): Promise; stop(): Promise; subscribe(prefix: string, args: string[], callback: WebSocketMessageCallback): Promise; unsubscribe(id: string): Promise; private processMessages; private recovery; }