/** * OneBot11 reverse WSS endpoint — accepts inbound WebSocket from OneBot implementation. */ import { ClientEndpoint, type EndpointControl, type EndpointManagement, type EndpointSendRequest } from 'zhin.js/adapter'; import type { HttpHost } from '@zhin.js/host-http'; import type { CapabilityId } from 'zhin.js'; import { type OneBot11WssConfig } from './protocol.js'; import { type Onebot11Client } from './client.js'; export interface OneBot11WssEndpointOptions { readonly id: CapabilityId; readonly http: HttpHost; readonly config: OneBot11WssConfig; } export declare class OneBot11WssEndpoint extends ClientEndpoint { #private; readonly client: Onebot11Client; readonly management: EndpointManagement; readonly control: EndpointControl; readonly content: import("@zhin.js/adapter").EndpointContentPort; constructor(options: OneBot11WssEndpointOptions); start(): Promise; stop(): Promise; send({ conversation, payload }: EndpointSendRequest): Promise; recallMessage(messageId: string): Promise; }