import type { AnySchema, Schema, WebSocketTransport, WebSocketTransportConfig } from '@rpckit/core'; export interface EthereumWebSocketConfig extends WebSocketTransportConfig { } /** * WebSocket transport configured for Ethereum JSON-RPC. * * Handles Ethereum's subscription model where: * - `eth_subscribe` returns a subscription ID * - Notifications arrive via `eth_subscription` method with the subscription ID in params * - `eth_unsubscribe` is called with the subscription ID to clean up * * The subscription ID is captured internally and not delivered to the user callback. * Notifications are routed by matching the subscription ID. */ export declare function webSocket(url: string, options?: Omit): WebSocketTransport; export declare function webSocket(config: EthereumWebSocketConfig): WebSocketTransport; //# sourceMappingURL=webSocket.d.ts.map