/** * HttpTransport — HTTP polling transport against the SignalDock API. * * Connects to the configured API base URL (api.signaldock.io) and exposes * push/poll/ack over HTTP. * * @see docs/specs/SIGNALDOCK-UNIFIED-AGENT-REGISTRY.md Section 4.4 * @task T177 */ import type { ConduitMessage, Transport, TransportConnectConfig } from '@cleocode/contracts'; /** HTTP polling transport for the SignalDock messaging API. */ export declare class HttpTransport implements Transport { readonly name = "http"; private state; /** Connect to the SignalDock API. */ connect(config: TransportConnectConfig): Promise; /** Disconnect and clear connection state. */ disconnect(): Promise; /** Send a message to an agent (direct or within a conversation thread). */ push(to: string, content: string, options?: { conversationId?: string; replyTo?: string; }): Promise<{ messageId: string; }>; /** Poll for new messages for this agent. Returns empty array on HTTP error. */ poll(options?: { limit?: number; since?: string; }): Promise; /** Acknowledge messages by ID so they are not returned by future polls. */ ack(messageIds: string[]): Promise; /** Fetch against the configured API base URL with a 10s timeout. */ private fetch; private headers; private ensureConnected; } //# sourceMappingURL=http-transport.d.ts.map