import { WatcherProxy, WebsocketPayload } from "../interfaces"; import { Observable } from "rxjs"; /** * @description Watcher Proxy decorator * This class can be use to cache a watcher proxy stream so it return an existing stream when it is asked the same request multiple time */ export declare class CachedWatcherProxy implements WatcherProxy { private watcher; private watchMap; watch(transactionId: string, address: string, network: string, nbConf: number): Observable; unwatch(transactionId: string, address: string, network: string, nbConf: number): Observable; constructor(watcher: WatcherProxy); } //# sourceMappingURL=cached-watcher-proxy.d.ts.map