import { StandardEvents } from './Events' ; import { Stream } from 'most' ; import { VNode } from 'mostly-dom' ; export interface EventsFnOptions { useCapture ? : boolean ; } export interface DomSource { select ( selector ) : DomSource ; elements < T extends Element > ( ) : Stream < Array < T > > ; events < T extends Event > ( eventType , options ? ) : Stream < T > ; events < T extends Event > ( eventType , options ? ) : Stream < T > ; namespace ( ) : Array < string > ; isolateSource < T extends Element > ( source , scope ) : DomSource ; isolateSink ( sink , scope ) : Stream < VNode > ; }