import { SubjectStream } from '../class/SubjectStream'; import { TEth } from '../models/TEth'; import { TTransport } from './transports/ITransport'; export declare class RpcSubscription extends SubjectStream implements TTransport.Subscription { id: number; transport: TTransport.Transport; private _emitter; constructor(id: number, transport: TTransport.Transport, mapper?: (value: any) => T); map(mapper: (x: T) => any): RpcSubscription; unsubscribe(cb?: Function): Promise; static createMapping(subscription: TTransport.Subscription, transport: TTransport.Transport, mapper: (x: any) => any): RpcSubscription; } export type RpcLogFilterOptions = { address?: TEth.Address | TEth.Address[]; topics?: TEth.Hex[]; };