/** * Subscribe to Newton Gateway WebSocket events for a given subscription topic. * Use the subscription_topic returned from newt_sendTask. * * @param {string} wsUrl - e.g. "wss://gateway.testnet.newton.xyz/ws" * @param {string} subscriptionTopic - From newt_sendTask result (e.g. "newton.task.0x...") * @param {Object} options - Optional: { apiKey?: string, onEvent?: (event) => void } */ export declare function getTaskEventsWebSocket(wsUrl: string, subscriptionTopic: string, apiKey: string): WebSocket;