import { WatcherProxy, WebsocketPayload } from "../interfaces/watcher-proxy.i"; import { Observable } from "rxjs"; /** * @description * Connect to the augmented node through a websocket (Mostly intended for browser use) * This class manage websocket reconnection and also manage the clientID used to identify the channel on the backend */ export declare class ProxiedWatcherProxy implements WatcherProxy { private proxyUrl; private appIdSelector; private proxiedWsConfig; constructor(proxyUrl: string, appIdSelector: () => string | null, proxiedWsConfig: { url: string; params: { headers?: { apiKey?: string; }; }; }); private retrySubject; private initObservable; private websocketSubject; private websocketObs; private proxyInitialized; unwatch(transactionId: string, address: string, network: string, nbConf: number): Observable; watch(id: string, address: string, network: string, nbConf: number): Observable; private createSubscribeRequest; private createUnSubscribe; } //# sourceMappingURL=proxied-watcher-proxy.d.ts.map