import {Stream} from 'xstream'; import {Pathname} from '@cycle/history'; import {RouteDefinitionsMap, RouteMatcherReturn} from './lib/interfaces'; export interface RouterSource { history$: Stream; path(pathname: Pathname): RouterSource; define(routes: RouteDefinitionsMap): Stream; createHref(path: Pathname): Pathname; }