import { TcombUpdate, TcombUpdatesState, Token } from './lib' import { Observable } from 'rxjs' import { ComponentSinks, ComponentSources } from './lib/plugins'; declare module './lib' { interface DriverExecution { token: Token updates: Observable responses: Observable events (eventName: string): Observable dispose (): void } } declare module './lib/plugins' { interface PluginsExecution { matchWith (this: Observable, plugins: Plugin[], sources: ComponentSources, {dupe}?: {dupe?: boolean}): Observable matchStream (sourceObservable: Observable, ...args: any[]): Observable } interface matchWith { (this: Observable, plugins: Plugin[], sources: ComponentSources, {dupe}?: {dupe?: boolean}): Observable } interface matchStream { (sourceObservable: Observable, ...args: any[]): Observable } }