import { EventsFnOptions } from './DOMSource' ; import { makeDOMDriver as make , VNode , DOMDriverOptions } from './index' ; import { Observable } from 'rxjs' ; import { Stream } from 'xstream' ; import { Driver } from '@cycle/run' ; export interface DOMSource { select ( selector ) : DOMSource ; elements ( ) : Observable < Array < Element > > ; element ( ) : Observable < Element > ; events < K extends keyof HTMLElementEventMap > ( eventType , options ? , bubbles ? ) : Observable < HTMLElementEventMap [ K ] > ; events ( eventType , options ? ) : Observable < Event > ; } export const makeDOMDriver = make as any ;