import type { AgentAdapter, AgentConfig, AgentType } from './types.js'; import type { TaskAssignment, InputResponse } from '../types/index.js'; import type { AgentWebSocketClient } from '../daemon/ws-client.js'; export declare class OpenClawAdapter implements AgentAdapter { readonly type: AgentType; readonly displayName = "OpenClaw"; private gatewayUrl; private gatewayWs; constructor(config: AgentConfig); checkHealth(): Promise<{ ok: boolean; message: string; }>; handleTask(task: TaskAssignment, ws: AgentWebSocketClient, pendingInputResolvers: Map void>, signal?: AbortSignal, _pendingPermissionResolvers?: Map void>): Promise; dispose(): Promise; private connectToGateway; private sendTaskToGateway; }