/** * Local Gateway Transport * * Bridges in-process clients to the gateway's transport system. * Local clients appear in sendEventToSubscribers iteration alongside * WS/HTTP clients, enabling cross-client event broadcasting. * * Two layers: * - Server-side: LocalGatewayTransport (extends BaseTransport) — the gateway * tracks local clients and pushes events to them. * - Client-side: ClientTransport (returned by createClientTransport) — what * createClient() consumes. * * @module @agentick/gateway/local-transport */ import type { ClientTransport } from "@agentick/shared"; import { BaseTransport } from "./transport.js"; import type { Gateway } from "./gateway.js"; /** * Server-side transport that manages local in-process clients. * Registered with the gateway so local clients participate in * event broadcasting via sendToSubscribers. */ export declare class LocalGatewayTransport extends BaseTransport { readonly type: "local"; constructor(); start(): Promise; stop(): Promise; /** * Create a new local client and return a ClientTransport for use * with createClient(). */ createClientTransport(gateway: Gateway): ClientTransport; } //# sourceMappingURL=local-transport.d.ts.map