/** * IoNetMessagingClient — HTTP-based messaging with io.net GPU cluster deployments. * * io.net workers run as containerised GPU workloads. AxonSDK containers expose: * * GET /health → liveness probe (returns 200 "ok") * POST /message → deliver a payload; response body is the result * * The `processorId` for io.net is the worker endpoint URL, e.g.: * https://worker.io.net/v1/ * * Security: * - Only https:// endpoints are permitted * - Private/internal IP ranges are blocked (prevents SSRF) * - Response bodies are capped at 4 MiB (larger for GPU inference outputs) * - Prototype-polluting keys in remote JSON payloads are rejected */ import type { Message } from '../../types.js'; export declare class IoNetMessagingClient { private messageHandlers; private connected; private apiKey; connect(secretKey: string): Promise; disconnect(): void; send(workerEndpoint: string, payload: unknown): Promise; onMessage(handler: (msg: Message) => void): () => void; isLive(workerEndpoint: string): Promise; /** List available GPU clusters from the io.net API. */ listClusters(): Promise>; get isConnected(): boolean; } //# sourceMappingURL=client.d.ts.map