import { RouteMatcher } from './interfaces'; import { HistoryInput } from '@cycle/history'; import { Stream } from 'xstream'; export { HistoryInput } from '@cycle/history'; export declare type RouterSink = Stream; export interface RouterOptions { basename?: string; historyName?: string; routerName?: string; omitHistory?: boolean; } /** * Wraps main to provide an advanced interface over @cycle/history * @public * @method routerify * @return {main} The augmented main function */ declare function routerify(main: (a: any) => any, routeMatcher: RouteMatcher, options?: RouterOptions): (sources: any) => any; export { routerify };