1 | import { Driver } from '@cycle/run';
|
2 | import { Module, Options as SnabbdomOptions, VNode } from 'snabbdom';
|
3 | import { Stream } from 'xstream';
|
4 | import { MainDOMSource } from './MainDOMSource';
|
5 | export interface DOMDriverOptions {
|
6 | modules?: Array<Partial<Module>>;
|
7 | reportSnabbdomError?(err: any): void;
|
8 | snabbdomOptions?: SnabbdomOptions;
|
9 | }
|
10 | declare function makeDOMDriver(container: string | Element | DocumentFragment, options?: DOMDriverOptions): Driver<Stream<VNode>, MainDOMSource>;
|
11 | export { makeDOMDriver };
|