import { BaseComponent, EventEmitter, BaseComponentOptions, JSONRPCSubscribeMethod } from '.'; /** * Instances of this class are meant to be wrapped by a * Proxy that intercepts the `_eventsNamespace` (to tell the * BaseComponent it's fine to attach the event listeners) * and the `eventChannel` * @internal */ export declare class BaseConsumer extends BaseComponent { options: BaseComponentOptions; protected subscribeMethod: JSONRPCSubscribeMethod; protected subscribeParams?: Record; private _latestExecuteParams?; constructor(options: BaseComponentOptions); private shouldExecuteSubscribe; subscribe(): Promise; } //# sourceMappingURL=BaseConsumer.d.ts.map