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