/** * WebSocket Adapter - For web clients and other WebSocket-based platforms */ import { BaseAdapter, type PlatformConfig } from "./base.js"; export interface WebSocketConfig extends PlatformConfig { platform: "websocket"; clientId: string; } export declare class WebSocketAdapter extends BaseAdapter { readonly platform: "websocket"; config: WebSocketConfig; private client; private reconnectAttempts; private maxReconnectAttempts; private reconnectDelay; constructor(config: WebSocketConfig); initialize(): Promise; start(callbacks: any): Promise; connect(url: string, token?: string): Promise; private attemptReconnect; sendMessage(channelId: string, content: string): Promise; editMessage(channelId: string, messageId: string, content: string): Promise; deleteMessage(channelId: string, messageId: string): Promise; setTyping(channelId: string, isTyping: boolean): Promise; getStatus(): Promise<{ connected: boolean; latency?: number; }>; stop(): Promise; }